CORS middleware's latent configuration options need to change
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Aodh |
Fix Released
|
Undecided
|
Michael | ||
Barbican |
Fix Released
|
Undecided
|
Tin Lam | ||
Ceilometer |
Fix Released
|
Undecided
|
Michael | ||
Cinder |
Undecided
|
Michael | |||
Cue |
Undecided
|
Michael | |||
Designate |
Undecided
|
Michael | |||
Glance |
Undecided
|
Rongze Zhu | |||
Ironic |
Fix Released
|
Undecided
|
Junyuan Leng | ||
Magnum |
Fix Released
|
Undecided
|
Michael | ||
Mistral |
Undecided
|
Michael | |||
Murano |
Undecided
|
Tin Lam | |||
OpenStack Compute (nova) |
High
|
Michael | |||
OpenStack DBaaS (Trove) |
Fix Released
|
Undecided
|
Michael | ||
OpenStack Heat |
Fix Released
|
Undecided
|
Michael | ||
OpenStack Identity (keystone) |
High
|
Michael | |||
OpenStack Searchlight |
Fix Released
|
Medium
|
Michael | ||
OpenStack Shared File Systems Service (Manila) |
Undecided
|
Tin Lam | |||
Sahara |
Fix Released
|
Medium
|
Michael | ||
Solum |
Undecided
|
Michael | |||
cloudkitty |
Fix Released
|
Undecided
|
Michael | ||
congress |
Undecided
|
Tin Lam | |||
neutron |
High
|
Michael | |||
oslo.config |
Undecided
|
Michael |
Bug Description
It was pointed out in http://
A) All generated configuration files should contain any headers which the API needs to operate. This is currently supported in oslo.config's generate-config script, as of 3.7.0
B) These same configuration headers should be set as defaults for the given API, using cfg.set_defaults. This permits an operator to simply activate a domain, and not have to worry about tweaking additional settings.
C) All hardcoded headers should be detached from the CORS middleware.
D) Configuration and activation of CORS should be consistent across all projects.
It was also agreed that this is a blocking bug for mitaka. A reference patch has already been approved for keystone, available here: https:/
Michael (krotscheck) wrote : | #1 |
Changed in keystone: | |
assignee: | nobody → Michael (krotscheck) |
status: | New → Fix Committed |
Michael (krotscheck) wrote : | #2 |
The long-term implications of not updating this patch are that of maintenance. Using latent options is dangerous, because if they go away, and the configuration file does not update (as frequently happens in rolling updates), then suddenly CORS will break. Teams that do not assist in landing this in mitaka will have to carry the burden of maintaining this forward.
Michael (krotscheck) wrote : | #3 |
Oslo.config release 3.7.0 is now in global requirements.
Changed in oslo.config: | |
assignee: | nobody → Michael (krotscheck) |
status: | New → Fix Released |
Changed in murano: | |
assignee: | nobody → Tin Lam (tl3438) |
Changed in keystone: | |
importance: | Undecided → High |
milestone: | none → mitaka-3 |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → Michael (krotscheck) |
status: | Confirmed → In Progress |
Fix proposed to branch: master
Review: https:/
Changed in ceilometer: | |
assignee: | nobody → Michael (krotscheck) |
status: | New → In Progress |
Changed in cinder: | |
assignee: | nobody → Bharath kumar (bharath-kumar3) |
Changed in murano: | |
assignee: | Tin Lam (tl3438) → nobody |
Changed in cinder: | |
assignee: | Bharath kumar (bharath-kumar3) → nobody |
Fix proposed to branch: master
Review: https:/
Changed in cinder: | |
assignee: | nobody → Michael (krotscheck) |
status: | New → In Progress |
Fix proposed to branch: master
Review: https:/
Changed in neutron: | |
assignee: | nobody → Michael (krotscheck) |
status: | New → In Progress |
Changed in neutron: | |
importance: | Undecided → High |
Changed in magnum: | |
assignee: | nobody → Aaron DH (aaron.d) |
Changed in searchlight: | |
importance: | Undecided → Medium |
milestone: | none → mitaka-3 |
status: | New → Fix Committed |
Changed in glance: | |
assignee: | nobody → Rongze Zhu (zrzhit) |
Changed in murano: | |
assignee: | nobody → Rongze Zhu (zrzhit) |
Changed in searchlight: | |
status: | Fix Committed → New |
Fix proposed to branch: master
Review: https:/
Changed in glance: | |
status: | New → In Progress |
Changed in murano: | |
assignee: | Rongze Zhu (zrzhit) → nobody |
Changed in searchlight: | |
assignee: | nobody → Michael (krotscheck) |
status: | New → In Progress |
Changed in sahara: | |
assignee: | nobody → Michael (krotscheck) |
Changed in murano: | |
assignee: | nobody → Rongze Zhu (zrzhit) |
Fix proposed to branch: master
Review: https:/
Changed in sahara: | |
status: | New → In Progress |
Changed in ironic: | |
assignee: | nobody → Junyuan Leng (junyuan-leng) |
status: | New → In Progress |
Changed in barbican: | |
assignee: | nobody → Tin Lam (tl3438) |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 61e581c7d852a42
Author: Michael Krotscheck <email address hidden>
Date: Tue Mar 1 10:49:32 2016 -0800
Added Keystone and RequestID headers to CORS middleware
This patch makes use of oslo.config's genconfig hooks to add
nova-specific default config values to the generated configuration.
It also adds this same method to nova's configuration parsing logic,
to ensure that these default values are also the ones used at runtime.
Closes-bug: 1551836
Change-Id: Ic799aea89f681e
Changed in nova: | |
status: | In Progress → Fix Released |
Fix proposed to branch: master
Review: https:/
Changed in barbican: | |
status: | New → In Progress |
Changed in murano: | |
assignee: | Rongze Zhu (zrzhit) → nobody |
Changed in cloudkitty: | |
assignee: | nobody → Aaron DH (aaron.d) |
Fix proposed to branch: master
Review: https:/
Changed in murano: | |
assignee: | nobody → Tin Lam (tl3438) |
status: | New → In Progress |
Fix proposed to branch: master
Review: https:/
Changed in manila: | |
assignee: | nobody → Tin Lam (tl3438) |
status: | New → In Progress |
Changed in heat: | |
assignee: | nobody → Deliang Fan (vanderliang) |
Changed in congress: | |
assignee: | nobody → Tin Lam (tl3438) |
Changed in sahara: | |
milestone: | none → mitaka-3 |
importance: | Undecided → Medium |
Fix proposed to branch: master
Review: https:/
Changed in aodh: | |
assignee: | nobody → Michael (krotscheck) |
status: | New → In Progress |
Changed in cue: | |
assignee: | nobody → Michael (krotscheck) |
status: | New → In Progress |
Changed in congress: | |
status: | New → In Progress |
Changed in sahara: | |
milestone: | mitaka-3 → mitaka-rc1 |
Fix proposed to branch: master
Review: https:/
Changed in designate: | |
assignee: | nobody → Michael (krotscheck) |
status: | New → In Progress |
Changed in mistral: | |
assignee: | nobody → Michael (krotscheck) |
status: | New → In Progress |
Changed in solum: | |
assignee: | nobody → Michael (krotscheck) |
status: | New → In Progress |
Fix proposed to branch: master
Review: https:/
Changed in trove: | |
assignee: | nobody → Michael (krotscheck) |
status: | New → In Progress |
Fix proposed to branch: master
Review: https:/
Changed in magnum: | |
assignee: | Aaron DH (aaron.d) → Michael (krotscheck) |
status: | New → In Progress |
Fix proposed to branch: master
Review: https:/
Changed in heat: | |
assignee: | Deliang Fan (vanderliang) → Michael (krotscheck) |
status: | New → In Progress |
Michael (krotscheck) wrote : | #18 |
Changed in cloudkitty: | |
assignee: | Aaron DH (aaron.d) → Michael (krotscheck) |
status: | New → In Progress |
Changed in ironic: | |
status: | In Progress → Fix Released |
Changed in murano: | |
assignee: | Tin Lam (tl3438) → Junyuan Leng (junyuan-leng) |
Changed in searchlight: | |
milestone: | mitaka-3 → mitaka-rc1 |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit dbfdf9f5db2c216
Author: Michael Krotscheck <email address hidden>
Date: Fri Mar 4 07:29:05 2016 -0800
Moved CORS middleware configuration into oslo-config-
The default values needed for solum's implementation of cors
middleware have been moved from paste.ini into the configuration
hooks provided by oslo.config. Furthermore, these values have been
added to the default configuration parsing. This ensures
that if a value remains unset in solum.conf, it will be set
to use sane defaults, and that an operator modifying the
configuration file will be presented with a default set of
necessary sane headers.
Change-Id: I6f30224ac1b11f
Closes-Bug: 1551836
Changed in solum: | |
status: | In Progress → Fix Released |
Changed in murano: | |
assignee: | Junyuan Leng (junyuan-leng) → Tin Lam (tl3438) |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 8b4b3abdaf8d939
Author: Michael Krotscheck <email address hidden>
Date: Wed Mar 2 10:26:32 2016 -0800
Moved CORS middleware configuration into oslo-config-
The default values needed for sahara's implementation of cors
middleware have been moved from paste.ini into the configuration
hooks provided by oslo.config. Furthermore, these values have been
added to the default initialization procedure. This ensures
that if a value remains unset in the configuration file, it will
fallback to using sane defaults. It also ensures that an operator
modifying the configuration will be presented with that same
set of defaults.
Change-Id: Iedcaa002ff3d40
Closes-Bug: 1551836
Changed in sahara: | |
status: | In Progress → Fix Released |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 7e638e07edfc33d
Author: Michael Krotscheck <email address hidden>
Date: Thu Mar 3 10:29:20 2016 -0800
Moved CORS middleware configuration into oslo-config-
The default values needed for aodh's implementation of cors
middleware have been moved from paste.ini into the configuration
hooks provided by oslo.config. Furthermore, these values have been
added to aodh's default configuration parsing. This ensures
that if a value remains unset in aodh.conf, it will be set
to use sane defaults, and that an operator modifying the
configuration file will be presented with a default set of
necessary sane headers.
Change-Id: Iccdbbfcc300f4a
Closes-Bug: 1551836
Changed in aodh: | |
status: | In Progress → Fix Released |
Changed in manila: | |
milestone: | none → mitaka-rc1 |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 309345268bcc115
Author: Michael Krotscheck <email address hidden>
Date: Tue Mar 1 11:09:46 2016 -0800
Moved CORS middleware configuration into oslo-config-
The default values needed for ceilometer's implementation of cors
middleware have been moved from paste.ini into the configuration
hooks provided by oslo.config. Furthermore, these values have been
added to ceilometer's default configuration parsing. This ensures
that if a value remains unset in ceilometer.conf, it will be set
to use sane defaults, and that an operator modifying the
configuration file will be presented with a default set of
necessary sane headers.
Closes-Bug: 1551836
Change-Id: Iaab90bfa1811bf
Changed in ceilometer: | |
status: | In Progress → Fix Released |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 151d8cfe3091943
Author: Tin Lam <email address hidden>
Date: Wed Mar 2 19:30:10 2016 -0600
Moved CORS middleware configuration into oslo-config-
The default values needed for murano's implementation of cors
middleware have been moved from paste.ini into the configuration
hooks provided by oslo.config. Furthermore, these values have been
added to the default initialization procedure. This ensures
that if a value remains unset in the configuration file, it will
fallback to using sane defaults. It also ensures that an operator
modifying the configuration will be presented with that same
set of defaults.
Change-Id: I50a204e27a4399
Closes-Bug: #1551836
Changed in murano: | |
status: | In Progress → Fix Released |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 7a93458baa99f6b
Author: Michael Krotscheck <email address hidden>
Date: Wed Mar 2 07:48:05 2016 -0800
Moved CORS middleware configuration into oslo-config-
The default values needed for glance's implementation of cors
middleware have been moved from paste.ini into the configuration
hooks provided by oslo.config. Furthermore, these values have been
added to glance's default configuration parsing. This ensures
that if a value remains unset in glance-api.conf, it will be set to use
sane defaults, and that an operator modifying the configuration
file will be presented with a default set of necessary sane headers.
Change-Id: I3c9d267b6224d6
Closes-Bug: 1551836
Changed in glance: | |
status: | In Progress → Fix Released |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 75d85aab3c7e1c2
Author: Tin Lam <email address hidden>
Date: Wed Mar 2 21:19:24 2016 -0600
Moved CORS middleware configuration into oslo-config-
The default values needed for manila's implementation of cors
middleware have been moved from paste.ini into the configuration
hooks provided by oslo.config. Furthermore, these values have been
added to the default initialization procedure. This ensures
that if a value remains unset in the configuration file, it will
fallback to using sane defaults. It also ensures that an operator
modifying the configuration will be presented with that same
set of defaults.
Change-Id: Ie4adc39866a4ee
Closes-Bug: #1551836
Changed in manila: | |
status: | In Progress → Fix Released |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 8c4ec967bc0e2aa
Author: Michael Krotscheck <email address hidden>
Date: Wed Mar 2 09:57:08 2016 -0800
Moved CORS middleware configuration into oslo-config-
The default values needed for searchlight's implementation of cors
middleware have been moved from paste.ini into the configuration
hooks provided by oslo.config. Furthermore, these values have been
added to the default initialization procedure. This ensures
that if a value remains unset in the configuration file, it will
fallback to using sane defaults. It also ensures that an operator
modifying the configuration will be presented with that same
set of defaults.
Change-Id: Iada9cedcdc5b10
Closes-Bug: 1551836
Changed in searchlight: | |
status: | In Progress → Fix Released |
Change abandoned by Rongze Zhu (<email address hidden>) on branch: master
Review: https:/
Changed in neutron: | |
milestone: | none → mitaka-rc1 |
tags: | added: api |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 771f5a205f08da1
Author: Michael Krotscheck <email address hidden>
Date: Fri Mar 4 06:34:15 2016 -0800
Moved CORS middleware configuration into set_defaults
The default values needed for designate's implementation of cors
middleware have been moved from paste.ini into a common
set_defaults method, invoked on load. Unlike similar patches
on other services, this patch does not include config-generation
hooks, as designate does not use it.
Change-Id: I6661f67bbdc36e
Closes-Bug: 1551836
Changed in designate: | |
status: | In Progress → Fix Released |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit aae181817e5f463
Author: Michael Krotscheck <email address hidden>
Date: Tue Mar 1 12:21:33 2016 -0800
Moved CORS middleware configuration into oslo-config-
The default values needed for neutron's implementation of cors
middleware have been moved from paste.ini into the configuration
hooks provided by oslo.config. Furthermore, these values have been
added to neutron's default configuration parsing. This ensures
that if a value remains unset in neutron.conf, it will be set to use
sane defaults, and that an operator modifying the configuration
file will be presented with a default set of necessary sane headers.
Change-Id: I327d1d7ce50dd4
Closes-Bug: 1551836
Changed in neutron: | |
status: | In Progress → Fix Released |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit abba4921845cbdb
Author: Michael Krotscheck <email address hidden>
Date: Tue Mar 1 11:31:40 2016 -0800
Moved CORS middleware configuration into oslo-config-
The default values needed for cinder's implementation of cors
middleware have been moved from paste.ini into the configuration
hooks provided by oslo.config. Furthermore, these values have been
added to cinder's default configuration parsing. This ensures
that if a value remains unset in cinder.conf, it will be set
to use sane defaults, and that an operator modifying the
configuration file will be presented with a default set of
necessary sane headers.
Depends-on: I658e54966c390b
Change-Id: Ia8735d5952d7e0
Closes-Bug: 1551836
Changed in cinder: | |
status: | In Progress → Fix Released |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit a5883fd3afc2046
Author: Michael Krotscheck <email address hidden>
Date: Fri Mar 4 08:11:28 2016 -0800
Moved CORS middleware configuration into oslo-config-
The default values needed for magnum's implementation of cors
middleware have been moved from paste.ini into the configuration
hooks provided by oslo.config. Furthermore, these values have been
added to the default initialization procedure. This ensures
that if a value remains unset in the configuration file, it will
fallback to using sane defaults. It also ensures that an operator
modifying the configuration will be presented with that same
set of defaults.
Change-Id: I7d8f8708d53bba
Closes-Bug: 1551836
Changed in magnum: | |
status: | In Progress → Fix Released |
Changed in trove: | |
milestone: | none → mitaka-rc1 |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 54296b15192daf0
Author: Michael Krotscheck <email address hidden>
Date: Fri Mar 4 06:49:21 2016 -0800
Moved CORS middleware configuration into oslo-config-
The default values needed for mistral's implementation of cors
middleware have been moved from paste.ini into the configuration
hooks provided by oslo.config. Furthermore, these values have been
added to the default configuration parsing. This ensures
that if a value remains unset in mistral.conf, it will be set
to use sane defaults, and that an operator modifying the
configuration file will be presented with a default set of
necessary sane headers.
Change-Id: I1174fa44f316be
Closes-Bug: 1551836
Changed in mistral: | |
status: | In Progress → Fix Released |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 034d09ec55c219c
Author: Tin Lam <email address hidden>
Date: Wed Mar 2 18:07:41 2016 -0600
Moved CORS middleware configuration into set_defaults
The default values needed for barbican's implementation of cors
middleware have been moved from paste.ini into a common
set_
Change-Id: I5722bfc3153493
Closes-Bug: #1551836
Changed in barbican: | |
status: | In Progress → Fix Released |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit c596b89c489c117
Author: Tin Lam <email address hidden>
Date: Wed Mar 2 22:19:31 2016 -0600
Moved CORS middleware configuration into oslo-config-
The default values needed for congress's implementation of cors
middleware have been moved from paste.ini into the configuration
hooks provided by oslo.config. Furthermore, these values have been
added to the default initialization procedure. This ensures
that if a value remains unset in the configuration file, it will
fallback to using sane defaults. It also ensures that an operator
modifying the configuration will be presented with that same
set of defaults.
Change-Id: I2edc24e4d47c4d
Closes-Bug: #1551836
Changed in congress: | |
status: | In Progress → Fix Released |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 552f1f2070953ed
Author: Michael Krotscheck <email address hidden>
Date: Fri Mar 4 07:43:58 2016 -0800
Moved CORS middleware configuration into set_defaults
The default values needed for trove's implementation of cors
middleware have been moved from paste.ini into a common
set_defaults method, invoked on load. Unlike similar patches
on other services, this patch does not include config-generation
hooks, as trove doesn't use them yet.
Change-Id: Id8e04249498f63
Closes-Bug: 1551836
Changed in trove: | |
status: | In Progress → Fix Released |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 59ccb2f7515be43
Author: Michael Krotscheck <email address hidden>
Date: Fri Mar 4 09:20:45 2016 -0800
Moved CORS middleware configuration into oslo-config-
The default values needed for heat's implementation of cors
middleware have been moved from paste.ini into the configuration
hooks provided by oslo.config. Furthermore, these values have been
added to the default configuration parsing. This ensures
that if a value remains unset in heat.conf, it will be set
to use sane defaults, and that an operator modifying the
configuration file will be presented with a default set of
necessary sane headers.
Change-Id: Ie3791007b33788
Closes-Bug: 1551836
Changed in heat: | |
status: | In Progress → Fix Released |
This issue was fixed in the openstack/glance 12.0.0.0rc1 release candidate.
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit 98bd25c5849cc6f
Author: Michael Krotscheck <email address hidden>
Date: Thu Mar 3 11:23:21 2016 -0800
Moved CORS middleware configuration into oslo-config-
The default values needed for cue's implementation of cors
middleware have been moved from paste.ini into the configuration
hooks provided by oslo.config. Furthermore, these values have been
added to the default initialization procedure. This ensures
that if a value remains unset in the configuration file, it will
fallback to using sane defaults. It also ensures that an operator
modifying the configuration will be presented with that same
set of defaults.
Change-Id: Ia179bbd7489ca1
Closes-Bug: 1551836
Changed in cue: | |
status: | In Progress → Fix Released |
This issue was fixed in the openstack/heat 6.0.0.0rc1 release candidate.
This issue was fixed in the openstack/neutron 8.0.0.0rc1 release candidate.
This issue was fixed in the openstack/cinder 8.0.0.0rc1 release candidate.
This issue was fixed in the openstack/mistral 2.0.0.0rc1 release candidate.
This issue was fixed in the openstack/sahara 4.0.0.0rc1 release candidate.
This issue was fixed in the openstack/trove 5.0.0.0rc1 release candidate.
This issue was fixed in the openstack/designate 2.0.0.0rc1 release candidate.
This issue was fixed in the openstack/
This issue was fixed in the openstack/aodh 2.0.0.0rc1 release candidate.
This issue was fixed in the openstack/manila 2.0.0.0rc1 release candidate.
Changed in aodh: | |
milestone: | none → mitaka-rc1 |
This issue was fixed in the openstack/congress 3.0.0.0rc1 release candidate.
This issue was fixed in the openstack/barbican 2.0.0.0rc1 release candidate.
This issue was fixed in the openstack/
This issue was fixed in the openstack/solum 4.1.1 release.
Changed in cloudkitty: | |
milestone: | none → 0.5.0b1 |
status: | In Progress → Fix Committed |
Changed in cloudkitty: | |
status: | Fix Committed → Fix Released |
This issue was fixed in the openstack/magnum 2.0.0 release.
This issue was fixed in the openstack/manila 2.0.0 release.
This issue was fixed in the openstack/solum 4.1.1 release.
Note: Ironic does not use oslo's config generator.