openrc does not use the right IDENTITY_API_VERSION

Bug #1217783 reported by yong sheng gong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Undecided
yong sheng gong

Bug Description

--- a/openrc
+++ b/openrc
@@ -70,7 +70,7 @@ GLANCE_HOST=${GLANCE_HOST:-$HOST_IP}
 #
 # *NOTE*: Using the 2.0 *identity api* does not mean that compute api is 2.0. We
 # will use the 1.1 *compute api*
-export OS_AUTH_URL=$SERVICE_PROTOCOL://$SERVICE_HOST:5000/v2.0
+export OS_AUTH_URL=$SERVICE_PROTOCOL://$SERVICE_HOST:5000/v${IDENTITY_API_VERSION:-2.0}

 # Set the pointer to our CA certificate chain. Harmless if TLS is not used.
 export OS_CACERT=$INT_CA_DIR/ca-chain.pem

Changed in devstack:
assignee: nobody → yong sheng gong (gongysh)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (master)

Fix proposed to branch: master
Review: https://review.openstack.org/44059

Changed in devstack:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (master)

Reviewed: https://review.openstack.org/44059
Committed: http://github.com/openstack-dev/devstack/commit/300e1bf276b16c7aeab1631f709048346db63bd8
Submitter: Jenkins
Branch: master

commit 300e1bf276b16c7aeab1631f709048346db63bd8
Author: Yong Sheng Gong <email address hidden>
Date: Wed Aug 28 17:02:56 2013 +0800

    Use the varialbe to export right keystone api version

    Change-Id: I1e8ea2b7173c549065ed1f08814eb4b4bb2f05cd
    Fixes: Bug #1217783

Changed in devstack:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.