invoke_api does not throw any exception when interface goes down and looses connectivity with vCenter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.vmware |
Fix Released
|
Undecided
|
Aman Kumar |
Bug Description
We are running a script which uses oslo vmware library to get vCenter VM events using property collector method WaitForUpdatesEx. If we unplug the interface, the property Collector method does not return. Ideally it should throw connection lost exceptions. But the method blocked forever. Debugging further we found that there is no way user can specify the timeout and suds(request transport) component uses by oslo vmware assumes None and waits for ever. So there should be facility in oslo vmware to configure this timeout and it should passed to suds/request component.
we found from the logs that it blocks after following log:
Waiting for function oslo_vmware.
Changed in oslo.vmware: | |
status: | In Progress → Fix Released |
Review link can be found here: /review. openstack. org/#/c/ 330889/
https:/