一、报错信息
[root@controller ~]# . admin-openrc
[root@controller ~]# cinder service-list
ERROR: Unable to establish connection to http://controller:35357/v3/auth/tokens
[root@controller ~]# . admin-openrc
[root@controller ~]# cinder service-list
ERROR: Unable to establish connection to http://controller:35357/v3/auth/tokens
[root@controller ~]# openstack server list
Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.
Unable to establish connection to http://controller:35357/v3/auth/tokens
二、解决方法
1.检查两个节点修改的配置文件是否有误。
2.重启httpd、memcached服务
Controller节点
注:由the identity service failed可知可能是认证服务有问题
# systemctl restart httpd.service
# systemctl restart memcached.service
3.重启两个节点相应的cinder服务
Controller节点
# systemctl restart openstack-cinder-scheduler.service openstack-cinder-api.service
Compute节点
# systemctl restart openstack-cinder-volume.service target.service