Zun

OpenStack-API-Version failed

Bug #1808440 reported by Yulong Song
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zun
Invalid
Undecided
Unassigned

Bug Description

even with
[cors]
allowed_origin = *

Access to XMLHttpRequest at 'https://abc:9517/v1/containers' from origin 'http://localhost:5000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
angular.js:14800 Possibly unhandled rejection: {"data":null,"status":-1,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","headers":{"X-OpenStack-Container-API-Version":"1.18","Accept":"application/json, text/plain, */*","X-Auth-Token":"12345"},

as long as I add the headers with X-OpenStack-Container-API-Version it fails

Revision history for this message
hongbin (hongbin034) wrote :

Hi @Yulong Song,

Thanks for reporting. Would you provide more detailed information about this error. For example,

* Which version of Zun server you were using?
* How did you send request to server?

If this bug is reproducible, it would be helpful to provide us the exact steps to reproduce this error. I will revisit this bug after receiving more information.

Revision history for this message
hongbin (hongbin034) wrote :

I am going to close this bug due to no activity within 90 days.

Changed in zun:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.