Browse code

Set OS_AUTH_TYPE to password

Devstack configures keystone for auth mechanism but don't tell
keystoneauth1 library that it should use keystone too.

In simple case, this is not an issue because some application
set 'password' by default (like the openstack cli).

But applications can have no default or another default.

Change-Id: Idd1e1d2e7546fce7531175440788a8c7cb27aec1

Mehdi Abaakouk authored on 2017/02/24 22:55:33
Showing 1 changed files
... ...
@@ -79,6 +79,9 @@ KEYSTONE_AUTH_HOST=${KEYSTONE_AUTH_HOST:-$SERVICE_HOST}
79 79
 # Identity API version
80 80
 export OS_IDENTITY_API_VERSION=${IDENTITY_API_VERSION:-3}
81 81
 
82
+# Ask keystoneauth1 to use keystone
83
+export OS_AUTH_TYPE=password
84
+
82 85
 # Authenticating against an OpenStack cloud using Keystone returns a **Token**
83 86
 # and **Service Catalog**.  The catalog contains the endpoints for all services
84 87
 # the user/project has access to - including nova, glance, keystone, swift, ...