Bug 1953602

Summary: redhat-subscription: Service facts needs to be removed from the role
Product: Red Hat OpenStack Reporter: Jad Haj Yahya <jhajyahy>
Component: ansible-role-redhat-subscriptionAssignee: Alex Schultz <aschultz>
Status: CLOSED ERRATA QA Contact: David Rosenfeld <drosenfe>
Severity: high Docs Contact:
Priority: high    
Version: 16.1 (Train)CC: aschultz, cjeanner, emacchi, spower
Target Milestone: z6Keywords: AutomationBlocker, Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ansible-role-redhat-subscription-1.1.1-1.20201114001022.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-26 13:52:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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