iesgn / openstack-debian-ansible

Ansible playbooks for installing OpenStack on Debian
GNU General Public License v3.0
17 stars 16 forks source link

Access denied when accesing to glance API #17

Closed albertomolina closed 8 years ago

albertomolina commented 8 years ago

A regular user isn't able to upload a new image, a 403 http message appears:

2015-12-29 19:22:06.973 19188 INFO eventlet.wsgi.server [req-99b745ad-2a63-42e2-a623-3f078543ea33 90c4aeb4b02f4f20b5b8d6034cdb9b9c 0dd3a3e1401541ef95044979a80794d5 - - -] 192.168.1.241 - - [29/Dec/2015 19:22:06] "POST /v1/images HTTP/1.1" 403 371 0.022323

Note: admin user can upload images to glance from both horizon and CLI

albertomolina commented 8 years ago

It seems to be related to this upstream bug: https://bugs.launchpad.net/glance/+bug/1501672

But we can't expect that patch will be applied to debian OpenStack Kilo packages because they are focused on porting OpenStack Liberty to Jessie Backports

albertomolina commented 8 years ago

It's a feature: A regular user can't upload an image with --is-public option set to true