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

Bug #1199205 reported by Min Pae on 2013-07-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyjuju
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.

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) on 2013-10-12
Changed in juju:
importance: High → Low
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers