juju bootstrap returns authentication failed on openstack while py client works fine
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Environment:
Juju version: 2.4.2 (from Snap stable channel)
OpenStack version: bionic-queens
Getting authentication failed during Juju bootstrap over OpenStack. However, python-
This cloud has a custom CA certificate. The CA was added to: /etc/ssl/
Credentials were set using interactive juju add-credential mode.
Bootstrap returns:
pguimaraes@
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.
Same bootstrap scenario was tried on Juju version 2.5-beta1 (compiled from GitHub repo)
This newer version allows to define CA certificate path during juju add-cloud process.
Certificate was added and confirmed using juju show-cloud.
Still, juju bootstrap returns:
pguimaraes@
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.
Can you please attempt the bootstrap with the --debug flag enabled for more output and can you attempt to also use the autoload- credentials with your .novarc sourced and see if the autoload pulls the exact same values as the manual add-credential steps did in case of typo or other mis-format?