Bug 1653238 - [UPGRADES][14] Need to run RHSM configuration during upgrade tasks
Summary: [UPGRADES][14] Need to run RHSM configuration during upgrade tasks
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 14.0 (Rocky)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 14.0 (Rocky)
Assignee: Jose Luis Franco
QA Contact: Yurii Prokulevych
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-26 10:53 UTC by Yurii Prokulevych
Modified: 2022-02-15 07:15 UTC (History)
8 users (show)

Fixed In Version: openstack-tripleo-heat-templates-9.0.1-0.20181013060896.el7ost.src.rpm,
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-11 11:55:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 610493 0 None None None 2018-11-26 11:02:54 UTC
OpenStack gerrit 620953 0 None None None 2018-11-29 16:29:07 UTC
Red Hat Issue Tracker OSP-12670 0 None None None 2022-02-15 07:15:31 UTC
Red Hat Issue Tracker UPG-4999 0 None None None 2022-02-15 07:15:37 UTC
Red Hat Product Errata RHEA-2019:0045 0 None None None 2019-01-11 11:55:11 UTC

Description Yurii Prokulevych 2018-11-26 10:53:33 UTC
Description of problem:
-----------------------
In RHOS-14 new service RHSM is introduced. It's used to subscribe hosts to Satellite/CDN.
Unfortunately this task is executed just within host_prep_task section, and we need to run it during upgrade_tasks, to get correct nodes configured on nodes.

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
openstack-tripleo-heat-templates-9.0.1-0.20181013060890.el7ost.noarch


How reproducible:
-----------------
100%

Steps to Reproduce:
-------------------
1. Deploy RHOS-13 with satellite
2. Start upgrade to 14
3. Add new env file to upgrade prepare command:
    /usr/share/openstack-tripleo-heat-templates/environments/rhsm.yaml
4. Add env file with credentials for RHOS-14
5. After upgrade prepare start Controllers upgrade


Actual results:
---------------
Nodes don't have correct repos configured


Expected results:
-----------------
Correct repos are configured

Comment 11 Yurii Prokulevych 2018-12-19 15:33:12 UTC
Verified with openstack-tripleo-heat-templates-9.0.1-0.20181013060905.el7ost.noarch
Nodes got successfully registered to satellite using rhsml service

Comment 14 errata-xmlrpc 2019-01-11 11:55:00 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, 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-2019:0045


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