Reservation Service for OpenStack
Go to file
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
blazar Added blazar as an alias package 2014-06-30 18:07:55 +00:00
climate Fix authentication of Nova client 2017-02-05 19:23:58 +00:00
contrib/tempest Remove contrib/devstack 2017-01-24 04:36:53 +00:00
devstack Merge "Fix service and endpoint creation in DevStack" 2017-01-31 10:17:56 +00:00
doc/source Remove contrib/devstack 2017-01-24 04:36:53 +00:00
etc Use oslo.log 2017-02-02 13:46:42 +09:00
tools/config Use oslo.log 2017-02-02 13:46:42 +09:00
.gitignore Add Cover directory to gitignore 2013-11-28 15:24:43 +01:00
.gitreview Update .gitreview for new namespace 2015-10-17 21:54:38 +00:00
.testr.conf Fix testing env variables and testing directory 2014-01-28 14:32:51 +04:00
babel.cfg Implement primary support for i18n messages shown to user 2013-12-05 18:38:03 +04:00
HACKING.rst Renamed Climate references to Blazar in the docs 2014-06-27 14:34:31 -07:00
LICENSE Add LICENSE and MANIFEST.in files 2014-02-04 23:02:01 +04:00
MANIFEST.in Add LICENSE and MANIFEST.in files 2014-02-04 23:02:01 +04:00
openstack-common.conf Merge "Use jsonutils from oslo.serialization" 2016-12-16 06:08:02 +00:00
pylintrc Add pylint check for Climate project 2014-02-17 15:03:21 +04:00
README.rst Renamed Climate references to Blazar in the docs 2014-06-27 14:34:31 -07:00
requirements.txt Use oslo.log 2017-02-02 13:46:42 +09:00
setup.cfg Added blazar as an alias package 2014-06-30 18:07:55 +00:00
setup.py Soft update from global-requirements 2016-12-12 15:19:48 +11:00
test-requirements.txt Soft update from global-requirements 2016-12-12 15:19:48 +11:00
tox.ini Update default environment list 2016-12-09 11:03:22 +00:00

Blazar

Overview

OpenStack Reservation Service

Prerequisites

  • Keystone v3 API endpoint
  • Dedicated account for write operations on behalf of the admin

    climate_username

  • Service account

Configuration

Create identityv3 endpoint

For adding new endpoint for Keystone V3, use the following instructions: 1) keystone service-create --name keystonev3 --type identytiv3 --description "Keystone Identity Service v3" 2) keystone endpoint-create --region <region> --service keystonev3 --publicurl "<auth_protocol>://<auth_host>:5000/v3" --adminurl "<auth_protocol>://<auth_host>:35357/v3" --internalurl "<auth_protocol>://<auth_host>:5000/v3"