Ask Your Question

Connection timed out when running nova image-list

asked 2014-10-10 04:40:25 -0500

zhalin gravatar image

updated 2014-10-10 04:58:46 -0500

smaffulli gravatar image

hi when i run nova image-list, return this error

 nova image-list ERROR: HTTPConnectionPool(host='controller', port=8774): Max retries exceeded with url: /v2/199f8db8f3b148f39036d99ae14ba519/images/detail (Caused by <class 'socket.error'>: [Errno 110] Connectio timed out)

please help me i dont know how to solve it

edit retag flag offensive close merge delete


Put your log file content(Glance and Nova log files) on your post.

Mzoorikh gravatar imageMzoorikh ( 2014-10-10 04:50:28 -0500 )edit

i m beginner, with what command do it?

zhalin gravatar imagezhalin ( 2014-10-10 04:56:58 -0500 )edit

Search this site before posting new questions, and provide more details. If you don't know how to look for logs in your system then you have a long way before you can successfully operate a cloud.

smaffulli gravatar imagesmaffulli ( 2014-10-10 04:59:37 -0500 )edit

Go to /var/log/nova and /var/log/glance and check nova-compute.log, nova-api.log, /var/log/glance/api.log and paste the suspected contents on your post.

Mzoorikh gravatar imageMzoorikh ( 2014-10-10 05:03:36 -0500 )edit

i m learning to operate a cloud, by trial and error

zhalin gravatar imagezhalin ( 2014-10-10 05:04:10 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2014-10-10 06:09:11 -0500

zhalin gravatar image

2014-09-10 15:46:57.863 2614 CRITICAL nova [-] processExecutionError:Unexpected error while running command. command: sudo nova-rootwrap /etc/nova/rootwrap.conf iptables-save -c Exit code: 1

edit flag offensive delete link more

answered 2014-10-10 06:54:11 -0500

updated 2014-10-10 07:30:34 -0500

This is a problem with your kernel modules and specially iptables. Check your nova-compute.log to find something like:

stderr: "iptables-restore v1.4.21: iptables-restore: unable to...

I think some iptables modules are not enabled in your kernel which causes this error(Maybe iptable_filter module is not loaded into your kernel). So please provide more info.

Atleast write exactly few next lines after "command: sudo nova-rootwrap /etc/nova/rootwrap.conf iptables-save -c Exit code: 1" line of your log file in this post, to help us find exact problem.

edit flag offensive delete link more


command: sudo nova-rootwrap /etc/nova/rootwrap.conf iptables-save -c Exit code: 1 stdout:'' stderr: 'traceback (most recent call last):\n file "/usr/bin/nova-rootwrap", line 6, in <module>\n from oslo.rootwrap.cmd import main\nImportError: no module named rootwrap.cmd\n'

zhalin gravatar imagezhalin ( 2014-10-10 08:53:19 -0500 )edit

I think you missed to install python rootwrap module.

Mzoorikh gravatar imageMzoorikh ( 2014-10-10 08:59:14 -0500 )edit

i dont have nova-compute.log on my controller node

zhalin gravatar imagezhalin ( 2014-10-10 08:59:40 -0500 )edit

how to install this module?

zhalin gravatar imagezhalin ( 2014-10-10 09:00:19 -0500 )edit

Try the following command to install it:

sudo apt-get install python-oslo.rootwrap
Mzoorikh gravatar imageMzoorikh ( 2014-10-10 09:00:41 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-10-10 04:40:25 -0500

Seen: 717 times

Last updated: Oct 10 '14