Log a more useful error when neutron isn't configured
When the [neutron] section of nova.conf isn't configured for
auth with the networking service, end users of the compute
REST API get a 500 error and the logs contain this mostly
unhelpful error message:
Unauthorized: Unknown auth type: None
This change adds a more useful error log message indicating
the root problem and provides a link to the networking service
install guide for how to resolve it.
Reviewed: https:/ /review. openstack. org/559111 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=587eb4303be 65810133e881141 06ee9019940118
Committed: https:/
Submitter: Zuul
Branch: master
commit 587eb4303be6581 0133e88114106ee 9019940118
Author: Matt Riedemann <email address hidden>
Date: Thu Apr 5 11:25:49 2018 -0400
Log a more useful error when neutron isn't configured
When the [neutron] section of nova.conf isn't configured for
auth with the networking service, end users of the compute
REST API get a 500 error and the logs contain this mostly
unhelpful error message:
Unauthorized: Unknown auth type: None
This change adds a more useful error log message indicating
the root problem and provides a link to the networking service
install guide for how to resolve it.
Change-Id: I18f162c4f8d196 4cb4d0c184ff214 9c76e1e86b4
Partial-Bug: #1761487