When using a deployment with keystone v3 the env variable
OS_IDENTITY_API_VERSION=3 is not written to ~/.rally/openrc.
This causes requests by the openstack cli to fail unless the user sets
that variable manually.
This patch fixes this issue by writing OS_IDENTITY_API_VERSION to the
openrc file when using a deployment.
Reviewed: https:/ /review. openstack. org/457661 /git.openstack. org/cgit/ openstack/ rally/commit/ ?id=055446b060d 0b6a4b5e0a33bd6 b4fd0d9bdada9a
Committed: https:/
Submitter: Jenkins
Branch: master
commit 055446b060d0b6a 4b5e0a33bd6b4fd 0d9bdada9a
Author: Daniel Gonzalez <email address hidden>
Date: Tue Apr 18 16:07:32 2017 +0200
Make openrc deployment file work with keystone v3
When using a deployment with keystone v3 the env variable IDENTITY_ API_VERSION= 3 is not written to ~/.rally/openrc. API_VERSION to the
OS_
This causes requests by the openstack cli to fail unless the user sets
that variable manually.
This patch fixes this issue by writing OS_IDENTITY_
openrc file when using a deployment.
Closes-Bug: #1683820
Change-Id: I591eeacdd96e71 d13561a7edade29 7223da86f73