Red Hat Satellite 6.x client status shows "Guest has not been reported on any host and is using a temporary unmapped guest subscription"

Solution Verified - Updated -

Environment

  • Red Hat Satellite 6.x

Issue

  • Red Hat Satellite 6.x client status shows "Guest has not been reported on any host and is using a temporary unmapped guest subscription"
  • Systems registered to Red Hat Satellite 6.x status shows "temporary unmapped guest subscription"

Resolution

  • Make sure you have virt-who configured and service is running fine.
  • Restart virt-who service to make sure that all recent guest to host mapping reported to the Satellite and check /var/log/rhsm/rhsm.log to make sure virt-who service is running fine.
  • Check if hypervisor hosting this guest is reported to the Satellite? If yes, ensure VDC subscription is attached to the Hypervisor.
  • Refer to Subscription-manager for the former Red Hat Network User: Part 3 - Understanding virt-who which explains what virt-who is/does, and includes answers to many questions such as "How do I know if I am using a temporary subscription?" and "What actions do I need to take if system is using a temporary subscription?"

Root Cause

  • Virt-who is not configured to utilize Virtual subscription.
  • Affected guest(or hypervisor which is hosting the affected guest) is not reported to the Red Hat Satellite by the virt-who.
  • Virt-who service is not running and having some issue.
  • In Satellite, VDC Subscription is not attached to the hypervisor which is hosting this system.

Diagnostic Steps

  • Verify if the virt-who is configured and if its running
[root@virt-who ~]# grep -v ^# /etc/virt-who.d/<conf-file>
[root@virt-who ~]# service virt-who status
  • Check /var/log/rhsm/rhsm.logs for any virt-who error.

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.

5 Comments

I have checked all the above and still it doesn't work.

This article in no why addresses how to resolve the issue. What few steps are provided are simply to install virt-who. After installation and enabling the service the error still exist and the lack of further troubleshooting is a waste of time. There needs to be detail as why I need virt-who in the first place and second how these steps will resolve the issue as well as steps to resolve if the above steps fail which they do.

Resolving the 'issue' requires you to do one of three things.

  • Nothing. After 24 hours, the guest will attach a subscription from the list of available subscriptions in your account / organization. Note: guests may consume physical subscriptions OR 1 virtual datacenter subscription EACH. (Which is non-desired).

  • Install virt-who and then do nothing. Installing virt-who reports to RHSM or Satellite 6.1 on which hypervisor a guest runs on. Once virt-who is running, generally no further action is required. When the temporary subscription expires, the guest will attach a virtual subscription based upon the hypervisor it runs on.

  • Install virt-who and explicitly change the subscription. If you either dont wish to wait 24 hours OR you want to be more granular as to which subscription is used, install & configure virt-who, and then update the guest to use whichever subscription you like.

As far as why there is a 24-hr subscription, see this comment, which describes in detail the reasoning behind it.

virt-who supports RHEV / VMware only. What should I do with VMs running over non RHEV/VMWare environment? e.g. AWS or Rackspace Ubuntu + openstack.

we are in a migration from rh to satellite6 and we want to use the guest status as migration option (rhel datacenter license not yet fully migrated from rh to satellite). how long the guest subscriptions are guilty and can be used to update a system? how many (concurrent) guest subscriptions are supported (with satellite6)?