Description of problem: When SkipRhelEnforcement: false and running the update on osp17 we have this failure: 2022-07-05 11:40:26.427831 | 525400f1-4263-59d7-1127-00000000019e | TASK | unknown failure during call to subscription-manager host: undercloud-0, task: TASK: tripleo_redhat_enforce : fails if the release is not correct undercloud-0 still blocked host: undercloud-0, task: TASK: tripleo_redhat_enforce : fails if the release is not correct undercloud-0 still blocked host: undercloud-0, task: TASK: tripleo_redhat_enforce : fails if the release is not correct undercloud-0 still blocked 2022-07-05 11:40:26.469637 | 525400f1-4263-59d7-1127-00000000019e | FATAL | unknown failure during call to subscription-manager | undercloud-0 | error={ "changed": false, "msg": "Unknow failure during 'subscription-manager release --show': subscription-manager is disabled when running inside a container. Please refer to your host system for subscription management." } This is because the file /run/.containerenv is present on the host. The final fix is https://bugzilla.redhat.com/show_bug.cgi?id=2097694, but until merged we might want to have a workaround around in the code. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
This Bug is verified on tripleo-ansible-3.3.1-0.20220720020859.fa5422f.el9ost.noarch
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