Description of problem: I'm not 100% sure of the validity of this, but it resulted from one of our own tools. After creating a few vm hosts (using a python script in katello git) and subsequently deleting said hosts, candlepin errors are thrown. Setting priority to low, it can be elevated if deemed to be a real world scenario Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. View bug #784009 repeat steps 1-3 therein, assuring hosts are created. 2. In webui, navigate to Systems > All 3. Noting the two newly created vm hosts in the ui, remove them. 4. rerun the script Actual results: * Error about candlepin not being able to find hosts: Candlepin::CandlepinResource: 410 Gone {"displayMessage":"Consumer host1 has been deleted","deletedId":"host1"} (GET /candlepin/consumers/host1/compliance) * No systems ever appear in view Expected results: If vm hosts are deleted (and perhaps subsequently recreated), everything should be handled cleanly. Additional info:
test notes: running the script referenced in bug #784009 requires python-rhsm 0.99.2 or higher.
looks like a dupe of: https://bugzilla.redhat.com/show_bug.cgi?id=802263
Will leave this bug open thou
Seems fix to bug #802263 solved the problem with 410 when viewing the system list after deleting the hypervisors, the one thing that left is enable the hypervisor after deleting it to be able to register it again (when trying to register it again, candlepin says it has been deleted previously, which is correct in case you really don't wont to register the hypervisor). However I'm not sure if there should be a command in CLI for that (system enable_hypervisor --uuid {{UUID}}) or if it could be an option for virt-who script, to indicate that some hypervisor should be enabled by force.
This didn't actually get set as a dupe, but it is. Closing *** This bug has been marked as a duplicate of bug 812891 ***
getting rid of 6.0.0 version since that doesn't exist