3f842f49dc
When invoke_api fails due to VimConnectionException it does not always mean an expired vim session. It could be due to other transient failures where the socket gets closed by the server. To make it worse, vcenter doesn't support login call when a session is already active. As a result, the re-create session may instead fail. This fix checks to see if the session is active before re-creating the same. Closes-Bug: #1398502 Change-Id: Id28217f8fe63c23767c66221a68ec944c9b27807 |
||
---|---|---|
.. | ||
objects | ||
__init__.py | ||
base.py | ||
test_api.py | ||
test_image_transfer.py | ||
test_pbm.py | ||
test_rw_handles.py | ||
test_service.py | ||
test_vim_util.py | ||
test_vim.py | ||
test_vmware.py |