CORS not enabled despite correct configuration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Medium
|
Takashi Kajinami |
Bug Description
I've submitted a patch here: https:/
Description
===========
The [cors] configuration section is completely ignored and CORS is left disabled.
Steps to reproduce
==================
* Set the [cors] section in the configuration file
* start the API service, and attempt to connect from an external frontend application
The config used is below and is what works on all other OpenStack services.
[cors]
allowed_origin = *
Expected result
===============
CORS is enabled and responds with the appropriate headers.
Actual result
=============
CORS is not enabled and external frontend applications fail to connect.
Environment
===========
kolla-ansible deployed 2023.2 and master.
Changed in manila: | |
status: | New → In Progress |
Changed in manila: | |
status: | In Progress → New |
Changed in manila: | |
milestone: | none → caracal-3 |
assignee: | nobody → Takashi Kajinami (kajinamit) |
importance: | Undecided → Medium |
status: | New → In Progress |
OK I thought this issue is very specific to standalone manila-api but in fact it also affects the wsgi app.