juju boostrap does not work if keystone url does not have trailing /

Bug #1199205 reported by Min Pae
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyjuju
Triaged
Low
Unassigned

Bug Description

Using juju 0.7 with Openstack Grizzly (Ubuntu 12.04.2 hosts), juju bootstrap using openstack_s3 as provider fails when using the openstackrc.sh provided by the Dashboard as the keystone URL does not have a trailing slash ('/'). TCPDUMP on the traffic showed that juju was sending <server>/v2.0tokens as the request rather than <server>/v2.0/tokens.

Setting an explicit keystone URL (auth-url) in the environments.yaml with a trailing slash resolved this problem. Since the openstack CLI tools support specification of a keystone URL without a trailing slash, and since the dashboard produces such a URL, and the guides (at least the ones I was looking at) suggested getting the openstack and ec2 credentials from the Dashboard (juju credentials from Dashboard seemed broken as it doesn't show but that's a spearate issue), it would seem juju should support a keystone URL without a trailing slash for behavior consistent with Dashboard and Openstack.

Revision history for this message
Dave Cheney (dave-cheney) wrote :

Groan. Let's hear it for string concatenation.

Changed in juju:
importance: Undecided → High
status: New → Triaged
Curtis Hovey (sinzui)
Changed in juju:
importance: High → Low
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.