Comment 14 for bug 1543262

Revision history for this message
Bruno Carvalho (brunowcs) wrote :

Hello Ian!

# juju list-credentials --format yaml --show-secrets
credentials:
  openstack:
    default-region: myregion
    myuser:
      auth-type: userpass
      password: mypass
      tenant-name: myprojectname
      username: myuser

# juju show-cloud openstack
defined: local
type: openstack
description: Openstack Cloud
auth-types: [userpass]
regions:
  myregion:
    endpoint: https://api.domain.com:5000/v3/

Note: my api is in HTTPS

Caused by: request (https://api.domain.com:5000/v3/tokens) returned unexpected status: 404; Error info: Failed: 404 error: The resource could not be found.

I noticed that the URL is not being formed correctly

Caused by: request (https://api.domain.com:5000/v3/tokens) returned unexpected status: 404; Error info: Failed: 404 error: The resource could not be found

The correct one would not be: https://api.domain.com:5000/v3/auth/tokens

I noticed the "auth" in the url is missing.