Shade 1.23.0 is breaking os_tempest role
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Our os_tempest role is using the os_image module, and it fails with the latest version of shade.
(See here for its usage)
https:/
and here is an extract of the issue:
TASK [os_tempest : Ensure tempest image] *******
2017-09-06 14:17:27.062052 | Wednesday 06 September 2017 14:17:27 +0000 (0:00:45.646) 0:58:16.610 ***
2017-09-06 14:17:30.298675 | FAILED - RETRYING: Ensure tempest image (5 retries left).
2017-09-06 14:17:46.679756 | FAILED - RETRYING: Ensure tempest image (4 retries left).
2017-09-06 14:18:03.155929 | FAILED - RETRYING: Ensure tempest image (3 retries left).
2017-09-06 14:18:19.550310 | FAILED - RETRYING: Ensure tempest image (2 retries left).
2017-09-06 14:18:35.970948 | FAILED - RETRYING: Ensure tempest image (1 retries left).
2017-09-06 14:18:52.367732 | fatal: [aio1_utility_
{"attempts": 5, "changed": false, "failed": true, "module_stderr": "mesg: ttyname failed: Inappropriate ioctl for device
Traceback (most recent call last):
File \"/tmp/
main()
File \"/tmp/
image = cloud.get_
File \"/usr/
return _utils.
File \"/usr/
entities = func(name_or_id, filters, **kwargs)
File \"/usr/
images = self.list_images()
File \"/usr/
if self._is_
File \"/usr/
return client.
File \"/usr/
api_version = self.get_
AttributeError: 'ShadeAdapter' object has no attribute 'get_api_
", "module_stdout": "", "msg": "MODULE FAILURE", "rc": 1}
This will impact us from Ocata onwards.
Changed in openstack-ansible: | |
status: | New → Fix Released |
I do not believe this is a bug in shade. Rather, I think this is a bug somewhere in the consumption of upper-constrati nts.txt and requirements.
get_api_ major_version comes from keystoneauth1 3.2.0. If you get:
AttributeError: 'ShadeAdapter' object has no attribute 'get_api_ major_version'
that means that somehow you have installed shade 2.3.0 with keystoneauth1 < 3.2.0 even though shade's requirements file (and the upper-constrain ts.txt in global- requirements) say 3.2.0