For candlepin, overall changes necessary are: 1) Accept all 3 (hw_uuid, uuid, hostname) [TBD: as facts or as their own thing] 2) When receiving a hypervisor checkin, lookup existing hypervisors by the tuple (hw_uuid, uuid, hostname) & delete/migrate as necessary. Some design decisions to be made before implementation.
*** Bug 1380510 has been marked as a duplicate of this bug. ***
*** Bug 1412719 has been marked as a duplicate of this bug. ***
*** Bug 1520807 has been marked as a duplicate of this bug. ***
lookup existing hypervisors by the tuple (hw_uuid, uuid, hostname) & delete/migrate as necessary. Thanks https://driverrestore.com/
This was errantly resolved as part of a change for libvirt and rhevm. Will create a separate fix for esx.
An additional exception existed in the matching of a hypervisor when its hypervisor id changed.
Will also require a virt-who update. Will be included in RHEL 7.7 and RHEL 8.1.
Created redmine issue https://projects.theforeman.org/issues/26600 from this bug