openstack报错Missing value auth-url required for auth plugin password
完整报错信息如下
stack@openstack:~/devstack-stable-yoga$ openstack service list
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
Missing value auth-url required for auth plugin password
报错原因:
缺少环境变量导致。
解决办法:
cat>>admin-openrc<<EOF
export OS_USERNAME=admin
#密码是你安装openstack时的设置的统一密码
export OS_PASSWORD=b9fb3595f756daf08c83
export OS_PROJECT_NAME=admin
export OS_USER_DOMAIN_NAME=Default
export OS_PROJECT_DOMAIN_NAME=Default
#你刚才查到的keystone的认证url
export OS_AUTH_URL=http://10.168.1.107/identity
export OS_IDENTITY_API_VERSION=3
EOF
使环境变量生效
source admin-openrc
再次使用openstack命令查看
主题授权提示:请在后台主题设置-主题授权-激活主题的正版授权,授权购买:RiTheme官网
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。