Bug 2223954 - [update] Add the ability to specify version of the os for the enforcement during multi-rhel state. [NEEDINFO]
Summary: [update] Add the ability to specify version of the os for the enforcement dur...
Keywords:
Status: ON_DEV
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-08-16 14:03 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:
ifrangs: needinfo? (sathlang)
pgrist: needinfo? (sathlang)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 888054 0 None NEW WIP. Add the possibilty to override the OS definition. 2023-07-19 12:05:27 UTC
Red Hat Issue Tracker OSP-26738 0 None None None 2023-07-19 12:01:47 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.


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