简体   繁体   English

NOVA [Errno 111]拒绝连接

[英]NOVA [Errno 111] Connection refused

I am trying to deploy icehouse version of openstack. 我正在尝试部署OpenStack的Icehouse版本。 I am running nova image-list and in response error is coming which is ERROR: [Errno 111] Connection refused . 我正在运行nova image-list并且在响应中出现错误,错误为ERROR: [Errno 111] Connection refused

I am not able to get any kind of logs due to which i am unable to find anything concrete to go further but i am able to get few things. 我无法获得任何种类的日志,因此我无法找到任何具体的进一步的信息,但我却能获得的东西很少。

1) When i run nova --debug image-list i get http://pastebin.com/zSBuADKb . 1)当我运行nova --debug image-list我得到http://pastebin.com/zSBuADKb

2) netstat -tpln is giving me this 2)netstat -tpln给我这个

tcp        0      0 0.0.0.0:5000            0.0.0.0:*               LISTEN      29774/python 
tcp        0      0 0.0.0.0:9292            0.0.0.0:*               LISTEN      5179/python 
tcp        0      0 0.0.0.0:35357           0.0.0.0:*               LISTEN      29774/python 
tcp        0      0 0.0.0.0:8775            0.0.0.0:*               LISTEN      9375/python     
tcp        0      0 0.0.0.0:9191            0.0.0.0:*               LISTEN      5130/python   

My endpoint is stating to use port 8774 but here port 8775 is used which i am not able to understand. 我的端点指出要使用端口8774,但此处使用了端口8775,我无法理解。

3) nova-manage service list is giving 3)新星管理服务清单

Binary           Host                                 Zone             Status     State Updated_At
nova-cert        ShivamS                              internal         enabled    :-)   2015-04-07 15:45:27
nova-consoleauth ShivamS                              internal         enabled    :-)   2015-04-07 15:45:27
nova-scheduler   ShivamS                              internal         enabled    :-)   2015-04-07 15:45:28
nova-conductor   ShivamS                              internal         enabled    :-)   2015-04-07 15:45:28
nova-console     ShivamS                              internal         enabled    :-)   2015-04-07 15:45:28
nova-compute     ShivamS                              nova             enabled    :-)   2015-04-07 15:45:28

4) When i am doing curl to endpoint of keystone or glance then i am getting response but in case of nova i am getting curl: (7) couldn't connect to host 4)当我卷曲到梯形失真或扫视的端点时,我得到响应,但是如果是新星,我curl: (7) couldn't connect to host

From all this i am thinking that endpoint is not getting made correctly but i am not able to get any thing from logs so i have no clue how to get this right. 从所有这些,我认为端点制作不正确,但是我无法从日志中获取任何信息,因此我不知道如何正确执行此操作。 All logs contain is related to connection to AMQP server. 所有日志包含与到AMQP服务器的连接有关。

Please help as i am not able to think at all what to do on this and i have seen previous question related to same error but they are of no help. 请帮忙,因为我根本无法考虑该怎么做,而且我已经看到了与相同错误相关的先前问题,但它们没有帮助。

好吧,敲了敲我的头后,我终于找到了答案,这是我的错误,因为没有在nova.conf中启用osapi_compute api。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM