diff --git a/congress/datasources/nova_driver.py b/congress/datasources/nova_driver.py index 7ef3df899..644bfda79 100644 --- a/congress/datasources/nova_driver.py +++ b/congress/datasources/nova_driver.py @@ -181,7 +181,7 @@ class NovaDriver(datasource_driver.PollingDataSourceDriver, self.creds = args session = ds_utils.get_keystone_session(self.creds) self.nova_client = novaclient.client.Client( - version=self.creds.get('api_version', '2'), session=session) + version=self.creds.get('api_version', '2.26'), session=session) self.add_executable_method('servers_set_meta', [{'name': 'server', 'description': 'server id'}, diff --git a/releasenotes/notes/nova-2.26-api-default-5f0923890b2140fb.yaml b/releasenotes/notes/nova-2.26-api-default-5f0923890b2140fb.yaml new file mode 100644 index 000000000..f62d3b8d9 --- /dev/null +++ b/releasenotes/notes/nova-2.26-api-default-5f0923890b2140fb.yaml @@ -0,0 +1,6 @@ +--- +prelude: > +upgrade: + - Default API microversion used by Nova driver changed from 2 to 2.26 to + enable Nova tags. If version 2 is desired, please specify it explicitly + in data source configuration. For example, ``openstack congress datasource create --config api_version=2 --config username=admin --config tenant_name=admin --config auth_url=http://127.0.0.1/identity --config password=password nova nova``