In Red Hat Satellite 6, host reporting via virt-who is not showing hypervisor field in host details page.

Solution Verified - Updated -

Environment

  • Red Hat Satellite 6

Issue

  • In Red Hat Satellite 6, host reporting via virt-who is not showing hypervisor field in host details page.

Resolution

  • Ensure hypervisors have the unique FQDNs.

Root Cause

  • In this example, three hypervisors have the same FQDN (localhost), and must be corrected to use unique FQDNs.
# cat /tmp/virt-who.json | json_reformat | grep name | sort | uniq -c | sort -nr | head -n3
  3    "name": "localhost"   <=====
  1    "name": "rhel1.example.com"
  1    "name": "rhel2.example.com"

Diagnostic Steps

# systemctl stop virt-who
# virt-who -op >/tmp/virt-who.json
# systemctl start virt-who
# cat /tmp/virt-who.json | json_reformat | grep name | sort | uniq -c | sort -nr | head -n3
  3    "name": "localhost" 
  1    "name": "rhel1.example.com"
  1    "name": "rhel2.example.com"

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments