From 01e776ae9fb50c5d29ab28824cc2135ca5da8408 Mon Sep 17 00:00:00 2001 From: beierl Date: Mon, 15 Jul 2019 09:40:24 -0400 Subject: [PATCH] Fix vCD attach failure On session timeout, the vCD connector needs to reauthenticate to get a new token. This authentication must also use a modern version number, or it will fail. BUG 718 Change-Id: I9ca1258bdb824ed9acb2f6ca712babc2fc91d8c0 Signed-off-by: beierl --- osm_ro/vimconn_vmware.py | 1 + 1 file changed, 1 insertion(+) diff --git a/osm_ro/vimconn_vmware.py b/osm_ro/vimconn_vmware.py index 77ac5676..f343eeac 100644 --- a/osm_ro/vimconn_vmware.py +++ b/osm_ro/vimconn_vmware.py @@ -6485,6 +6485,7 @@ class vimconnector(vimconn.vimconnector): self.org_name)) host = self.url client = Client(host, verify_ssl_certs=False) + client.set_highest_supported_version() client.set_credentials(BasicLoginCredentials(self.user, self.org_name, self.passwd)) # connection object self.client = client -- 2.25.1