Validation error while adding openstack cloud provider


#1

Im trying to add an openstack newton provider but getting this error when trying to validate:

“Credential validation was not successful: Login failed due to a bad username or password.”

I’m using the following values:

API: keystone v3
Domain ID: default
Zone: Default zone
Username: admin (openstack admin user)

I can login to horizon dashboard with the same credentials with no problem.

-jfsl


#2

Have you try to add the Region name while you adding the provider.


#3

Apparently the openstack admin account doesn’t have an admin role on that default domain (by default), and needed to be granted admin role explicitly.

After running - openstack role add --domain default --user admin admin, validation went thru.