diff --git a/package/cloudshell/cp/vcenter/common/vcenter/vmomi_service.py b/package/cloudshell/cp/vcenter/common/vcenter/vmomi_service.py index 97755d94..42b81ff3 100644 --- a/package/cloudshell/cp/vcenter/common/vcenter/vmomi_service.py +++ b/package/cloudshell/cp/vcenter/common/vcenter/vmomi_service.py @@ -72,7 +72,7 @@ def connect(self, address, user, password, port=443): try: '#si = SmartConnect(host=address, user=user, pwd=password, port=port, sslContext=context)' si = self.pyvmomi_connect(host=address, user=user, pwd=password, port=port, sslContext=context) - except ssl.SSLEOFError: + except (ssl.SSLEOFError, vim.fault.HostConnectFault): context = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2) context.verify_mode = ssl.CERT_NONE si = self.pyvmomi_connect(host=address, user=user, pwd=password, port=port, sslContext=context) diff --git a/package/version.txt b/package/version.txt index a32d5a6a..141f2e80 100644 --- a/package/version.txt +++ b/package/version.txt @@ -1 +1 @@ -1.14.2 \ No newline at end of file +1.15.0 diff --git a/vcentershell_driver/requirements.txt b/vcentershell_driver/requirements.txt index 23fd5708..99a0ee9a 100644 --- a/vcentershell_driver/requirements.txt +++ b/vcentershell_driver/requirements.txt @@ -1,3 +1,3 @@ cloudshell-shell-core>=3.1.0,<3.2.0 -cloudshell-cp-vcenter>=1.14.0,<1.15.0 +cloudshell-cp-vcenter>=1.15.0,<1.16.0 cloudshell-cp-core>=1.0.0,<1.1.0 diff --git a/version.txt b/version.txt index 533ddb5c..141f2e80 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.14.1.175 +1.15.0