2018-05-12 12:27:45 |
Florian Guitton |
bug |
|
|
added bug |
2018-05-12 12:31:24 |
Florian Guitton |
description |
Hello everybody,
There seem 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://developer.openstack.org/api-ref/identity/v3/#authentication-and-token-management.
Juju should attempt to query /v3/auth/tokens. This might be linked to the goose package but their tests (https://github.com/go-goose/goose/blob/v2/identity/v3userpass_test.go) suggests it shouldn't.
@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{"/snap/juju/4271/bin/juju", "bootstrap", "dsi-os/dsi-r1", "dsi-osr1-juju", "--debug"}
13:16:50 DEBUG juju.cmd.juju.commands bootstrap.go:851 authenticating with region "dsi-r1" and credential "admin" ()
13:16:50 DEBUG juju.cmd.juju.commands bootstrap.go:979 provider attrs: map[use-floating-ip:false use-default-secgroup:false network: external-network: use-openstack-gbp:false policy-target-group:]
13:16:50 INFO cmd authkeys.go:114 Adding contents of ".local/share/juju/ssh/juju_id_rsa.pub" to authorized-keys
13:16:50 INFO cmd authkeys.go:114 Adding contents of ".ssh/id_rsa.pub" to authorized-keys
13:16:50 DEBUG juju.cmd.juju.commands bootstrap.go:1035 preparing controller with config: map[]
13:16:50 INFO juju.provider.openstack provider.go:146 opening model "controller"
13:16:50 DEBUG juju.provider.openstack provider.go:805 authentication failed: authentication failed
caused by: Resource at http://keystone-admin.example.com:35357/v3/tokens not found
caused by: request (http://keystone-admin.example.com:35357/v3/tokens) returned unexpected status: 404; error info: Failed: 404 error: (http://keystone-admin.example.com:35357/v3/tokens): The resource could not be found.
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.com/juju/juju/provider/openstack/provider.go:806: 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.
github.com/juju/juju/environs/bootstrap/prepare.go:164:
github.com/juju/juju/environs/bootstrap/prepare.go:100:
github.com/juju/juju/cmd/juju/commands/bootstrap.go:486: |
Hello everybody,
There seem 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://developer.openstack.org/api-ref/identity/v3/#authentication-and-token-management.
Juju should attempt to query /v3/auth/tokens. This might be linked to the goose package but their tests (https://github.com/go-goose/goose/blob/v2/identity/v3userpass_test.go) suggests it shouldn't.
@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{"/snap/juju/4271/bin/juju", "bootstrap", "dsi-os/dsi-r1", "dsi-osr1-juju", "--debug"}
13:16:50 DEBUG juju.cmd.juju.commands bootstrap.go:851 authenticating with region "dsi-r1" and credential "admin" ()
13:16:50 DEBUG juju.cmd.juju.commands bootstrap.go:979 provider attrs: map[use-floating-ip:false use-default-secgroup:false network: external-network: use-openstack-gbp:false policy-target-group:]
13:16:50 INFO cmd authkeys.go:114 Adding contents of ".local/share/juju/ssh/juju_id_rsa.pub" to authorized-keys
13:16:50 INFO cmd authkeys.go:114 Adding contents of ".ssh/id_rsa.pub" to authorized-keys
13:16:50 DEBUG juju.cmd.juju.commands bootstrap.go:1035 preparing controller with config: map[]
13:16:50 INFO juju.provider.openstack provider.go:146 opening model "controller"
13:16:50 DEBUG juju.provider.openstack provider.go:805 authentication failed: authentication failed
caused by: Resource at http://keystone-admin.example.com:35357/v3/tokens not found
caused by: request (http://keystone-admin.example.com:35357/v3/tokens) returned unexpected status: 404; error info: Failed: 404 error: (http://keystone-admin.example.com:35357/v3/tokens): The resource could not be found.
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.com/juju/juju/provider/openstack/provider.go:806: 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.
github.com/juju/juju/environs/bootstrap/prepare.go:164:
github.com/juju/juju/environs/bootstrap/prepare.go:100:
github.com/juju/juju/cmd/juju/commands/bootstrap.go:486: |
|
2018-05-12 12:32:48 |
Florian Guitton |
description |
Hello everybody,
There seem 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://developer.openstack.org/api-ref/identity/v3/#authentication-and-token-management.
Juju should attempt to query /v3/auth/tokens. This might be linked to the goose package but their tests (https://github.com/go-goose/goose/blob/v2/identity/v3userpass_test.go) suggests it shouldn't.
@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{"/snap/juju/4271/bin/juju", "bootstrap", "dsi-os/dsi-r1", "dsi-osr1-juju", "--debug"}
13:16:50 DEBUG juju.cmd.juju.commands bootstrap.go:851 authenticating with region "dsi-r1" and credential "admin" ()
13:16:50 DEBUG juju.cmd.juju.commands bootstrap.go:979 provider attrs: map[use-floating-ip:false use-default-secgroup:false network: external-network: use-openstack-gbp:false policy-target-group:]
13:16:50 INFO cmd authkeys.go:114 Adding contents of ".local/share/juju/ssh/juju_id_rsa.pub" to authorized-keys
13:16:50 INFO cmd authkeys.go:114 Adding contents of ".ssh/id_rsa.pub" to authorized-keys
13:16:50 DEBUG juju.cmd.juju.commands bootstrap.go:1035 preparing controller with config: map[]
13:16:50 INFO juju.provider.openstack provider.go:146 opening model "controller"
13:16:50 DEBUG juju.provider.openstack provider.go:805 authentication failed: authentication failed
caused by: Resource at http://keystone-admin.example.com:35357/v3/tokens not found
caused by: request (http://keystone-admin.example.com:35357/v3/tokens) returned unexpected status: 404; error info: Failed: 404 error: (http://keystone-admin.example.com:35357/v3/tokens): The resource could not be found.
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.com/juju/juju/provider/openstack/provider.go:806: 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.
github.com/juju/juju/environs/bootstrap/prepare.go:164:
github.com/juju/juju/environs/bootstrap/prepare.go:100:
github.com/juju/juju/cmd/juju/commands/bootstrap.go:486: |
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://developer.openstack.org/api-ref/identity/v3/#authentication-and-token-management.
Juju should attempt to query /v3/auth/tokens. This might be linked to the goose package but their tests (https://github.com/go-goose/goose/blob/v2/identity/v3userpass_test.go) suggests it shouldn't.
@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{"/snap/juju/4271/bin/juju", "bootstrap", "dsi-os/dsi-r1", "dsi-osr1-juju", "--debug"}
13:16:50 DEBUG juju.cmd.juju.commands bootstrap.go:851 authenticating with region "dsi-r1" and credential "admin" ()
13:16:50 DEBUG juju.cmd.juju.commands bootstrap.go:979 provider attrs: map[use-floating-ip:false use-default-secgroup:false network: external-network: use-openstack-gbp:false policy-target-group:]
13:16:50 INFO cmd authkeys.go:114 Adding contents of ".local/share/juju/ssh/juju_id_rsa.pub" to authorized-keys
13:16:50 INFO cmd authkeys.go:114 Adding contents of ".ssh/id_rsa.pub" to authorized-keys
13:16:50 DEBUG juju.cmd.juju.commands bootstrap.go:1035 preparing controller with config: map[]
13:16:50 INFO juju.provider.openstack provider.go:146 opening model "controller"
13:16:50 DEBUG juju.provider.openstack provider.go:805 authentication failed: authentication failed
caused by: Resource at http://keystone-admin.example.com:35357/v3/tokens not found
caused by: request (http://keystone-admin.example.com:35357/v3/tokens) returned unexpected status: 404; error info: Failed: 404 error: (http://keystone-admin.example.com:35357/v3/tokens): The resource could not be found.
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.com/juju/juju/provider/openstack/provider.go:806: 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.
github.com/juju/juju/environs/bootstrap/prepare.go:164:
github.com/juju/juju/environs/bootstrap/prepare.go:100:
github.com/juju/juju/cmd/juju/commands/bootstrap.go:486: |
|
2018-05-12 12:33:24 |
Florian Guitton |
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://developer.openstack.org/api-ref/identity/v3/#authentication-and-token-management.
Juju should attempt to query /v3/auth/tokens. This might be linked to the goose package but their tests (https://github.com/go-goose/goose/blob/v2/identity/v3userpass_test.go) suggests it shouldn't.
@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{"/snap/juju/4271/bin/juju", "bootstrap", "dsi-os/dsi-r1", "dsi-osr1-juju", "--debug"}
13:16:50 DEBUG juju.cmd.juju.commands bootstrap.go:851 authenticating with region "dsi-r1" and credential "admin" ()
13:16:50 DEBUG juju.cmd.juju.commands bootstrap.go:979 provider attrs: map[use-floating-ip:false use-default-secgroup:false network: external-network: use-openstack-gbp:false policy-target-group:]
13:16:50 INFO cmd authkeys.go:114 Adding contents of ".local/share/juju/ssh/juju_id_rsa.pub" to authorized-keys
13:16:50 INFO cmd authkeys.go:114 Adding contents of ".ssh/id_rsa.pub" to authorized-keys
13:16:50 DEBUG juju.cmd.juju.commands bootstrap.go:1035 preparing controller with config: map[]
13:16:50 INFO juju.provider.openstack provider.go:146 opening model "controller"
13:16:50 DEBUG juju.provider.openstack provider.go:805 authentication failed: authentication failed
caused by: Resource at http://keystone-admin.example.com:35357/v3/tokens not found
caused by: request (http://keystone-admin.example.com:35357/v3/tokens) returned unexpected status: 404; error info: Failed: 404 error: (http://keystone-admin.example.com:35357/v3/tokens): The resource could not be found.
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.com/juju/juju/provider/openstack/provider.go:806: 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.
github.com/juju/juju/environs/bootstrap/prepare.go:164:
github.com/juju/juju/environs/bootstrap/prepare.go:100:
github.com/juju/juju/cmd/juju/commands/bootstrap.go:486: |
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://developer.openstack.org/api-ref/identity/v3/#authentication-and-token-management.
Juju should attempt to query /v3/auth/tokens. This might be linked to the goose package but their tests (https://github.com/go-oose/goose/blob/v2/identity/v3userpass_test.go) suggests it shouldn't.
---------------------------------------------------------------------------
@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{"/snap/juju/4271/bin/juju", "bootstrap", "dsi-os/dsi-r1", "dsi-osr1-juju", "--debug"}
13:16:50 DEBUG juju.cmd.juju.commands bootstrap.go:851 authenticating with region "dsi-r1" and credential "admin" ()
13:16:50 DEBUG juju.cmd.juju.commands bootstrap.go:979 provider attrs: map[use-floating-ip:false use-default-secgroup:false network: external-network: use-openstack-gbp:false policy-target-group:]
13:16:50 INFO cmd authkeys.go:114 Adding contents of ".local/share/juju/ssh/juju_id_rsa.pub" to authorized-keys
13:16:50 INFO cmd authkeys.go:114 Adding contents of ".ssh/id_rsa.pub" to authorized-keys
13:16:50 DEBUG juju.cmd.juju.commands bootstrap.go:1035 preparing controller with config: map[]
13:16:50 INFO juju.provider.openstack provider.go:146 opening model "controller"
13:16:50 DEBUG juju.provider.openstack provider.go:805 authentication failed: authentication failed
caused by: Resource at http://keystone-admin.example.com:35357/v3/tokens not found
caused by: request (http://keystone-admin.example.com:35357/v3/tokens) returned unexpected status: 404; error info: Failed: 404 error: (http://keystone-admin.example.com:35357/v3/tokens): The resource could not be found.
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.com/juju/juju/provider/openstack/provider.go:806: 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.
github.com/juju/juju/environs/bootstrap/prepare.go:164:
github.com/juju/juju/environs/bootstrap/prepare.go:100:
github.com/juju/juju/cmd/juju/commands/bootstrap.go:486: |
|
2018-05-14 05:17:50 |
Sandor Zeestraten |
bug |
|
|
added subscriber Sandor Zeestraten |
2018-06-11 09:38:37 |
Youhei Tooyama |
bug |
|
|
added subscriber Youhei Tooyama |
2018-07-08 01:25:11 |
mahmoh |
bug |
|
|
added subscriber mahmoh |
2018-07-10 12:27:52 |
Anastasia |
bug watch added |
|
https://github.com/juju/docs/issues/2868 |
|
2018-07-10 12:28:00 |
Anastasia |
juju: status |
New |
Invalid |
|
2022-01-14 20:11:14 |
Drew Freiberger |
juju: status |
Invalid |
Confirmed |
|
2022-01-14 20:11:35 |
Drew Freiberger |
summary |
Juju is not capable of connecting to Juju deployed Openstack with keystone v3 |
Juju is not capable of connecting to Juju deployed Openstack with keystone v3 with access-key |
|
2022-01-14 20:17:26 |
Drew Freiberger |
bug |
|
|
added subscriber Canonical IS BootStack |
2022-01-17 12:18:35 |
Juan M. Tirado |
juju: importance |
Undecided |
Wishlist |
|
2022-07-27 04:29:40 |
Brett Milford |
bug |
|
|
added subscriber Brett Milford |
2022-11-28 15:19:13 |
John A Meinel |
juju: status |
Confirmed |
Triaged |
|