Bug 1480244
Summary: | discover-tempest-config fails with a "TypeError" message | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Tejas <tchandra> | ||||
Component: | python-tempestconf | Assignee: | Martin Kopec <mkopec> | ||||
Status: | CLOSED ERRATA | QA Contact: | Chandan Kumar <chkumar> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 11.0 (Ocata) | CC: | apevec, dmacpher, hnallurv, jjoyce, lhh, mbenjamin, mmagr, slinaber, smanjara, tchandra | ||||
Target Milestone: | z4 | Keywords: | Triaged, ZStream | ||||
Target Release: | 11.0 (Ocata) | ||||||
Hardware: | Unspecified | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | python-tempestconf-1.1.3-1.1.el7ost | Doc Type: | Bug Fix | ||||
Doc Text: |
The discover-tempest-config command failed with a 'TypeError' message due to how it handled images. This fix corrects how the command obtains image information from OpenStack Image Storage (glance). The 'TypeError' no longer appears and the command runs successfully.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2018-02-13 16:38:01 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: | |||||||
Attachments: |
|
Description
Tejas
2017-08-10 13:23:21 UTC
Created attachment 1311768 [details]
discover-tempest-config log
I think I've found the problem. The problem seems to be a new image can't be uploaded and python-tempestconf fails on that. I've tried to upload an image to glance manually in your environment and it failed: [stack@magna008 cloud01]$ openstack image create --public --disk-format raw --file etc/cirros-0.3.1-x86_64-disk.img cirros-0.3.4-x86_64 --unprotected 500 Internal Server Error The server has either erred or is incapable of performing the requested operation. (HTTP 500) python-tempestconf tries to upload the image to glance, but it can't be done, so it fails. Once you can upload an image manually, it will work. However, it's possible to use already existing image by specifying compute.image_ref and compute.image_ref_alt like: $ discover-tempest-config --deployer-input ~/tempest-deployer-input.conf --debug --create identity.uri $OS_AUTH_URL identity.admin_password $OS_PASSWORD compute.image_ref $IMAGE_ID compute.image_ref_alt $IMAGE_ID_ALT ($ openstack image list # check existing images) The new package python-tempestconf-1.1.3-1.1.el7ost.noarch contains the bug fixes with the 1.1.3 tag and it's available in RHOS repositories -> marking as verified 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, 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-2018:0311 |