Tag Archives: openstack install error

[Solved] openstack Missing value auth-url required for auth plugin password

Install according to the openstack official website and execute:

openstack project create –domain default \
–description “Service Project” service
appear:

Missing value auth-url required for auth plugin password

[root@controller ~]# openstack project create --domain default \
> --description "Service Project" service
Missing value auth-url required for auth plugin password

Solution:

Create a new admin-openrc.sh (directory location is not important, just remember the location), the content is as follows, remember to modify the value of OS_PASSWORD, mine is 123123

export OS_USERNAME=admin
export OS_PASSWORD=123123
export OS_PROJECT_NAME=admin
export OS_USER_DOMAIN_NAME=Default
export OS_PROJECT_DOMAIN_NAME=Default
export OS_AUTH_URL=http://controller:35357/v3
export OS_IDENTITY_API_VERSION=3
source admin-openrc.sh

Supplement: Clear the environment variables set by export

unset OS_USERNAME
unset OS_PASSWORD
unset OS_PROJECT_NAME
unset OS_USER_DOMAIN_NAME
unset OS_PROJECT_DOMAIN_NAME
unset OS_AUTH_URL
unset OS_IDENTITY_API_VERSION

View environment variables

env | grep OS