Why are xen guest systems showing 'unknown host' on Red Hat Network?

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux 5
  • Xen Virtualization.

Issue

  • The virtual system shows "Unknown host" in Red Hat Network.

Resolution

  1. Run the /usr/share/rhn/virtualization/poller.py to detect the guests on host system,
# python /usr/share/rhn/virtualization/poller.py
  1. Run the profile sync,
# rhn-profile-sync

Root Cause

  • Entries in cron job /etc/cron.d/rhn-virtualization.cron are commented,
# 0-59/2 * * * * root python /usr/share/rhn/virtualization/poller.py
  • The rhnsd service is not running.
# service rhnsd status

Diagnostic Steps

  • Check whether /etc/cron.d/rhn-virtualization.cron has correct entry as below and it should not be commented,
# cat /etc/cron.d/rhn-virtualization.cron
 0-59/2 * * * * root python /usr/share/rhn/virtualization/poller.py

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.