Bug 2186226

Summary: Upgrade [OSP16.2 -> OSP17.1] ceph adoption is failling on IPV6 due to undefined variable
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Juan Badia Payno <jbadiapa>
Component: Ceph-AnsibleAssignee: Teoman ONAY <tonay>
Status: CLOSED ERRATA QA Contact: Pranav Prakash <prprakas>
Severity: high Docs Contact: lysanche
Priority: high    
Version: 5.0CC: ceph-eng-bugs, cephqe-warriors, fpantano, gabrioux, gfidente, gmeno, jpretori, kthakre, lbezdick, rmandyam, tonay, tserlin, vdas, vereddy
Target Milestone: ---   
Target Release: 5.3z3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-ansible-6.0.28.4-1.el8cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-23 00:19:10 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:
Bug Depends On:    
Bug Blocks: 2160009    

Description Juan Badia Payno 2023-04-12 13:18:00 UTC
On the ceph adoption phase the ansible playbook is failling with the following error:

"Wednesday 12 April 2023  10:55:40 +0000 (0:00:00.290)       0:00:57.673 ******* ",
2023-04-12 10:55:41 |         "fatal: [controller-0 -> {{ groups[mon_group_name][0] }}]: FAILED! => {\"msg\": \"The task includes an option with an undefined variable. The error was: No last item, sequence was empty.\\n\\nThe error appears to be in '/usr/share/ceph-ansible/infrastructure-playbooks/cephadm-adopt.yml': line 377, 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: manage nodes with cephadm - ipv6\\n      ^ here\\n\"}"

Comment 17 errata-xmlrpc 2023-05-23 00:19:10 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 Ceph Storage 5.3 Bug Fix update), 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-2023:3259

Comment 18 Red Hat Bugzilla 2023-09-21 04:25:09 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days