glanceclient fails to update image metadata using shade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance Client |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Against a liberty cloud, ansible is using shade to upload an image and adjust its metadata. The image upload works fine, however when shade tries to apply the custom metadata attribute post-upload it fails with:
An exception occurred during task execution. The full traceback is:
Traceback (most recent call last):
File "/root/
main()
File "/root/
**module.
File "/usr/local/
return self._update_
File "/usr/local/
image_
File "/usr/local/
return task.wait(raw)
File "/usr/local/
self.
File "/usr/local/
self.
File "/usr/local/
client.
File "/usr/local/
self.
File "/usr/local/
raise AttributeError(key)
AttributeError: patch
# pip freeze | grep -iP '(glance| shade|warlock| ansible) ' glanceclient= =2.0.0
ansible==2.1.0.0
python-
shade==1.9.0
warlock==1.2.0