Do not forcibly enable Glance multiple locations for RBD backend
Use of show_multiple_locations in Glance should have been enabled for the RBD backend only up to Mitaka. Change-Id: I143d908bf1a5e55fff9a1c6833a978455eb15898 Closes-Bug: 1840138 (cherry picked from commite8de3ae13d
) (cherry picked from commit1058955adc
)
This commit is contained in:
parent
022baa43f6
commit
d632cc3c4d
|
@ -224,18 +224,6 @@ conditions:
|
||||||
glance_workers_unset: {equals : [{get_param: GlanceWorkers}, '']}
|
glance_workers_unset: {equals : [{get_param: GlanceWorkers}, '']}
|
||||||
service_debug_unset: {equals : [{get_param: GlanceDebug}, '']}
|
service_debug_unset: {equals : [{get_param: GlanceDebug}, '']}
|
||||||
cinder_backend_enabled: {equals: [{get_param: GlanceBackend}, cinder]}
|
cinder_backend_enabled: {equals: [{get_param: GlanceBackend}, cinder]}
|
||||||
glance_multiple_locations:
|
|
||||||
or:
|
|
||||||
- {equals : [{get_param: GlanceShowMultipleLocations}, true]}
|
|
||||||
- and:
|
|
||||||
# Keep this for compat, but ignore NovaEnableRbdBackend if it's a role param
|
|
||||||
- equals:
|
|
||||||
- get_param: GlanceBackend
|
|
||||||
- rbd
|
|
||||||
- equals:
|
|
||||||
- get_param: NovaEnableRbdBackend
|
|
||||||
- true
|
|
||||||
|
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
|
||||||
|
@ -292,7 +280,7 @@ outputs:
|
||||||
glance::keystone::authtoken::project_domain_name: 'Default'
|
glance::keystone::authtoken::project_domain_name: 'Default'
|
||||||
glance::api::pipeline: 'keystone'
|
glance::api::pipeline: 'keystone'
|
||||||
glance::api::show_image_direct_url: true
|
glance::api::show_image_direct_url: true
|
||||||
glance::api::show_multiple_locations: {if: [glance_multiple_locations, true, false]}
|
glance::api::show_multiple_locations: {get_param: GlanceShowMultipleLocations}
|
||||||
glance::api::os_region_name: {get_param: KeystoneRegion}
|
glance::api::os_region_name: {get_param: KeystoneRegion}
|
||||||
glance::api::image_member_quota: {get_param: GlanceImageMemberQuota}
|
glance::api::image_member_quota: {get_param: GlanceImageMemberQuota}
|
||||||
glance::api::enabled_import_methods: {get_param: GlanceEnabledImportMethods}
|
glance::api::enabled_import_methods: {get_param: GlanceEnabledImportMethods}
|
||||||
|
|
Loading…
Reference in New Issue