juju boostrap does not work if keystone url does not have trailing /
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>
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.
Changed in juju: | |
importance: | High → Low |
Groan. Let's hear it for string concatenation.