Enable permanently CORS in OVH Object Storage (OpenStack swift)
Asked Answered
Z

1

6

I can enable CORS in OVH Object Storage (that uses OpenStack Swift) using this command

curl -i -XPUT -H "X-Auth-Token: xxxxxxxxxxx" -H "X-Container-Meta-Access-Control-Allow-Origin: *" https://storage.sbg1.cloud.ovh.net/v1/AUTH_yyyyyyy/repository

and everything works well. But after a period of time (that is completely random) this option is reset. Do you know why and how to solve that?

Zilpah answered 21/10, 2016 at 17:31 Comment(2)
I am keen to know the answer too. Have you find out? Related docs: docs.openstack.org/developer/swift/cors.htmlRossner
I have not used Object Storage yet, but I wish to use it with CORS. I find same report in forum.ovh.com/showthread.php/105599 which was written in 2 years ago. Could you make a post to ovh official forum community.ovh.com ?Bacciform
D
3

I discovered the answer to this issue. When you visit your OVH control panel and enter the cloud containers section, their CP resets the CORS. As long as you don't log into and visit this area, your CORS should remain as you have set it.

Dragonhead answered 7/9, 2017 at 9:0 Comment(1)
That's a silly issue! How can I continue using my ovh control panel then? Any suggestions?Tomi

© 2022 - 2024 — McMap. All rights reserved.