Activity log for bug #1772649

Date Who What changed Old value New value Message
2018-05-22 12:32:41 Jeff Hillman bug added bug
2018-05-22 12:33:40 Jeff Hillman description juju 2.3.7 (via snap) When attempting to add an Openstack Cloud (in this case Pike), running juju autoload-credentials after adding the cloud causes an incomplete set of credentials. The cloud cust-dev was added using juju add-cloud and going through the "wizard", it generated the following ~/.local/share/juju/clouds.yaml clouds: cust-dev: type: openstack auth-types: [userpass] endpoint: https://Ostk-keystone.hq.cust.com:5000/v3 regions: cust-region: endpoint: https://Ostk-keystone.hq.cust.com:5000/v3 Running juju autoload-credentials generates the following ~/.local/share/juju/credentials.yaml credentials: cust-dev: default-region: BN_FC my-user: auth-type: userpass domain-name: "" password: my-pass project-domain-name: "" tenant-name: Cust-Dev user-domain-name: custhq username: my-user This is an incomplete file. When attempting to juju bootstrap, the following error occurrs: DEBUG juju.provider.openstack provider.go:804 authentication failed: authentication failed caused by: requesting token: Unauthorised URL https://Ostk-keystone.hq.cust.com:5000/v3/auth/tokens caused by: request (https://Ostk-keystone.hq.cust.com:5000/v3/auth/tokens) returned unexpected status: 401; error info: Failed: 401 error: The request you have made requires authentication. 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. 12:28:18 DEBUG cmd supercommand.go:459 error stack: github.com/juju/juju/provider/openstack/provider.go:805: 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:163: github.com/juju/juju/environs/bootstrap/prepare.go:99: github.com/juju/juju/cmd/juju/commands/bootstrap.go:480: Going in and editing ~/.local/share/juju/credentials.yaml and adding "custhq" to the project-domain-name line resolves this issue. In the end the correct credentials file looks like: credentials: cust-dev: default-region: BN_FC my-user: auth-type: userpass domain-name: "" password: my-pass project-domain-name: "custhq" tenant-name: Cust-Dev user-domain-name: custhq username: my-user This is also repeatable from the admin_domain. juju 2.3.7 (via snap) When attempting to add an Openstack Cloud (in this case Pike), running juju autoload-credentials after adding the cloud causes an incomplete set of credentials. The cloud cust-dev was added using juju add-cloud and going through the "wizard", it generated the following ~/.local/share/juju/clouds.yaml clouds:   cust-dev:     type: openstack     auth-types: [userpass]     endpoint: https://Ostk-keystone.hq.cust.com:5000/v3     regions:       cust-region:         endpoint: https://Ostk-keystone.hq.cust.com:5000/v3 Running juju autoload-credentials generates the following ~/.local/share/juju/credentials.yaml credentials:   cust-dev:     default-region: cust-region     my-user:       auth-type: userpass       domain-name: ""       password: my-pass       project-domain-name: ""       tenant-name: Cust-Dev       user-domain-name: custhq       username: my-user This is an incomplete file. When attempting to juju bootstrap, the following error occurrs: DEBUG juju.provider.openstack provider.go:804 authentication failed: authentication failed caused by: requesting token: Unauthorised URL https://Ostk-keystone.hq.cust.com:5000/v3/auth/tokens caused by: request (https://Ostk-keystone.hq.cust.com:5000/v3/auth/tokens) returned unexpected status: 401; error info: Failed: 401 error: The request you have made requires authentication. 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. 12:28:18 DEBUG cmd supercommand.go:459 error stack: github.com/juju/juju/provider/openstack/provider.go:805: 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:163: github.com/juju/juju/environs/bootstrap/prepare.go:99: github.com/juju/juju/cmd/juju/commands/bootstrap.go:480: Going in and editing ~/.local/share/juju/credentials.yaml and adding "custhq" to the project-domain-name line resolves this issue. In the end the correct credentials file looks like: credentials:   cust-dev:     default-region: cust-region     my-user:       auth-type: userpass       domain-name: ""       password: my-pass       project-domain-name: "custhq"       tenant-name: Cust-Dev       user-domain-name: custhq       username: my-user This is also repeatable from the admin_domain.
2018-07-10 12:49:28 Anastasia juju: status New Triaged
2018-07-10 12:49:29 Anastasia juju: importance Undecided High
2018-08-14 13:48:18 Richard Harding juju: milestone 2.5-beta1
2018-08-31 08:45:04 Fabio B bug added subscriber Fabio Bardella
2018-08-31 15:52:46 Dominique Poulain bug added subscriber Dominique Poulain
2018-11-09 15:26:14 Richard Harding juju: milestone 2.5-beta1 2.5-beta2
2018-11-28 15:20:47 Richard Harding juju: milestone 2.5-beta2 2.5.1
2019-01-28 22:02:40 Ian Booth juju: milestone 2.5.1 2.5.2
2019-03-11 23:01:15 Canonical Juju QA Bot juju: milestone 2.5.2 2.5.3
2019-03-26 02:08:39 Canonical Juju QA Bot juju: milestone 2.5.3 2.5.4
2019-04-02 01:46:01 Canonical Juju QA Bot juju: milestone 2.5.4 2.5.5
2019-05-14 06:11:52 Anastasia juju: milestone 2.5.6 2.7-beta1
2019-06-25 01:37:36 Anastasia tags cpe-onsite autoload-credentials cpe-onsite
2019-10-22 14:37:33 Canonical Juju QA Bot juju: milestone 2.7-beta1 2.7-rc1
2019-11-04 15:06:30 Canonical Juju QA Bot juju: milestone 2.7-rc1
2020-05-21 04:19:46 Tim Penhey tags autoload-credentials cpe-onsite autoload-credentials cpe-onsite openstack-provider
2021-03-24 04:25:12 Hemanth Nakkina tags autoload-credentials cpe-onsite openstack-provider autoload-credentials cpe-onsite openstack-provider seg
2021-03-24 04:25:19 Hemanth Nakkina juju: assignee Hemanth Nakkina (hemanth-n)
2021-03-31 11:17:01 Hemanth Nakkina juju: status Triaged In Progress
2021-10-19 17:31:21 Heather Lanigan juju: status In Progress Triaged
2021-10-19 17:31:25 Heather Lanigan juju: assignee Hemanth Nakkina (hemanth-n)