Controller bootstrap fails with Openstack Devstack
Bug #1751287 reported by
Miika Kankare
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Critical
|
John A Meinel | ||
2.3 |
Fix Released
|
Critical
|
John A Meinel |
Bug Description
Bootstrapping the controller fails with a Devstack environment, as the Identity URL is a bit different.
The error is:
ERROR cannot set config: cannot create a client: version part of identity url https:/
And comes from this check: https:/
This is due to the /identity/ part in the URL. So it'll fail with any URL that has other things in addition to the /vX.Y.
The configuration for the Identity URL seems to be here: https:/
Changed in juju: | |
importance: | Medium → High |
Changed in juju: | |
importance: | High → Critical |
To post a comment you must log in.
It seems like it would be reasonably to just look at the end of the path, rather than assuming the entire path is only the version URL.
It seems that we only strip of a trailing '/', so probably we could do: TrimSuffix( strings. ToLower( url.Path) , "/") TrimPrefix( "v")
path := strings.
_, versionNumStr := path.Split(path)
versionNumStr = strings.