Project

General

Profile

Actions

Bug #15455

closed

provide option to delete host with subscription-manager unregister

Added by Justin Sherrill almost 8 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Client/Agent
Target version:
Difficulty:
easy
Triaged:
Yes
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.

Actions #1

Updated by The Foreman Bot almost 8 years ago

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

Updated by Justin Sherrill almost 8 years ago

  • Bugzilla link set to 1345723
Actions #3

Updated by Justin Sherrill almost 8 years ago

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

Updated by Justin Sherrill almost 8 years ago

  • translation missing: en.field_release set to 162
Actions #5

Updated by Michael Schietzsch over 4 years 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.

Actions #6

Updated by Justin Sherrill over 4 years 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?

Actions

Also available in: Atom PDF