Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1155642 - hammer command to remove content host deletion record
Summary: hammer command to remove content host deletion record
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.0.4
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Adam Price
QA Contact: Katello QA List
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-22 14:16 UTC by Tom McKay
Modified: 2016-04-22 16:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-07 19:44:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 8028 0 None None None 2016-04-22 16:17:40 UTC

Description Tom McKay 2014-10-22 14:16:42 UTC
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.

Comment 1 Tom McKay 2014-10-22 14:16:43 UTC
Created from redmine issue http://projects.theforeman.org/issues/8028

Comment 3 Tom McKay 2014-11-07 19:44:40 UTC
Not necessary


Note You need to log in before you can comment on or make changes to this bug.