Bug 2226845
| Summary: | export_ceph fails with 17.1 ansible inventory | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Ollie Walsh <owalsh> |
| Component: | python-tripleoclient | Assignee: | Ollie Walsh <owalsh> |
| Status: | CLOSED ERRATA | QA Contact: | pkomarov |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 17.1 (Wallaby) | CC: | hbrock, jslagle, mariel, mburns, pgrist |
| Target Milestone: | z1 | Keywords: | Triaged |
| Target Release: | 17.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-tripleoclient-16.5.1-1.20230505010955.el9ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-09-20 00:29:46 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: | |||
Verified , passed the ceph-upgrade-to-cephadm step [root@titan134 ansible]# oc get pods NAME READY STATUS RESTARTS AGE deploy-openstack-ceph-upgrade-54kzv 0/1 Completed 0 148m deploy-openstack-ceph-upgrade-packages-hfx7q 0/1 Completed 0 134m deploy-openstack-ceph-upgrade-to-cephadm-gbjlm 0/1 Completed 0 129m 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 (Release of components for Red Hat OpenStack Platform 17.1.1 (Wallaby)), 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:5138 |
The export_ceph method in python-tripleoclient fails when using ceph-ansible with a 17.1 inventory file: File "/usr/lib/python3.6/site-packages/tripleoclient/export.py", line 196, in export_ceph mon_ips = export_storage_ips(stack, config_download_dir) File "/usr/lib/python3.6/site-packages/tripleoclient/export.py", line 178, in export_storage_ips for hostname in inventory_data[mon_role]['hosts']: KeyError: 'hosts' This is causing OSPdO deployments during FFU to report failure at the very end of the deployment (it will automatically export and store the ceph data). Once the cephadm adoption step are complete the issue is resolved.