From 4b644d2b96c7200bda55f7655eeecef242a9ccb5 Mon Sep 17 00:00:00 2001 From: jiansong Date: Tue, 7 Feb 2017 22:09:14 -0800 Subject: [PATCH] Use os_cache instead no_cache The 'no_cache' argument is deprecated in Ocata and its use may result in errors in future releases. Use 'os_cache' instead. reference:https://github.com/openstack/python-novaclient/commit/73196fd3c1b938386cc162969a03a9bf1286b03d Change-Id: I64d75cab13429ab78c29a2add68ebfc97cc77958 --- trove/tests/util/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trove/tests/util/__init__.py b/trove/tests/util/__init__.py index 9dae527128..f0b8fc265d 100644 --- a/trove/tests/util/__init__.py +++ b/trove/tests/util/__init__.py @@ -171,7 +171,7 @@ def create_nova_client(user, service_type=None): user.auth_key, project_name=user.tenant, auth_url=test_config.nova_client['auth_url'], - service_type=service_type, no_cache=True, + service_type=service_type, os_cache=False, cacert=test_config.values.get('cacert', None)) openstack.authenticate() return TestClient(openstack)