Uploading glance image with direct flag

asked 2018-06-18 03:12:09 -0600

mike11 gravatar image

updated 2018-06-18 03:58:35 -0600

Hi Everyone,

There is a flag in local_settings.py which enables direct upload of images (by passing the temporary storage of the image). However, when i use the flag i get the error (only in the Horizon) of: TypeError: Cannot read property 'data' of undefined. In my setting, i am running all in one. I changed the [cors] in glance-api.conf file, however, i still get this error and the image gets stuck in queue. Below are the settings that i put in cors.

allowed_origin=, https://localhost.local,http://localhost.local,,,
allow_methods: GET,PUT,POST,DELETE
max_age: 3600

in the allowed_origins i tried multiple settings which is why there are multiple addresses. Source: https://docs.openstack.org/horizon/latest/configuration/settings.html (https://docs.openstack.org/horizon/la...)

Thank you for any input, Michael

edit retag flag offensive close merge delete