nova/nova/volume
Matt Riedemann b752717f25 Log a more useful error when cinder auth isn't configured
This is similar to I18f162c4f8d1964cb4d0c184ff2149c76e1e86b4,
except all REST API interactions that hit the Cinder API use
the request user token, so configuring auth for [cinder] was
only recently added (in Queens) and is not required. However,
it is needed for certain scenarios where there is no user token,
like with periodic tasks to shutdown an instance and detach its
volumes. As such, we need to provide a more useful error message
to help an operator debug the problem if this don't have the
configuration needed for some operations.

Change-Id: I7adaa003a86503b711e87be671e9ef9c0e52b152
Related-Bug: #1761487
2018-04-06 14:52:13 -04:00
..
__init__.py Remove deprecated config option volume_api_class 2016-07-21 23:08:08 +08:00
cinder.py Log a more useful error when cinder auth isn't configured 2018-04-06 14:52:13 -04:00