Red Hat Bugzilla – Bug 1460607
one hypervisor, but three same display name in stage candlepin webUI make confused.
Last modified: 2017-06-12 10:12:39 EDT
for the stage candlepin2.0, it will always show the name(hostname) in WebUI regardless of the hypervisor_id setting according to "Bug 1458125"
finally, if we set hypervisor_id to uuid, hwuuid, hostname one by one, there are three same hostname items listed in stage webUI for a hypervisor.
it seems virt-who doesn't need hypervisor_id option any more, sending the hypervisor unique uuid with name is enough. If name changed by customers, virt-who only need to update the display name according to the hypervisor unique uuid, but make sure the unique uuid never be changed.
thus, we are able to keep one entry listed for a hypervisor forever.
Created attachment 1286964 [details]
three same display names for a hypervisor
This is working as designed. When you change the hypervisor_id, the means by which Candlepin uniquely identifies hypervisors, Candlepin will check to see if a consumer exists for that hypervisor_id. On the Candlepin side, we have no way of knowing that this new hypervisor_id refers to the same consumer. As such creating a new consumer is the correct thing to do.