360SDN.COM

openstack报错Unable to establish connection to http://controller:35357/v3/servic

来源:  2019-04-16 19:13:11    评论:0点击:

使用openstack命令使发现每一条命令都出现Unable to establish connection to http://controller:35357/v3/services

[root@controller ~]# openstack service create   --name keystone --description "OpenStack Identity" identity
Unable to establish connection to http://controller:35357/v3/services
[root@controller ~]# openstack service list
Unable to establish connection to http://controller:35357/v3/services


检查端口发现35357和5000没有启动

[root@controller ~]# ss -ntl | grep -E "5000|35357"
[root@controller ~]#


这两个端口对应的httpd服务

只需重启Apache即可

[root@controller ~]# systemctl restart httpd.service
[root@controller ~]# ss -ntl | grep -E "5000|35357"
LISTEN     0      128         :::5000                    :::*                  
LISTEN     0      128         :::35357                   :::*                  
[root@controller ~]# openstack service create   --name keystone --description "OpenStack Identity" identity
+-------------+----------------------------------+
| Field       | Value                            |
+-------------+----------------------------------+
| description | OpenStack Identity               |
| enabled     | True                             |
| id          | b9ce620f5bc94ca49756f271466d6d2d |
| name        | keystone                         |
| type        | identity                         |
+-------------+----------------------------------+
---------------------
 




原文:https://blog.csdn.net/controllerha/article/details/78701869
为您推荐

友情链接 |九搜汽车网 |手机ok生活信息网|ok生活信息网|ok微生活
 Powered by www.360SDN.COM   京ICP备11022651号-4 © 2012-2016 版权