On Tue, May 3, 2016 at 10:40 AM, Ian Booth <[email protected]> wrote:
> > > On 03/05/16 23:16, Andreas Hasenack wrote: > > Looks like juju 2b6 also doesn't know what it is: > > $ juju-2.0 bootstrap cistack-controller cistack > > WARNING unknown config field "domain-name" > > ERROR authentication failed. > > (...) > > > > That WARNING above is unfortunately misleading in this case. The provider's > config parsing needs to be updated to understand that domain-name is a new > optional field (the field is still processed despite the warning). > > But it doesn't indicate the cause of the failure. Perhaps only keystone 2 > is > supported by the openstack cloud in use. The error message would be better > if it > indicated the cause of failure. > I got the cause of the failure after using --debug: 2016-05-03 13:27:03 DEBUG juju.provider.openstack provider.go:724 authURL: http://10.96.5.21:5000/v2.0 2016-05-03 13:27:03 DEBUG juju.provider.openstack provider.go:685 authentication failed: authentication failed caused by: requesting token: Resource at http://10.96.5.21:5000/v2.0/auth/tokens not found Since I had specified domain-name when adding the credential, it was trying to use keystone v3 authentication on a v2 url.
-- Juju mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
