Merge "Update nova driver default API version to 2.26"

This commit is contained in:
Zuul 2018-06-05 06:27:13 +00:00 committed by Gerrit Code Review
commit 8dbe637913
2 changed files with 7 additions and 1 deletions

View File

@ -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'},

View File

@ -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``