Bug 1737135
Summary: | Content Hosts loses subscriptions after Vmotion and auto attach is unable to assigned the subscriptions if any other subscription is already attached to the host. | |||
---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Gourav Padholia <gpadholi> | |
Component: | Candlepin | Assignee: | Prakhar Gupta <prakgupt> | |
Status: | CLOSED ERRATA | QA Contact: | Lai <ltran> | |
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 6.5.0 | CC: | bkearney, csnyder, ehelms, khowell, nmoumoul, redakkan, rjerrido, wpoteat | |
Target Milestone: | 6.8.0 | Keywords: | Reopened, Triaged | |
Target Release: | Unused | |||
Hardware: | Unspecified | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | candlepin-2.6.17-1, candlepin-2.9.28-1, candlepin-3.1.12-1 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1740346 1751848 (view as bug list) | Environment: | ||
Last Closed: | 2020-10-27 12:58:49 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | 1740346, 1751848, 1751850, 1834221 | |||
Bug Blocks: |
Description
Gourav Padholia
2019-08-02 18:45:10 UTC
This is not a virt-who issue, as the host/guest relationship is properly established. Moving to Candlepin. The issue appears to be between the mismatching SLAs of the SKUs in use. Auto-attach will not mix SLAs. You can mix SLAs by manually attaching subscriptions. So the first auto-attach for the guests prior to vMotion works because the SLA of the guest system is not yet established. After vMotion (and after candlepin is informed of the guest's movement), the original attachment to the premium host provided subscription is removed (because the guest is no longer on that host). An attempt is then made, using auto-attach, to fix the guest (which in the general case would attach the same guest pool provided by the new host). This does not pick up the guest pool of the new host because the only remaining attached subscription has the SLA "standard", hence the SLA of the system is viewed by auto-attach as "standard". For this to work properly you either need both of the subscriptions in use for the guest with the SLA "standard" or the SLA "premium". Verified in Satellite 6.8 Snap 17 Followed the approximate steps in the description, substituting equvilant subscriptions. Host before auto-attach [root@guesthost ~]# subscription-manager list --consumed No consumed subscription pools to list Host after first auto-attach (Assigned guest subscription) [root@guesthost ~]# subscription-manager list --consumed +-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ Subscription Name: Red Hat Enterprise Linux for Virtual Datacenters, Premium Provides: Red Hat Enterprise Linux Atomic Host ... Active: True Quantity Used: 1 Service Level: Premium Service Type: L1-L3 Status Details: Subscription is current Subscription Type: Standard Starts: 04/03/20 Ends: 04/02/21 System Type: Virtual Host after Adding self-support beta access subscription [root@guesthost ~]# subscription-manager list --consumed +-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ Subscription Name: Red Hat Enterprise Linux for Virtual Datacenters, Premium Provides: Red Hat Enterprise Linux Atomic Host ... Active: True Quantity Used: 1 Service Level: Premium Service Type: L1-L3 Status Details: Subscription is current Subscription Type: Standard Starts: 04/03/20 Ends: 04/02/21 System Type: Virtual Subscription Name: Red Hat Beta Access Provides: Red Hat Enterprise Linux for Power, little endian Beta ... Active: True Quantity Used: 1 Service Level: Self-Support Service Type: L1-L3 Status Details: Subscription is current Subscription Type: Standard Starts: 04/03/20 Ends: 04/02/21 System Type: Physical After updated report and even another sat-side auto-attach is the same as previous step. Additional client-side auto-attach retains guest subscription. [root@guesthost ~]# subscription-manager attach --auto All installed products are covered by valid entitlements. No need to update subscriptions at this time. Installed Product Current Status: Product Name: Red Hat Enterprise Linux Server Status: Subscribed Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: Satellite 6.8 release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:4366 |