Bug #15197
closedDuplicate entries for hypervisors after renaming content host
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1340088
Description of problem:
After renaming the hypervisor in /content_hosts and another run of virt-who
the hypervisor content host is again created with a random name but with
the same uuid.
Version-Release number of selected component (if applicable):
Satellite 6.2 SNAP 13.1
virt-who 0.14-9.el7
How reproducible:
With every virt-who run
Steps to Reproduce:
1. Register hypervisor via virt-who
2. Rename hypervisor in /content_hosts
3. Run virt-who again
Actual results:
A new entry is created in /content_hosts
Expected results:
Only update the already existing content host
Additional info:
- virt-who is always sending the correct hypervisor uuid
- looks like the unique identifier was changed from the content hosts uuid to the name
- this is a regression as it worked fine in 6.1
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Assignee set to Thomas McKay
- Pull request https://github.com/Katello/katello/pull/6076 added
Updated by Eric Helms over 8 years ago
- Translation missing: en.field_release set to 143
Updated by Thomas McKay over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|78bb525a7814b94680233f7baeb465945fbdff56.