From 6f85507d3a600441b45430d64f3374891394a0af Mon Sep 17 00:00:00 2001 From: yatinkarel Date: Mon, 27 May 2019 17:25:30 +0530 Subject: [PATCH] Change [nova_client]/api_version default to service_default With [1] current default '2' for [nova_client]/api_version no longer works, it needs version to be in format X.Y, let's use watcher service default which is 2.56 currently. [1] https://review.opendev.org/#/c/659194/ Change-Id: Ieea49092c5f323686844161361a6e5e24e4971f6 --- manifests/init.pp | 4 ++-- .../change_nova_api_version_default-f372441622a9ebd2.yaml | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 releasenotes/notes/change_nova_api_version_default-f372441622a9ebd2.yaml diff --git a/manifests/init.pp b/manifests/init.pp index 3f6919d..b74ec0b 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -26,7 +26,7 @@ # # [*nova_client_api_version*] # (required) Version of Nova API to use in novaclient. -# Default is 2. +# Default is $::os_service_default # # [*package_ensure*] # (optional) Whether the watcher api package will be installed @@ -304,7 +304,7 @@ class watcher ( $cinder_client_api_version = '2', $glance_client_api_version = '2', $neutron_client_api_version = '2', - $nova_client_api_version = '2', + $nova_client_api_version = $::os_service_default, $package_ensure = 'present', $rabbit_login_method = $::os_service_default, $rabbit_retry_interval = $::os_service_default, diff --git a/releasenotes/notes/change_nova_api_version_default-f372441622a9ebd2.yaml b/releasenotes/notes/change_nova_api_version_default-f372441622a9ebd2.yaml new file mode 100644 index 0000000..582aab9 --- /dev/null +++ b/releasenotes/notes/change_nova_api_version_default-f372441622a9ebd2.yaml @@ -0,0 +1,6 @@ +--- +other: + - | + Integer based api_version is no longer supported since + https://review.opendev.org/#/c/659194/. It's good to rely + on watcher service default to configure [nova_client]/api_version.