Bug 1964376 - 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 CURRENTRELEASE
Alias: None
Product: Candlepin
Classification: Community
Component: candlepin
Version: 3.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.0
Assignee: Prakhar Gupta
QA Contact:
URL:
Whiteboard:
: 1964377 (view as bug list)
Depends On:
Blocks: 1962410
TreeView+ depends on / blocked
 
Reported: 2021-05-25 11:13 UTC by Nikos Moumoulidis
Modified: 2024-12-20 20:07 UTC (History)
5 users (show)

Fixed In Version: candlepin-4.0.16-1
Clone Of: 1962410
: 1964377 1964379 (view as bug list)
Environment:
Last Closed: 2022-02-22 08:09:48 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github candlepin candlepin pull 3215 0 None open [4.0] 1964376: Fix to include products from new entitlements selected via auto-attach or bulk-pool attach operations 2022-02-09 10:03:54 UTC

Description Nikos Moumoulidis 2021-05-25 11:13:39 UTC
+++ This bug was initially created as a clone of Bug #1962410 +++

Description of problem:

VMs that are inheriting an ELS subscription from a hypervisor, are migrating frequently in an environment, sometimes several times a day.  When this happens, the subscriptions for ELS are not auto-attached, therefore the ELS repos are not available.  Running "subscription-manager refresh" will bring the subscription back, and the els repos are enabled again.  2 things that are noticed:

  - RHEL5 servers don't drop their els repositories when they migrate
  - The base RHEL6 repos don't drop when they migrate

Seems to be just an issue with RHEL6 els repositories / subscription.

Version-Release number of selected component (if applicable):
Satellite 6.9.1
Red Hat Server 6

How reproducible:
always

Steps to Reproduce:
1. Have a RHEL6 vm use an ELS subscription inherited via a VDC subscription
2. Have the host migrate to another hypervisor (that is also entitled)
3. 
 
Actual results:
RHEL6 servers drop their els repositories, but not their base rhel6 repos.

Expected results:
ELS repos shouldn't drop due to migration.

Additional info:

subscription-manager refresh fixes this issue.

currently an Ansible Role is being used to re-attach the subscriptions and repos for the RHEL6 hosts.

Comment 2 Nikos Moumoulidis 2022-02-03 11:57:23 UTC
*** Bug 1964377 has been marked as a duplicate of this bug. ***


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