Session authentication failure while invoking PBM APIs

Bug #1769755 reported by Vipin Balachandran on 2018-05-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo.vmware
Undecided
Vipin Balachandran

Bug Description

PBM APIs break the API contract in vSphere 6.5 by raising NotAuthenticated fault instead of SecurityError when session is expired. Hence session will not be re-established as expected.

Fix proposed to branch: master
Review: https://review.openstack.org/566746

Changed in oslo.vmware:
status: New → In Progress

Reviewed: https://review.openstack.org/566746
Committed: https://git.openstack.org/cgit/openstack/oslo.vmware/commit/?id=d249fe1156d95abf3319d2d6389e096e161c3ad0
Submitter: Zuul
Branch: master

commit d249fe1156d95abf3319d2d6389e096e161c3ad0
Author: Vipin Balachandran <email address hidden>
Date: Mon May 7 14:42:49 2018 -0700

    Fix session re-establish failure with PBM APIs

    PBM APIs break the API contract in vSphere 6.5 by raising
    NotAuthenticated fault instead of SecurityError when session
    is expired. We do catch NotAuthenticated faults (raised by
    VIM APIs), but PBM APIs use the 'vim25' namespace which
    result in not identifying the session expiry case. Therefore,
    the session is not re-established. Fixing it by matching the
    fault name suffix with 'NotAuthenticated' in the suds WebFault
    exception handler

    Closes-bug: #1769755
    Change-Id: I35d48c12a5b1d5fe94a10b56b1ab06c34446de28

Changed in oslo.vmware:
status: In Progress → Fix Released

This issue was fixed in the openstack/oslo.vmware 2.29.2 release.

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

Other bug subscribers