Remove obsolete 'http' backend from glance configuration
Glance has a read-only 'http' backend that is obsolete now that tripleo supports glance multi-store (multiple backends). Glance's web-download import method no longer relies on the 'http' backend, so tripleo should no longer include 'http' in the list of enabled backends. Change-Id: I64ee3a3c8f0dabdeab16968c39ea00b8879f5405 (cherry picked from commita2a04ed488
) (cherry picked from commitb1b435e95d
)
This commit is contained in:
parent
2a2deaa726
commit
68291df8ac
|
@ -196,7 +196,7 @@ class tripleo::profile::base::glance::api (
|
||||||
"${backend_config[0]}:${backend_config[1]['GlanceBackend']}"
|
"${backend_config[0]}:${backend_config[1]['GlanceBackend']}"
|
||||||
}
|
}
|
||||||
|
|
||||||
$enabled_backends = ["${glance_backend_id}:${glance_backend}", 'http:http'] + $multistore_backends
|
$enabled_backends = ["${glance_backend_id}:${glance_backend}"] + $multistore_backends
|
||||||
|
|
||||||
include ::glance
|
include ::glance
|
||||||
include ::glance::config
|
include ::glance::config
|
||||||
|
|
|
@ -101,7 +101,7 @@ describe 'tripleo::profile::base::glance::api' do
|
||||||
is_expected.to contain_class('glance::config')
|
is_expected.to contain_class('glance::config')
|
||||||
is_expected.to contain_class('glance::api::logging')
|
is_expected.to contain_class('glance::api::logging')
|
||||||
is_expected.to contain_class('glance::api').with(
|
is_expected.to contain_class('glance::api').with(
|
||||||
:enabled_backends => ['default_backend:swift', 'http:http'],
|
:enabled_backends => ['default_backend:swift'],
|
||||||
:default_backend => 'default_backend',
|
:default_backend => 'default_backend',
|
||||||
)
|
)
|
||||||
is_expected.to_not contain_class('tripleo::profile::base::glance::backend::cinder')
|
is_expected.to_not contain_class('tripleo::profile::base::glance::backend::cinder')
|
||||||
|
@ -147,7 +147,6 @@ describe 'tripleo::profile::base::glance::api' do
|
||||||
is_expected.to contain_class('glance::api').with(
|
is_expected.to contain_class('glance::api').with(
|
||||||
:enabled_backends => [
|
:enabled_backends => [
|
||||||
'my_cinder:cinder',
|
'my_cinder:cinder',
|
||||||
'http:http',
|
|
||||||
'my_file:file',
|
'my_file:file',
|
||||||
'rbd1:rbd',
|
'rbd1:rbd',
|
||||||
'rbd2:rbd',
|
'rbd2:rbd',
|
||||||
|
|
Loading…
Reference in New Issue