Project

General

Profile

Actions

Feature #8028

closed

hammer command to remove content host deletion record

Added by Thomas McKay about 10 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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.


Related issues 1 (0 open1 closed)

Related to Katello - Feature #8098: As a virt-who user, I would like to add and remove hypervisors explicitly.RejectedActions
Actions

Also available in: Atom PDF