Ask Your Question
0

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

Comments

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
1

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

http:// (image description)

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

http:// (image description)

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

please help me i m using Ubuntu server 12.4 on virtualbox, i cont use copy&past in this environment, i have to post theses images

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

Atleast read log files by your self, find (CRITICAL) ERROR lines, and type the errors. Or upload your snapshots on file hosting websites and put the links here.

Mzoorikh gravatar imageMzoorikh ( 2014-10-10 05:43:30 -0500 )edit

2014-09-10 14:16:21.372 6317 CRITICAL nova [-] processExecutionError:Unexpected error while running command. command: sudo nova-rootwrap /etc/nova/rootwrap.conf iptables-save -c Exit code: 1 2014-09-10 14:42:33.816 6962 CRITICAL nova [-] processExecutionError:Unexpected error while running command.

zhalin gravatar imagezhalin ( 2014-10-10 06:02:12 -0500 )edit

2014-09-10 14:52:55.044 870 CRITICAL nova [-] processExecutionError:Unexpected error while running command. command: sudo nova-rootwrap /etc/nova/rootwrap.conf iptables-save -c Exit code: 1

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

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

zhalin gravatar imagezhalin ( 2014-10-10 06:06:42 -0500 )edit

i sent nova-api.log, there was not nova-comput.log

zhalin gravatar imagezhalin ( 2014-10-10 06:29:57 -0500 )edit

i m wating for your answer and your help

zhalin gravatar imagezhalin ( 2014-10-10 06:35:57 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

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
0

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

Comments

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 566 times

Last updated: Oct 10 '14