Bug 2059375 - VMs Migrating are Losing ELS Subscriptions and Repos for RHEL 6
Summary: VMs Migrating are Losing ELS Subscriptions and Repos for RHEL 6
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Candlepin
Version: 6.9.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 6.10.4
Assignee: satellite6-bugs
QA Contact: Danny Synk
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-28 22:15 UTC by Brad Buckingham
Modified: 2022-08-08 06:37 UTC (History)
16 users (show)

Fixed In Version: candlepin-4.0.16-1, candlepin-4.1.11-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1962410
Environment:
Last Closed: 2022-03-29 14:48:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2022:1116 0 None None None 2022-03-29 14:49:09 UTC

Comment 7 Danny Synk 2022-03-24 19:42:53 UTC
Verified on Satellite 6.10.4 (candlepin-4.0.16-1.el7sat.noarch).

Steps to Test:
 
0. Synchronize the "Red Hat Enterprise Linux 6 Server - Extended Life Cycle Support (RPMs)" repository to Satellite.
1. Configure a RHEL 8 system as a KVM hypervisor.
2. Deploy a RHEL 6 virtual guest on the KVM hypervisor.
3. Register both the hypervisor and the guest to Satellite 6.10.4.
4. Attach "Red Hat Enterprise Linux Extended Life Cycle Support (Unlimited Guests)" (SKU RH00271) and "Red Hat Enterprise Linux for Virtual Datacenters with Smart Management, Premium" (SKU RH00006) subscriptions to the hypervisor.
5. Configure virt-who to run on the hypervisor and report to the Satellite.
6. On the RHEL 6 host, add a "Red Hat Enterprise Linux Server - Extended Life Cycle Support" product certificate to /etc/pki/product.
7. On the hypervisor, force a virt-who run by stopping the virt-who service and running `virt-who -od`.
8. Verify that the RHEL 6 system is reported as a virtual guest of the hypervisor.
9. On the RHEL 6 host, run `subscription-manager attach --auto`.
 
Expected Results:
Guest subscriptions from the Extended Life Cycle Support and Virtual Datacenters subscriptions are attached to the RHEL 6 system. The "Red Hat Enterprise Linux 6 Server - Extended Life Cycle Support (RPMs)" repository is available to the guest. When examining the entitlement certificate for the Extended Life Cycle Support subscription on the RHEL 6 system using `rct cat-cert /etc/pki/entitlement/<entitlement serial>.pem`, the "Red Hat Enterprise Linux 6 Server - Extended Life Cycle Support (RPMs)" repository is listed in the "Content" section of the output.

Actual Results:
Guest subscriptions from the Extended Life Cycle Support and Virtual Datacenters subscriptions are attached to the RHEL 6 system. The "Red Hat Enterprise Linux 6 Server - Extended Life Cycle Support (RPMs)" repository is available to the guest. When examining the entitlement certificate for the Extended Life Cycle Support subscription on the RHEL 6 system using `rct cat-cert /etc/pki/entitlement/<entitlement serial>.pem`, the "Red Hat Enterprise Linux 6 Server - Extended Life Cycle Support (RPMs)" repository is listed in the "Content" section of the output.

Comment 11 errata-xmlrpc 2022-03-29 14:48:55 UTC
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 (Satellite 6.10.4 Async Bug Fix Update), 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/RHBA-2022:1116


Note You need to log in before you can comment on or make changes to this bug.