Derived SKUs of Virtual Datacenter (VDC) subscription cannot be attached to the RHEL Guest VMs even when the Hypervisors are Subscribed.
Environment
- Subscription-Manager/RHSM
- Virt-who
- Satellite 6.8.4+
Issue
- A virtual system can't be subscribed even when its hypervisor is reported as subscribed on the portal or Satellite.
- Cannot re-attach the VDC subscription to the Guest machines after they got un-subscribed for an unknown reason.
- Derived SKU for the hypervisors are not getting generated on satellite server.
Resolution
-
This is a known issue and is currently being tracked under
Red Hat Bugzillas
1936505 [RHSM] and 1935093 [Satellite].
For more information, open a support case withRed Hat Technical Support
. -
Please follow the below workaround for systems attached to RHSM:
1) Remove and re-attach the VDC subscription from the hypervisor profile(s).
2) Restart the 'virt-who' service from the virt-who server to report all Hypervisor profiles to the Red Hat Customer Portal.
3) Runsubscription-manager refresh
andsubscription-manager attach --auto
on the Guests to subscribe them. -
Please follow the below workaround for systems attached to Satellite 6.8.4+:
1) Downgrade
candlepin
andcandlepin-selinux
packages on the Satellite server from3.1.24-1.el7sat
to3.1.22-1.el7sat
( Need to disable foreman-protector plugin before downgrading, enable it back)# yum downgrade candlepin-3.1.22-1.el7sat candlepin-selinux-3.1.22-1.el7sat --disableplugin=foreman-protector
2) Restart satellite services and verify the health of the server.
# satellite-maintain service restart # sleep 30 && hammer ping
3) Remove and re-attach the VDC subscription from the hypervisor profile(s).
4) Restart the 'virt-who' service from the virt-who server to report all Hypervisor profiles to the Red Hat Satellite server.
5) Runsubscription-manager refresh
andsubscription-manager attach --auto
on the Guests to subscribe them OR Perform Auto-Attach on the hosts from Satellite WebUI using following navigation:- On the Satellite WebUI >> Hosts >> Content Hosts >> Select the relevant hosts >> Select Action >> Manage Subscriptions >> On the pop-up window click on Auto-Attach on top left corner.
Root Cause
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