Cannot connect to API using RC file from Dashboard

Bug #1018716 reported by Jose Castro Leon
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Devin Carlen

Bug Description

When a tenant name has blanks in the name, and you configure the environment to use it by downloading the openrc file from dashboard you are unable to use the API

The RC file that is downloaded has something like this

export OS_TENANT_ID=dbb1f9323c084ccdb09ff3902016b532
export OS_TENANT_NAME=demo with blanks

with such file you are unable to execute any nova client command

if you add quotes to the entry in the openrc file

export OS_TENANT_ID=dbb1f9323c084ccdb09ff3902016b532
export OS_TENANT_NAME="demo with blanks"

Then everything is fine

Revision history for this message
Jose Castro Leon (jose-castro-leon) wrote :
Devin Carlen (devcamcar)
Changed in horizon:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → folsom-2
assignee: nobody → Devin Carlen (devcamcar)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

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

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

Reviewed: https://review.openstack.org/9140
Committed: http://github.com/openstack/horizon/commit/7b72245c0da8ad008ae280a5dee7b7b5584d01d4
Submitter: Jenkins
Branch: master

commit 7b72245c0da8ad008ae280a5dee7b7b5584d01d4
Author: Devin Carlen <email address hidden>
Date: Thu Jun 28 14:28:28 2012 -0700

    Fix for openrc.sh to support tenant names with blanks.

    Fixes bug #1018716

    Change-Id: I0ec32894c592283e3197270e973ce7e30b17124b

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: folsom-2 → 2012.2
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.