I'm having a real head-scratcher with Ocata glance right now. v1 API is deprecated and marked for deletion in Pike, so creating images from a remote URL is not as easy as it used to be.
When using Horizon to create an image, setting the location as a remote URL fails to create the image, because we're not allowed to set locations anymore. The error in glance-api logs is 403 Forbidden It's not allowed to add locations if locations are invisible. ok, So I learn that `show_multiple_locations` now defaults to False, and is marked as a deprecated option. Setting this to `True` makes Horizon work create-image work, makes ceph instance snapshots work, etc. But the glance team says this is wrong. They suggest configuring this via RBAC. The default policy file has "delete_image_location": "", "get_image_location": "", "set_image_location": "", Which should mean "No restrictions", however without `show_multiple_locations=True` - Creating an image from URL or creating an instance snapshot with a ceph backend errors out. glance.api.v2.images There is not available location for image So, according to https://review.openstack.org/#/c/313936/ We should be able to do this without this option, but how? Any one else using Ocata glance with ceph backend?
signature.asc
Description: Message signed with OpenPGP
_______________________________________________ OpenStack-operators mailing list OpenStack-operators@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators