Bug 2097408
| Summary: | 'overcloud export ceph' fails ceph_client.yml not found | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | John Fulton <johfulto> |
| Component: | tripleo-ansible | Assignee: | John Fulton <johfulto> |
| Status: | CLOSED ERRATA | QA Contact: | Marian Krcmarik <mkrcmari> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 17.0 (Wallaby) | CC: | fpantano, jschluet, oblaut, spower, stchen |
| Target Milestone: | beta | Keywords: | Regression, Triaged |
| Target Release: | 17.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | tripleo-ansible-3.3.1-0.20220720020860.fa5422f.el9ost python-tripleoclient-16.4.1-0.20220705111520.23dbe54.el9ost openstack-tripleo-heat-templates-14.3.1-0.20220719171712.feca772.el9ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-09-21 12:22:30 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: | |||
The fixes were tested and failed so a follow up patch will be needed. We see the following failure (which is just the fall back of the python-tripleoclient patch): FileNotFoundError: [Errno 2] No such file or directory: '/home/stack/ceph_client.yaml' and the exported file is found in the wrong place: /usr/share/ansible/tripleo-playbooks/cephadm/ceph_client.yml Are there any pending patches to move this forward? (In reply to Yaniv Kaul from comment #7) > Are there any pending patches to move this forward? Yes, this patch solves the issue. https://review.opendev.org/c/openstack/tripleo-ansible/+/849572/ While I was on PTO it was reverted however, so I'm now following up to restore it and solve the root cause of why it was reverted. Fix in the works: https://review.opendev.org/q/topic:bug%252F1981634 Testing the following fixes https://review.opendev.org/c/openstack/python-tripleoclient/+/850309 https://review.opendev.org/c/openstack/tripleo-ansible/+/850307 TRAC have moved this to GA blocker but not a Beta blocker. Disregard TM change 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.0 (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/RHEA-2022:6543 |
openstack overcloud export ceph --stackopenstack overcloud export ceph --stack central --output-file central_ceph_external.yaml /usr/lib/python3.9/site-packages/ansible/_vendor/__init__.py:42: UserWarning: One or more Python packages bundled by this ansible-core distribution were already loaded (pyparsing). This may result in undefined behavior. warnings.warn('One or more Python packages bundled by this ansible-core distribution were already ' Exception occured while running the command Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/tripleoclient/command.py", line 34, in run super(Command, self).run(parsed_args) File "/usr/lib/python3.9/site-packages/osc_lib/command/command.py", line 39, in run return super(Command, self).run(parsed_args) File "/usr/lib/python3.9/site-packages/cliff/command.py", line 186, in run return_code = self.take_action(parsed_args) or 0 File "/usr/lib/python3.9/site-packages/tripleoclient/v1/overcloud_export_ceph.py", line 105, in take_action cephs.append(export.export_ceph(stack, File "/usr/lib/python3.9/site-packages/tripleoclient/export.py", line 215, in export_ceph with open(file, 'r') as ff: FileNotFoundError: [Errno 2] No such file or directory: '/home/stack/overcloud-deploy/central/config-download/central/cephadm/ceph_client.yml' [Errno 2] No such file or directory: '/home/stack/overcloud-deploy/central/config-download/central/cephadm/ceph_client.yml'