blazar/climate
Pierre Riteau 81b85a11af Fix authentication of Nova client
Blazar authenticates Nova requests with trust-scoped tokens. Sometime
during the Ocata cycle these requests started failing (possibly due to
stricter validation in Keystone) with the error:

    BadRequest: Invalid input for field 'identity/password/user/password': None is not of type 'string' (HTTP 400)

This commit changes how the Nova client is configured to use the
token_endpoint authentication plugin combined with endpoint_override,
which allows to communicate with the Nova endpoint without extra
requests to Keystone. This is necessary between trust-scoped tokens
cannot re-authenticate with Keystone, which happens with other
authentication plugins.

Change-Id: Ibb6782140f41aea5e539e11f2618b3af2628fc4c
Closes-Bug: #1660564
2017-02-05 19:23:58 +00:00
..
api Use oslo.log 2017-02-02 13:46:42 +09:00
cmd Use oslo.log 2017-02-02 13:46:42 +09:00
db Use oslo.log 2017-02-02 13:46:42 +09:00
manager Use oslo.log 2017-02-02 13:46:42 +09:00
notification Use oslo.log 2017-02-02 13:46:42 +09:00
openstack Use oslo.log 2017-02-02 13:46:42 +09:00
plugins Use oslo.log 2017-02-02 13:46:42 +09:00
tests Fix authentication of Nova client 2017-02-05 19:23:58 +00:00
utils Fix authentication of Nova client 2017-02-05 19:23:58 +00:00
__init__.py Import project layout 2013-03-21 17:49:08 +01:00
config.py Use oslo.log 2017-02-02 13:46:42 +09:00
context.py Change references of tenant to project 2014-04-17 11:16:09 -03:00
exceptions.py Use oslo.log 2017-02-02 13:46:42 +09:00
policy.py Use oslo.log 2017-02-02 13:46:42 +09:00
states.py Use oslo.log 2017-02-02 13:46:42 +09:00
version.py Add basic documentation possibility. 2013-10-14 16:55:29 +02:00