oslo-vmware will mistake unauthenticated for valid empty response

Bug #1815701 reported by Yutaro Iwakiri on 2019-02-13
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Calling vmware's API with inactive session returns empty response.
Normally, oslo-vmware recreates the session and retries to call the API (API 1). However, if the session is recreated by another thread (not the thread which has called API 1), an empty response will be returned due to unauthenticated session. In this situation, oslo-vmware will mistake "empty response caused by unauthenticated session" for "valid empty response".
If this phenomenon is happened, getting resources is failed.
For example, when PbmQueryProfile API is called to get storage policies during volume creation, sometimes it failed to get storage policies due to this phenomenon.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers