Bug 2158380
| Summary: | tripleo container image prepare TypeError: 'NoneType' object is not iterable | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Attila Fazekas <afazekas> |
| Component: | python-tripleoclient | Assignee: | Brendan Shephard <bshephar> |
| Status: | CLOSED ERRATA | QA Contact: | David Rosenfeld <drosenfe> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 17.1 (Wallaby) | CC: | bshephar, hbrock, jschluet, jslagle, mburns, ramishra, tkajinam |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | 17.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-tripleoclient-16.5.1-1.20230322223905.1908ed1.el9ost | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-08-16 01:13: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: | |||
Yeah, agreed. It can be improved, let's just make that param required: https://review.opendev.org/c/openstack/python-tripleoclient/+/869526 Wallaby backport for 17.1: https://review.opendev.org/c/openstack/python-tripleoclient/+/871903 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 (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-2023:4577 |
[stack@undercloud-0 ~]$ openstack tripleo container image prepare Exception occured while running the command Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/tripleoclient/command.py", line 32, 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/container_image.py", line 1074, in take_action env_files = [os.path.abspath(x) TypeError: 'NoneType' object is not iterable 'NoneType' object is not iterable [stack@undercloud-0 ~]$ rpm -qf /usr/lib/python3.9/site-packages/tripleoclient/v1/container_image.py python3-tripleoclient-16.5.1-1.20221203011301.5d0e0fd.el9ost.noarch Likely bad user input (no parameter), but it should be a handled exception.