From: beierl Date: Mon, 15 Jul 2019 13:40:24 +0000 (-0400) Subject: Fix vCD attach failure X-Git-Tag: v6.0.2rc1~8 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F75%2F7775%2F2;p=osm%2FRO.git 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 --- 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