Openstack安装过程中遇到的问题

Openstack安装过程中遇到的问题

centos7安装queens时出现的问题------在keystone安装阶段请求认证令牌出现错误

[root@controller ~]# vim admin-openrc
export OS_USERNAME=admin
export OS_PASSWORD=centos
export OS_PROJECT_NAME=admin
export OS_USER_DOMAIN_NAME=Default
export OS_PROJECT_DOMAIN_NAME=Default
export OS_AUTH_URL=http://10.0.0.10:5000/v3
export OS_IDENTITY_API_VERSION=3
[root@controller ~]# openstack user list
The request you have made requires authentication. (HTTP 401) (Request-ID: req-e69da3bd-2aed-4c33-9e55-18ab82a789d2)

解决:将Default改成default,此时,请求认证令牌成功。
[root@controller ~]# vim admin-openrc
export OS_USERNAME=admin
export OS_PASSWORD=centos
export OS_PROJECT_NAME=admin
export OS_USER_DOMAIN_NAME=default
export OS_PROJECT_DOMAIN_NAME=default
export OS_AUTH_URL=http://10.0.0.10:5000/v3
export OS_IDENTITY_API_VERSION=3
[root@controller ~]# openstack user list
±---------------------------------±------+
| ID | Name |
±---------------------------------±------+
| e9f80d754ba743b09ac63b7436522d5f | admin |
±---------------------------------±------+

你可能感兴趣的:(Openstack安装过程中遇到的问题)