diff --git a/glance_store/_drivers/vmware_datastore.py b/glance_store/_drivers/vmware_datastore.py index 52ec77ab..784f157d 100644 --- a/glance_store/_drivers/vmware_datastore.py +++ b/glance_store/_drivers/vmware_datastore.py @@ -564,7 +564,7 @@ class Store(glance_store.Store): """Build ESX host session cookie header.""" if verify_session and not self.session.is_current_session_active(): self.reset_session() - vim_cookies = self.session.vim.client.options.transport.cookiejar + vim_cookies = self.session.vim.client.cookiejar if len(list(vim_cookies)) > 0: cookie = list(vim_cookies)[0] return cookie.name + '=' + cookie.value diff --git a/lower-constraints.txt b/lower-constraints.txt index e1be7851..928dbee4 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -54,7 +54,7 @@ oslo.serialization==2.18.0 oslo.service==1.41.1 oslotest==3.2.0 oslo.utils==4.7.0 -oslo.vmware==2.17.0 +oslo.vmware==3.6.0 Parsley==1.3 pbr==3.1.1 prettytable==0.7.2 diff --git a/setup.cfg b/setup.cfg index a185c436..faf89422 100644 --- a/setup.cfg +++ b/setup.cfg @@ -63,7 +63,7 @@ console_scripts = [extras] # Dependencies for each of the optional stores vmware = - oslo.vmware>=2.17.0 # Apache-2.0 + oslo.vmware>=3.6.0 # Apache-2.0 swift = httplib2>=0.9.1 # MIT python-swiftclient>=3.2.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 4a2a0fa9..2d1a2f4f 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -21,7 +21,7 @@ oslotest>=3.2.0 # Apache-2.0 # Dependencies for each of the optional stores boto3>=1.9.199 # Apache-2.0 -oslo.vmware>=2.17.0 # Apache-2.0 +oslo.vmware>=3.6.0 # Apache-2.0 httplib2>=0.9.1 # MIT python-swiftclient>=3.2.0 # Apache-2.0 python-cinderclient>=4.1.0 # Apache-2.0