ERROR (ConnectionError): HTTPConnectionPool (Caused by <class 'socket.error'>: [Errno 111] Connecti

突然有一天使用 nova list  出现错误了

[email protected]:~# nova list

ERROR:
HTTPConnectionPool(host=‘openstackcloud1‘, port=35357):
Max retries exceeded with url:
/v2.0/tokens (Caused
by <class
‘socket.error‘>:
[Errno
111]
Connection refused)

原因是  nova-api service   没有启动起来

结果启动 还失败了

# service openstack-nova-api restart

Redirecting to /bin/systemctl restart  openstack-nova-api.service

Job for openstack-nova-api.service failed. See ‘systemctl status openstack-nova-api.service‘ and ‘journalctl -xn‘ for details.

通过查询错误日志 /var/log/nova/nova-api.log

看到如下错误:

2015-07-21 04:11:30.800 6879 ERROR nova.wsgi [-] Could not bind to 0.0.0.0:8775

原因是

openstack-nova-api and openstack-nova-metadata-api both run on the same port so you are getting "Address already in use" error.Try stopping "openstack-nova-metadata-api" service and run "openstack-nova-api".

只需两步

# service openstack-nova-metadata-api stop

# service openstack-nova-api restart

成功了

[[email protected] Desktop]# service openstack-nova-metadata-api stop

Redirecting to /bin/systemctl stop  openstack-nova-metadata-api.service

[[email protected] Desktop]# service openstack-nova-api restart

Redirecting to /bin/systemctl restart  openstack-nova-api.service

版权声明:本文为博主原创文章,未经博主允许不得转载。

ERROR (ConnectionError): HTTPConnectionPool (Caused by <class 'socket.error'>: [Errno 111] Connecti

时间: 2024-11-09 04:48:14

ERROR (ConnectionError): HTTPConnectionPool (Caused by <class 'socket.error'>: [Errno 111] Connecti的相关文章

ERROR (ConnectionError): HTTPConnectionPool (Caused by &amp;lt;class &amp;#39;socket.error&amp;#39;&amp;gt;: [Errno 111] Connecti

感谢朋友支持本博客.欢迎共同探讨交流,因为能力和时间有限,错误之处在所难免.欢迎指正! 假设转载,请保留作者信息. 博客地址:http://blog.csdn.net/qq_21398167 原博文地址:http://blog.csdn.net/qq_21398167/article/details/46987669 突然有一天使用 nova list  出现错误了 [email protected]:~# nova list ERROR:HTTPConnectionPool(host='ope

Caused by: java.net.SocketException: Software caused connection abort: socket write error

1.错误描述 [ERROR:]2015-10-16 22:28:39,964 [异常拦截] exception.ExceptionHandler ClientAbortException: java.net.SocketException: Software caused connection abort: socket write error at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.ja

eclipse的TestNG报错java.net.SocketException: Software caused connection abort: socket write error&quot;

最近整了一个自动化项目,需要用到testng,安装的最新版本6.11.0老是提示错误java.net.SocketException: Software caused connection abort: socket write error" 百度了半天终于解决了,具体方法如下: 1,卸载eclipse中原安装的6.11.0版本 2,安装指定的版本6.8.22: 输入指定的版本地址安装.http://beust.com/eclipse-old/eclipse_6.8.22.20150507032

testNG java.net.SocketException: Software caused connection abort: socket write error

执行用例报错,提示 java.net.SocketException: Software caused connection abort: socket write error java.net.SocketException: Software caused connection abort: socket write error at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutpu

[项目笔记]---Socket Error Code翻译

前言 在项目中为了方便调试及客户反馈,需要Socket错误数字的中文解释,MSDN上只有英文版,同时也想自己学习而且方便将来更新ErrorCode的实际发生的情景,顾有此博文. MSDN:https://msdn.microsoft.com/zh-cn/library/ms740668(v=vs.85).aspx 映射表 ErrorCode en-US Info zh-CN Info Details 6 Specified event object handle is invalid. 指定事件

Delphi 通信报Asynchronous socket error 10053错误的一个解决方法

在使用Delphi中的TClientSocket和TServerSocket进行通信编程时,当使用TClientSocket这方的客户端使用TClientSocket.close断开连接并退出程序时,使用TServerSocket这方的服务端有时会报‘’Asynchronous socket error 10053‘这个错误,查阅了这个错误说明:Software caused connection abort.(因软件原因导致连接终止).这个原因说明很鸡肋,因为你还是无法确定到底是哪个地方出现了

socket error code

Error Codes The ERRNO values below are set when API calls fail. Use xn_getlasterror to retrieve the error code after an API call fails. Functionxn_geterror_string) can be used to retrieve the string name of a particular error code. All errno values a

Socket Error # 10013 Access denied

--------------------------- Debugger Exception Notification --------------------------- Project xxx.exe raised exception class EIdSocketError with message 'Socket Error # 10013 Access denied.'. --------------------------- Break   Continue   Help   --

supervisorctl error: &lt;class &#39;socket.error&#39;&gt;

http://stackoverflow.com/questions/18859063/supervisor-socket-error-issue supervisorctl reread error: <class 'socket.error'>, [Errno 111] Connection refused: file: /usr/lib64/python2.6/socket.py line: 56 You have to start supervisord before you can