Glance client has a custom check that generates exception if
location has not been returned by image-get request.
This check should on server side and it should be managed by
policy rules when do location-add action.
That also allows to increase possibility of migrating Heat
to v2[1].
NOTE: After this patch, we'll raise a HTTPBadRequest from
server side instead of HTTPConflict when a user adds a
duplicate location.
Reviewed: https:/ /review. openstack. org/242535 /git.openstack. org/cgit/ openstack/ python- glanceclient/ commit/ ?id=cea67763c9f 8037f47844e3e05 7166d6874d801d
Committed: https:/
Submitter: Jenkins
Branch: master
commit cea67763c9f8037 f47844e3e057166 d6874d801d
Author: kairat_kushaev <email address hidden>
Date: Fri Nov 6 18:16:30 2015 +0300
Remove location check from V2 client
Glance client has a custom check that generates exception if
location has not been returned by image-get request.
This check should on server side and it should be managed by
policy rules when do location-add action.
That also allows to increase possibility of migrating Heat
to v2[1].
NOTE: After this patch, we'll raise a HTTPBadRequest from
server side instead of HTTPConflict when a user adds a
duplicate location.
[1]: https:/ /review. openstack. org/#/c/ 240450/
Co-Authored-By: wangxiyuan <email address hidden>
Change-Id: I778ad2a97805b4 d85eb0430c603c2 7a0a1c148e0
Closes-bug: #1493026