Juju is not capable of connecting to Juju deployed Openstack with keystone v3 with access-key
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Hello everybody,
There seems to be an issue with bootstrapping against an Openstack cloud running keystone v3.
At the end, the output of the Juju bootstrap.
It seems juju is attempting to reach /v3/tokens to proceed with authentication. This is not supported by Keystone v3 as described in their API doc : https:/
Juju should attempt to query /v3/auth/tokens. This might be linked to the goose package but their tests (https:/
-------
@maas-region:~$ juju bootstrap dsi-os/dsi-r1 dsi-osr1-juju --debug
13:16:50 INFO juju.cmd supercommand.go:56 running juju [2.4-rc1 gc go1.10]
13:16:50 DEBUG juju.cmd supercommand.go:57 args: []string{
13:16:50 DEBUG juju.cmd.
13:16:50 DEBUG juju.cmd.
13:16:50 INFO cmd authkeys.go:114 Adding contents of ".local/
13:16:50 INFO cmd authkeys.go:114 Adding contents of ".ssh/id_rsa.pub" to authorized-keys
13:16:50 DEBUG juju.cmd.
13:16:50 INFO juju.provider.
13:16:50 DEBUG juju.provider.
caused by: Resource at http://
caused by: request (http://
ERROR authentication failed.
Please ensure the credentials are correct. A common mistake is
to specify the wrong tenant. Use the OpenStack "project" name
for tenant-name in your model configuration.
13:16:50 DEBUG cmd supercommand.go:459 error stack:
github.
Please ensure the credentials are correct. A common mistake is
to specify the wrong tenant. Use the OpenStack "project" name
for tenant-name in your model configuration.
github.
github.
github.
description: | updated |
description: | updated |
description: | updated |
Changed in juju: | |
status: | Confirmed → Triaged |
I must precise the configuration goes as follow :
maas-region:~$ cat .local/ share/juju/ clouds. yaml keystone- admin.example. com:35357/ v3/ keystone- admin.example. com:35357/ v3/
clouds:
dsi-os:
type: openstack
auth-types: [access-key]
endpoint: http://
regions:
dsi-r1:
endpoint: http://
maas-region:~$ cat .local/ share/juju/ credentials. yaml d876ffdb342bae2 3c 1787623ac12093b c0
credentials:
dsi-os:
florian:
auth-type: access-key
access-key: bae7651caeabc1e
secret-key: 9172bc91ae1c3df
username: admin
tenant-name: admin