Project

General

Profile

Bug #15455

provide option to delete host with subscription-manager unregister

Added by Justin Sherrill about 4 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Category:
Client/Agent
Target version:
Difficulty:
easy
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Many users do not want to keep around old hosts once they unregister. A system wide setting would at least let them decide.

Associated revisions

Revision 71bf4797 (diff)
Added by Justin Sherrill about 4 years ago

Fixes #15455 - provide setting to del host on unregister (#6135)

History

#1 Updated by The Foreman Bot about 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6135 added

#2 Updated by Justin Sherrill about 4 years ago

  • Bugzilla link set to 1345723

#3 Updated by Justin Sherrill about 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Justin Sherrill about 4 years ago

  • Legacy Backlogs Release (now unused) set to 162

#5 Updated by Michael Schietzsch 11 months ago

This is still a valid request in my opinion, even if there is now a global option.
Example: I use container to test stuff. The container registers against foreman, installs some packages and then unregisteres.

For the actual test I can do an API call to delete him, but not in the Dockerfile. Therefore an option to delete this specific host on subscription-manager unregister would be nice.

#6 Updated by Justin Sherrill 11 months ago

Hi Michael,

Such an option does exist, but on a system wide basis (all unregisters will delete their hosts). Simply change the setting 'unregister_delete_host' to true in Administer > settings > content.

Does that solve your issue?

Also available in: Atom PDF