Bug 1644801 - Make available ansible-role-redhat-subscription package in osp12
Summary: Make available ansible-role-redhat-subscription package in osp12
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: ansible-role-redhat-subscription
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z4
: 12.0 (Pike)
Assignee: Sam Doran
QA Contact: Gurenko Alex
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-31 15:52 UTC by Jose Luis Franco
Modified: 2024-03-25 15:09 UTC (History)
9 users (show)

Fixed In Version: ansible-role-redhat-subscription-1.0.1-4.el7ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-12-05 18:50:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
RDO 17314 0 None master: NEW rdoinfo: Make ansible-role-redhat-subscription available in pike. (Ifc9b2da138d69303ff196431795c04c45246bc4a) 2018-11-27 15:03:21 UTC
Red Hat Product Errata RHBA-2018:3788 0 None None None 2018-12-05 18:52:18 UTC

Description Jose Luis Franco 2018-10-31 15:52:19 UTC
Description of problem:
In order to make the repository update easier using the redhat-subscription role when updating from osp12 to osp13 it would be needed to have available the package in osp12 repositories.
Currently, if we would like to use the Rhsm service to upgrade from osp12 to osp13 an error would be printed out as the redhat-subscription role is not available in the overcloud nodes (the role has been added in osp13).
Some effort have been done to make use of the old rhel-registration script inside the Rhsm service upgrade_taks, mapping the new variables to the old:
https://review.openstack.org/#/c/611879/ 

However, the effort to make it work is pretty big compared to having the option of using the role which already handles the repository switching. Also, as seen in the review this approach would force us to include a task in host_prep_tasks to verify if the role is available or not (as when running "overcloud upgrade prepare" the host_prep_tasks are executed and the role is not available, the same case stated above).

If the role would be available already in osp12, we could suggest in the documentation to start making use of it when upgrading (linking to the migration to Rhsm documentation https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/13/html/advanced_overcloud_customization/ansible-based-registration#switching-to-the-rhsm-composable-service ) appending the rhsm.yml template in the resource_registry. 


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Steve Baker 2018-11-05 21:42:59 UTC
Assigning this to Upgrades since this looks like a change to facilitate a better upgrade experience

Comment 3 Jose Luis Franco 2018-11-08 16:07:56 UTC
I did test an upgrade from OSP12 to OSP13 using ansible-role-redhat-subscription-1.0.1-1.el7ost but it would make sense to use the new version instead.

I also proposed the change in rdo: https://review.rdoproject.org/r/#/c/17314/1

Comment 14 errata-xmlrpc 2018-12-05 18:50:43 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/RHBA-2018:3788


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