Comment 2 for bug 1769755

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