Missing value auth-url required for auth plugin password

安装openstack中

#输入命令
openstack compute service list --service nova-compute
#报错
Missing value auth-url required for auth plugin password

 

新建admin-openrc.sh(目录位置不重要,记住位置就行),内容如下,记得修改OS_PASSWORD的值,我的是123456

 

1 export OS_USERNAME=admin
2 export OS_PASSWORD=123456
3 export OS_PROJECT_NAME=admin
4 export OS_USER_DOMAIN_NAME=Default
5 export OS_PROJECT_DOMAIN_NAME=Default
6 export OS_AUTH_URL=http://controller:35357/v3
7 export OS_IDENTITY_API_VERSION=3

 

执行命令

 

. admin-openrc

 

posted @ 2019-11-11 23:06  蓝银花  阅读(7046)  评论(0编辑  收藏  举报
Live2D