Bug 2223954 - [update] Add the ability to specify version of the os for the enforcement during multi-rhel state.
Summary: [update] Add the ability to specify version of the os for the enforcement dur...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z1
: 17.1
Assignee: Sofer Athlan-Guyot
QA Contact: Archana Singh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-19 12:00 UTC by Sofer Athlan-Guyot
Modified: 2023-10-02 09:46 UTC (History)
5 users (show)

Fixed In Version: openstack-tripleo-heat-templates-14.3.1-1.20230519151022.el9ost tripleo-ansible-3.3.1-1.20230518201537.el9ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-09-20 00:29:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 888054 0 None MERGED Add the possibility to override the OS definition for enforcement. 2023-08-23 07:49:32 UTC
OpenStack gerrit 891881 0 None MERGED [enforce] Add support for overriding the default OS. 2023-08-22 09:24:11 UTC
Red Hat Issue Tracker OSP-26738 0 None None None 2023-07-19 12:01:47 UTC
Red Hat Issue Tracker RHOSPDOC-1387 0 None None None 2023-09-06 08:51:41 UTC
Red Hat Product Errata RHBA-2023:5138 0 None None None 2023-09-20 00:30:04 UTC

Description Sofer Athlan-Guyot 2023-07-19 12:00:36 UTC
Description of problem:

After an upgrade from 16.2 to 17.1, one can be in a so-called multi-rhel state: some compute nodes will be on osp17.1 but with the underlying os being 8.4 instead of 9.2.

This is driven by specific role files.

Enforcement during update ensure that for each version of OSP we have the corresponding expected OS version subscribed. For OSP17.1 this is rhel 9.2.

Thus for the compute role still being on 8.4 we have an error as the OSP version (17.1) doesn't match the OS version (8.4 instead of 9.2).

To prevent the error we have the role parameter name "rhsm_enforce" which can be set to false, thus preventing the check from being applied and the error from happening.

A slight improvement, depending on how long this multi-rhel state would last could be to be able to specify the expected os version for some role.

A prototype of the code change required is attached to this bz, basically we would have a new role parameter that would enable one to override the expected version of the os.

Comment 16 errata-xmlrpc 2023-09-20 00:29:46 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.1.1 (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/RHBA-2023:5138


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