diff --git a/manifests/init.pp b/manifests/init.pp index 5cc058e2..11c87bf8 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -33,7 +33,7 @@ # [*image_name_alt*] # Defaults to undef # [*glance_v1*] -# Defaults to true +# Defaults to false # [*glance_v2*] # Defaults to true # [*configure_networks*] @@ -243,7 +243,7 @@ class tempest( $configure_images = true, $image_name = undef, $image_name_alt = undef, - $glance_v1 = true, + $glance_v1 = false, $glance_v2 = true, # Neutron network config diff --git a/releasenotes/notes/disable-glance-api-v1-010c242db47cfabb.yaml b/releasenotes/notes/disable-glance-api-v1-010c242db47cfabb.yaml new file mode 100644 index 00000000..dd7b6e15 --- /dev/null +++ b/releasenotes/notes/disable-glance-api-v1-010c242db47cfabb.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + The ``[image-feature-enabled] api_v1`` parameter is now set to ``False`` by + default. diff --git a/spec/classes/tempest_init_spec.rb b/spec/classes/tempest_init_spec.rb index 1b40f24f..64401cf9 100644 --- a/spec/classes/tempest_init_spec.rb +++ b/spec/classes/tempest_init_spec.rb @@ -235,7 +235,7 @@ describe 'tempest' do is_expected.to contain_tempest_config('identity/disable_ssl_certificate_validation').with(:value => nil) is_expected.to contain_tempest_config('identity-feature-enabled/api_v2').with(:value => false) is_expected.to contain_tempest_config('identity-feature-enabled/api_v3').with(:value => true) - is_expected.to contain_tempest_config('image-feature-enabled/api_v1').with(:value => true) + is_expected.to contain_tempest_config('image-feature-enabled/api_v1').with(:value => false) is_expected.to contain_tempest_config('image-feature-enabled/api_v2').with(:value => true) is_expected.to contain_tempest_config('l2gw/l2gw_switch').with(:value => nil) is_expected.to contain_tempest_config('network-feature-enabled/api_extensions').with(:value => nil)