Public bug reported:
Glance logs these:
Jan 25 10:44:52.170319 ubuntu-bionic-rax-ord-0014151033
[email protected][11714]: DEBUG oslo_middleware.cors [-] Request header
'x-auth-token' not in permitted list: ['ACCEPT', 'ACCEPT-LANGUAGE',
'CONTENT-TYPE', 'CACHE-CONTROL', 'CONTENT-LANGUAGE', 'EXPIRES',
'LAST-MODIFIED', 'PRAGMA'] {{(pid=11715) _apply_cors_preflight_headers
/usr/local/lib/python3.6/dist-packages/oslo_middleware/cors.py:329}}
It looks like cors config defaults are not picked up when Glance is run
as WSGI app, e.g. behind uWSGI (as devstack does).
So far verified on master (Ussuri).
** Affects: glance
Importance: Undecided
Status: In Progress
** Tags: cors uwsgi wsgi
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1861334
Title:
cors config defaults not used when Glance is run as WSGI app
Status in Glance:
In Progress
Bug description:
Glance logs these:
Jan 25 10:44:52.170319 ubuntu-bionic-rax-ord-0014151033
[email protected][11714]: DEBUG oslo_middleware.cors [-] Request header
'x-auth-token' not in permitted list: ['ACCEPT', 'ACCEPT-LANGUAGE',
'CONTENT-TYPE', 'CACHE-CONTROL', 'CONTENT-LANGUAGE', 'EXPIRES',
'LAST-MODIFIED', 'PRAGMA'] {{(pid=11715) _apply_cors_preflight_headers
/usr/local/lib/python3.6/dist-packages/oslo_middleware/cors.py:329}}
It looks like cors config defaults are not picked up when Glance is
run as WSGI app, e.g. behind uWSGI (as devstack does).
So far verified on master (Ussuri).
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1861334/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp