Created attachment 994592 [details] modified clean_backend_objects.rake Description of problem: Hypervisor (somehow) got created by virt-who - turns out to be a Red Hat Storage Node. This is new with RHEV 3.5 apparently... Tried to delete. Delete was partially successful. Leaving hung task. Unable to use Content Host UI until task cleared. Clear task. Unable to provision new hosts until inconsistency in DB is fixed. Unable to reindex. Version-Release number of selected component (if applicable): 6.0.8 How reproducible: Unknown. Not willing to try :-) Steps to Reproduce: 1. As above Actual results: Mess Expected results: Enable clean-up of hypervisor backend objects. Do not register RHS nodes as Hypervisors (may be virt-who problem) Additional info: Fixed by writing code for clean_backend_objects.rake /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/lib/katello/tasks/clean_backend_objects.rake changed file attached.
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release.
virt-who should not send Gluster Hosts as Hypervisors as they are currently not allowed to run Guests. /usr/share/virt-who/virt/rhevm for host in hosts_xml.findall('host'): id = host.get('id') mapping[id] = [] Should filter hosts to eliminate Gluster hosts.
Comment 3 actually now covered. https://bugzilla.redhat.com/show_bug.cgi?id=1195939 Status is ON_QA Thanks for the catch Bryan. Cheers, PA
Hypervisors are deletable, and clean_backend_objects was fixed upstream in http://projects.theforeman.org/issues/9915. Thanks!