Default Values Do Not Allow Image Uploads to Glance from Horizon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Medium
|
Kevin Carter |
Bug Description
Focus is on usability, by default in a stable/pike cloud taken with minimal knowledge of openstack-ansible and openstack the user isn't allowed to upload images to Glance from Horizon.
I run stable/pike of openstack-ansible but I don't think this is fixed in Master either.
Default Values:
horizon_
glance_
No CORS override in GLANCE
Changes I made:
glance_
Add ORIGIN to CORS:
# Please define external_
#external_
cors_overrides:
cors:
# LP bug 1680062
allow_headers: origin,
# if you don't define external_
allowed_origin: "{{ external_
allow_methods: "GET,POST,
## Glance
glance_
glance_
## Horizon
horizon_
# Skip verification of SSL certs (Set to True when using self-signed certs)
horizon_
The horizon_
From Freenode #openstack-glance.
<me>
hey, running stable/pike from openstack-ansible ... in glance i have show_multiple_
<rosmaita>
idlemind show_multiple_
So based on the comment from rosmaita this won't be fixed until Rocky. Fixed being relying on RBAC which is configured correctly in policy.json. At which point we could drop glance_
Possible Solutions:
glance_
horizon_
Include the CORS blob at least for openstack-ansible stable/pike
Similar discussion in https:/ /bugs.launchpad .net/openstack- ansible/ +bug/1730722
Not as detailed of a fix and suggests setting the upload_mode to 'remote' which I'm thinking causes it to actually default to 'legacy'