Bug 2165616
| Summary: | imageutils: calling str on a QemuImgInfo instance raises AttributeError | |||
|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Hervé Beraud <hberaud> | |
| Component: | python-oslo-utils | Assignee: | Hervé Beraud <hberaud> | |
| Status: | CLOSED ERRATA | QA Contact: | dabarzil | |
| Severity: | medium | Docs Contact: | ||
| Priority: | high | |||
| Version: | 17.1 (Wallaby) | CC: | apevec, dabarzil, lhh, prgutier | |
| Target Milestone: | rc | Keywords: | Triaged | |
| Target Release: | 17.1 | Flags: | hberaud:
needinfo-
|
|
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | python-oslo-utils-4.8.2-1.20230201111008.a38b56a.el9ost | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2165620 (view as bug list) | Environment: | ||
| Last Closed: | 2023-08-16 01:13:42 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: | 2165620 | |||
|
Description
Hervé Beraud
2023-01-30 15:06:43 UTC
Fixed in version python-oslo-utils-4.8.2-1.20230201104135.a38b56a.el8osttrunk https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=2355193 Verified: Python 3.9.16 (main, Dec 8 2022, 00:00:00) [GCC 11.3.1 20221121 (Red Hat 11.3.1-4)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from oslo_utils import imageutils >>> fake_data = imageutils.QemuImgInfo() >>> fake_data.type = 'vmdk' >>> fake_data.format_specific = {'type': 'vmdk', 'data': {}} >>> fake_data.format_specific['data']['create-type'] = 'monolithicSparse' >>> str(fake_data) "image: None\nfile_format: None\nvirtual_size: None\ndisk_size: None\ncluster_size: None\nbacking_file: None\nformat_specific: {'type': 'vmdk', 'data': {'create-type': 'monolithicSparse'}}" >>> 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 |