Bug 1953602 - redhat-subscription: Service facts needs to be removed from the role
Summary: redhat-subscription: Service facts needs to be removed from the role
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: ansible-role-redhat-subscription
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z6
: 16.1 (Train on RHEL 8.2)
Assignee: Alex Schultz
QA Contact: David Rosenfeld
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-26 13:25 UTC by Jad Haj Yahya
Modified: 2022-08-23 16:28 UTC (History)
4 users (show)

Fixed In Version: ansible-role-redhat-subscription-1.1.1-1.20201114001022.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-26 13:52:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 787999 0 None MERGED Fix service fact reference 2021-04-26 19:14:43 UTC
Red Hat Issue Tracker OSP-3328 0 None None None 2022-08-23 16:28:15 UTC
Red Hat Product Errata RHBA-2021:2097 0 None None None 2021-05-26 13:53:08 UTC

Description Jad Haj Yahya 2021-04-26 13:25:18 UTC
Description of problem:

The below satellite job failed on current puddle (RHOS-16.1-RHEL-8-20210421.n.1) while it passed on the previous one (RHOS-16.1-RHEL-8-20210415.n.0):

http://staging-jenkins2-qe-playground.usersys.redhat.com/view/DFG/view/df/view/deployment/job/DFG-df-deployment-16.1-virthost-3cont_1comp_3ceph_3db_2net_3msg-ceph-ipv4-geneve-satellite-composable-advanced-subscription/

Here is an excerpt from overcloud log:

fatal: [controller-0]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'services' is undefined\n\nThe error appears to be in '/usr/share/ansible/roles/redhat-subscription/tasks/satellite.yml': line 24, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: SATELLITE | Set list of services as a fact\n  ^ here\n"}

Looks like this is a regression caused by https://bugs.launchpad.net/tripleo/+bug/1915761 and service facts need to be removed from role: https://github.com/openstack/ansible-role-redhat-subscription/blob/master/tasks/satellite.yml#L21-L22

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 13 errata-xmlrpc 2021-05-26 13:52: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 (Red Hat OpenStack Platform 16.1.6 bug fix and enhancement 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-2021:2097


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