Bug 1964379 - 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: ---
: ---
Assignee: candlepin-bugs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1962410
TreeView+ depends on / blocked
 
Reported: 2021-05-25 11:20 UTC by Nikos Moumoulidis
Modified: 2022-02-09 15:39 UTC (History)
7 users (show)

Fixed In Version: candlepin-4.1.11-1
Clone Of: 1964376
Environment:
Last Closed: 2022-02-09 15:39:52 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github candlepin candlepin pull 3213 0 None open 1964379: Fix to include products from new entitlements selected via auto-attach or bulk-pool attach operations 2022-02-09 10:04:46 UTC

Description Nikos Moumoulidis 2021-05-25 11:20:44 UTC
+++ This bug was initially created as a clone of Bug #1964376 +++

+++ 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.


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