Bug 1956803 - redhat-subscription: Packages should be referenced using ansible_facts
Summary: redhat-subscription: Packages should be referenced using ansible_facts
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: 1961674
TreeView+ depends on / blocked
 
Reported: 2021-05-04 12:58 UTC by Jad Haj Yahya
Modified: 2022-08-23 10:36 UTC (History)
3 users (show)

Fixed In Version: ansible-role-redhat-subscription-1.1.1-1.20201114001023.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1961674 (view as bug list)
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 789567 0 None NEW Fix packages fact 2021-05-04 13:23:09 UTC
Red Hat Issue Tracker OSP-3606 0 None None None 2022-08-23 10:36:13 UTC
Red Hat Product Errata RHBA-2021:2097 0 None None None 2021-05-26 13:53:08 UTC

Description Jad Haj Yahya 2021-05-04 12:58:35 UTC
Description of problem:

Satellite job failed due to below error:

fatal: [controller-0]: FAILED! => {"msg": "The conditional check 'packages['subscription-manager'][0]['version'] is version_compare('1.10', '>=')' failed. The error was: Version comparison: 'packages' is undefined"}
fatal: [controller-1]: FAILED! => {"msg": "The conditional check 'packages['subscription-manager'][0]['version'] is version_compare('1.10', '>=')' failed. The error was: Version comparison: 'packages' is undefined"}
fatal: [controller-2]: FAILED! => {"msg": "The conditional check 'packages['subscription-manager'][0]['version'] is version_compare('1.10', '>=')' failed. The error was: Version comparison: 'packages' is undefined"}
fatal: [controller-0]: FAILED! => {"msg": "The conditional check 'packages['subscription-manager'][0]['version'] is version_compare('1.10', '>=')' failed. The error was: Version comparison: 'packages' is undefined"}
fatal: [controller-1]: FAILED! => {"msg": "The conditional check 'packages['subscription-manager'][0]['version'] is version_compare('1.10', '>=')' failed. The error was: Version comparison: 'packages' is undefined"}
fatal: [controller-2]: FAILED! => {"msg": "The conditional check 'packages['subscription-manager'][0]['version'] is version_compare('1.10', '>=')' failed. The error was: Version comparison: 'packages' is undefined"}

it is apparently requires using ansible_facts at https://github.com/openstack/ansible-role-redhat-subscription/blob/master/tasks/satellite-6.yml at lines 10 &. 21

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 12 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.