Bug 2312057 - Password rotation fails with 'container' is undefined
Summary: Password rotation fails with 'container' is undefined
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: tripleo-ansible
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z4
: 17.1
Assignee: Rabi Mishra
QA Contact: Joe H. Rahme
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-09-13 04:58 UTC by Rabi Mishra
Modified: 2024-11-21 09:42 UTC (History)
4 users (show)

Fixed In Version: tripleo-ansible-3.3.1-17.1.20240918100824.8debef3.el9ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-11-21 09:42:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-32822 0 None None None 2024-09-13 04:58:58 UTC
Red Hat Product Errata RHBA-2024:9974 0 None None None 2024-11-21 09:42:43 UTC

Description Rabi Mishra 2024-09-13 04:58:21 UTC
Description of problem:

ansible-playbook -i ./tripleo-deploy/undercloud/tripleo-ansible-inventory.yaml /usr/share/ansible/tripleo-playbooks/rotate-passwords.yaml 
[WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to see details
[WARNING]: Found both group and host with same name: undercloud

PLAY [Rotate passwords] **********************************************************************************************************************************************************************************************************************

TASK [Set passwords_environment_path] ********************************************************************************************************************************************************************************************************
ok: [undercloud]

TASK [Rotate passwords] **********************************************************************************************************************************************************************************************************************
fatal: [undercloud]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'container' is undefined. 'container' is undefined\n\nThe error appears to be in '/usr/share/ansible/tripleo-playbooks/rotate-passwords.yaml': line 33, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n    - name: Rotate passwords\n      ^ here\n"}

NO MORE HOSTS LEFT ***************************************************************************************************************************************************************************************************************************

PLAY RECAP ***********************************************************************************************************************************************************************************************************************************
undercloud                 : ok=1    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0   

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


How reproducible:
Always

Steps to Reproduce:
1.
2.
3.

Actual results:

Playbook fails with error.

Expected results:

Password file updated that would be used in next deployment.

Additional info:

Comment 9 errata-xmlrpc 2024-11-21 09:42:41 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 (RHOSP 17.1.4 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-2024:9974


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