Comment 3 for bug 1733642

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/521947
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=cff8b088370c9190e402ece1a9ff48eae27677f7
Submitter: Zuul
Branch: master

commit cff8b088370c9190e402ece1a9ff48eae27677f7
Author: Matt Riedemann <email address hidden>
Date: Tue Nov 21 12:01:33 2017 -0500

    Fix NoneType error when [service_user] is misconfigured

    If the [service_user]/send_service_user_token option is
    set to True but the actual auth options are incomplete,
    like missing to set the auth_type option, we eventually
    fail to re-auth with keystone due to a NoneType error
    in keystoneauth1.

    We can detect this issue because load_auth_from_conf_options
    will return None and we can just log a warning and continue
    as if the service user was never configured in the first place.

    Co-Authored-By: Eric Fried <email address hidden>
    Change-Id: I0a96c835d620307f1ab34736ba42c2deb1321a23
    Closes-Bug: #1733642