Feature #8028
closedhammer command to remove content host deletion record
Description
When a content host is deleted on the server, candlepin saves a record of it. If this consumer checks in after that point (via rhsm) it will receive a "410 gone" response. Rhsm know this to mean they have been deleted and so stop checking in. The host may be re-registered at that point, if desired.
Since virt-who checks in on a hypervisors behalf, deleting a hypervisor content host leaves things in a state where that hypervisor cannot be recreated since there is no way to re-register it. From that point on, the hypervisor will never appear again as a content host.
The workaround implemented is to provide a mechanism to delete the deletion record. This would allow virt-who to recreate the hypervisor.
Old katello CLI had a command for this; this needs to be implemented in hammer.