Session authentication failure while invoking PBM APIs

Bug #1769755 reported by Vipin Balachandran
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo.vmware
Fix Released
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.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to oslo.vmware (master)

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

Changed in oslo.vmware:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo.vmware (master)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/oslo.vmware 2.29.2

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.