Bug 2105906

Summary: tripleo_free may prevent subscription manager to properly work against satellite
Product: Red Hat OpenStack Reporter: Cédric Jeanneret <cjeanner>
Component: tripleo-ansibleAssignee: Rabi Mishra <ramishra>
Status: CLOSED ERRATA QA Contact: Joe H. Rahme <jhakimra>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 17.0 (Wallaby)CC: drosenfe, jhakimra, jschluet, marjones, mburns, ramishra
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tripleo-ansible-3.3.1-0.20220720020859.fa5422f.el9ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-21 12:23: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:    
Bug Blocks: 2061393    

Description Cédric Jeanneret 2022-07-11 07:11:43 UTC
Description of problem:
Under some circumstances (scale, probably), it appears tripleo_free may prevent a proper OC registration against a satellite instance.

This is described in bug #2061393

Version-Release number of selected component (if applicable):
Detected first on 16.2, but will also happen on 17.0 - hence this BZ

How reproducible:
Always, with a high number of nodes to register

Comment 1 Cédric Jeanneret 2022-07-11 07:24:03 UTC
Some more context: the redhat_subscription is called as a "host_prep_tasks", as well as "scale_tasks" and "upgrade_tasks"[1].

In order to switch the strategy, we'd need to edit the deploy-steps.j2 for host_prep_tasks[2] and upgrade_tasks[3] generation. Note that, apparently. scaling isn't specifying any strategy


[1] https://opendev.org/openstack/tripleo-heat-templates/src/branch/master/deployment/rhsm/rhsm-baremetal-ansible.yaml
[2] https://opendev.org/openstack/tripleo-heat-templates/src/branch/master/common/deploy-steps.j2#L671-L709
[3] https://opendev.org/openstack/tripleo-heat-templates/src/branch/master/common/deploy-steps.j2#L1122-L1142
[4] https://opendev.org/openstack/tripleo-heat-templates/src/branch/master/common/deploy-steps.j2#L1252-L1286

Comment 14 errata-xmlrpc 2022-09-21 12:23:49 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 (Release of components for Red Hat OpenStack Platform 17.0 (Wallaby)), 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/RHEA-2022:6543

Comment 15 Red Hat Bugzilla 2023-09-18 04:41:40 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days