From 4a029373c6adee54df6b478e4bdb2619f668ba93 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Sat, 15 Jan 2022 23:07:02 +0900 Subject: [PATCH] Glance: Disable api v1 testing by default ... because v1 api was removed during Victoria cucle[1]. [1] 30680961994b36ed12713c0f106b661535ce41c6 Closes-Bug: #1958018 Change-Id: I556e2fc61978ba8304b78ca2a605edf1da108c97 --- manifests/init.pp | 4 ++-- .../notes/disable-glance-api-v1-010c242db47cfabb.yaml | 5 +++++ spec/classes/tempest_init_spec.rb | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 releasenotes/notes/disable-glance-api-v1-010c242db47cfabb.yaml 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)