glance member-create throws 403 but creates member anyway
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
Trying to share my image on a glance mitaka box, it throws a 403 error but still creates the member anyway.
$ glance member-list --image-id 07c02208-
+------
| Image ID | Member ID | Status |
+------
+------
$ glance member-create 07c02208-
403 Forbidden: Not allowed to create members for image 07c02208-
$ glance member-list --image-id 07c02208-
+------
| Image ID | Member ID | Status |
+------
| 07c02208-
+------
I think the affected code is around:
https:/
The member gets created fine but the Forbidden exception is thrown when set ACLs. Setting ACL needs access to image locations at https:/
Please let me know if this is a bug / misconfiguration? Not being able to set the ACL doesn't seem to affect sharing, I can still booted an image shared this way.