在搭建openstack时,遇到opnestack命令使用时出现以下错误

[root@ct ~]# openstack user list
Failed to discover available identity versions when contacting http://ct:5000/v3. Attempting to parse version from URL.
Unable to establish connection to http://ct:5000/v3/auth/tokens: HTTPConnectionPool(host='ct', port=5000): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f66d4cdbb50>: Faile

报错原因:当前主机名与不一致,尽量主机名不要用大写

 

更多推荐