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: | ON_DEV --- | QA Contact: | David Rosenfeld <drosenfe> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 17.1 (Wallaby) | CC: | hbrock, jslagle, mburns |
| Target Milestone: | z1 | Keywords: | Triaged |
| Target Release: | 17.1 | Flags: | ifrangs:
needinfo?
(owalsh) |
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 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: | |||
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.