diff --git a/ec2api/clients.py b/ec2api/clients.py index 6703dea9..b21b25a4 100644 --- a/ec2api/clients.py +++ b/ec2api/clients.py @@ -91,7 +91,10 @@ LEGACY_NOVA_API_VERSION = '2' # properties # Nova API's 2.10 microversion provides admin access to users keypairs, # which allows metadata service to expose openssh part of an instance key -REQUIRED_NOVA_API_MICROVERSION = '2.10' +# Nova API's 2.32 microversion allows 'tag' field of bdm v2, which may be +# contained in image bdms, defined by users or autocreated with instance +# snapshot +REQUIRED_NOVA_API_MICROVERSION = '2.32' _nova_api_version = None diff --git a/ec2api/tests/unit/test_clients.py b/ec2api/tests/unit/test_clients.py index 06371719..1ba92dff 100644 --- a/ec2api/tests/unit/test_clients.py +++ b/ec2api/tests/unit/test_clients.py @@ -54,7 +54,7 @@ class ClientsTestCase(base.BaseTestCase): links=[{'href': 'http://host:port/path/v2/'}]) v2_1 = mock.NonCallableMock() v2_1.configure_mock(id='v2.1', - version='2.11', + version='2.40', links=[{'href': 'http://host:port/path/v2.1/'}]) # test normal flow