grizzly: swift CORS support

Bug #1107326 reported by Tom Fifield
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-api-site
Fix Released
Medium
Anne Gentle
openstack-manuals
Fix Released
Medium
Tom Fifield

Bug Description

From Grizzly, swift supports CORS. There are various patches which have been merged, including the below listed. The manuals should be updated to reflect the new features, configuration options and examples.

https://review.openstack.org/#/c/19730

Documentation written by the swift team can be found in doc/source/cors.rst

Tom Fifield (fifieldt)
Changed in openstack-manuals:
milestone: none → grizzly
status: New → Confirmed
tags: added: swift
Tom Fifield (fifieldt)
Changed in openstack-manuals:
importance: Undecided → Medium
Tom Fifield (fifieldt)
Changed in openstack-manuals:
milestone: grizzly → havana
Tom Fifield (fifieldt)
Changed in openstack-api-site:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → havana
tags: added: object-api
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-manuals (master)

Fix proposed to branch: master
Review: https://review.openstack.org/65891

Changed in openstack-manuals:
assignee: nobody → Tom Fifield (fifieldt)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-manuals (master)

Reviewed: https://review.openstack.org/65891
Committed: https://git.openstack.org/cgit/openstack/openstack-manuals/commit/?id=96446a89580f05a64a75a03d08cfb8123828209a
Submitter: Jenkins
Branch: master

commit 96446a89580f05a64a75a03d08cfb8123828209a
Author: Tom Fifield <email address hidden>
Date: Fri Jan 10 16:30:35 2014 +0800

    Add CORS mention to object storage sec of confref

    CORS was a feature added in Grizzly. This simple patch adds a new
    section to the config reference, detailing what it is and the single
    configuration option so far.

    Change-Id: Ied2d5615e7b666370bc6d0dff136d305ba8cee62
    Closes-Bug: 1107326

Changed in openstack-manuals:
status: In Progress → Fix Released
Tom Fifield (fifieldt)
Changed in openstack-api-site:
milestone: havana → none
tags: added: grizzly
Revision history for this message
Anshu Prateek (anshu-prateek) wrote :

Does this bug need still need any more work on the api-site component?

Revision history for this message
Anne Gentle (annegentle) wrote :

Yes, these headers need to be added:

Metadata Use
X-Container-Meta-Access-Control-Allow-Origin Origins to be allowed to make Cross Origin Requests, space separated.
X-Container-Meta-Access-Control-Max-Age Max age for the Origin to hold the preflight results.
X-Container-Meta-Access-Control-Expose-Headers Headers exposed to the user agent (e.g. browser) in the the actual request response. Space separated.

Changed in openstack-api-site:
assignee: nobody → Anne Gentle (annegentle)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to api-site (master)

Fix proposed to branch: master
Review: https://review.openstack.org/290641

Changed in openstack-api-site:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to api-site (master)

Reviewed: https://review.openstack.org/290641
Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=89828ddadb9c61a7daf88e71a1eb6aa2a04091ae
Submitter: Jenkins
Branch: master

commit 89828ddadb9c61a7daf88e71a1eb6aa2a04091ae
Author: Anne Gentle <email address hidden>
Date: Wed Mar 9 10:38:29 2016 -0600

    Adds CORS headers for Object Storage API /containers resource

    Change-Id: I35a68ba5d18b2c92c00365c4dac2856d351991c7
    Closes-bug: 1107326

Changed in openstack-api-site:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-manuals 15.0.0

This issue was fixed in the openstack/openstack-manuals 15.0.0 release.

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.