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
Reviewed: https:/ /review. openstack. org/521947 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=cff8b088370 c9190e402ece1a9 ff48eae27677f7
Committed: https:/
Submitter: Zuul
Branch: master
commit cff8b088370c919 0e402ece1a9ff48 eae27677f7
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> 7f1ab34736ba42c 2deb1321a23
Change-Id: I0a96c835d62030
Closes-Bug: #1733642