Ask Your Question
0

glance image-create time out

asked 2013-03-04 11:12:00 -0500

a-iwanowski gravatar image

Hello.

Im trying to install OpenStack using this manual - http://docs.openstack.org/folsom/basic-install/content/basic-install_intro.html (http://docs.openstack.org/folsom/basi...) After encoutering few problems i came across one that i can't solve.

root@controller:~# glance image-create --location http://uec-images.ubuntu.com/releases/12.04/release/ubuntu-12.04-server-cloudimg-amd64-disk1.img (http://uec-images.ubuntu.com/releases...) --is-public true --disk-format qcow2 --container-format bare --name "Ubuntu" Error communicating with /v1/images: timed out

and

root@controller:~# glance image-list Error communicating with /v1/images/detail?limit=20: timed out

I followed manual step by step, did same network config ect. Any ideas what to do with? I can include listings of my conf files if needed.

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2013-03-05 14:57:07 -0500

It's pretty obvious that Glance can't talk to your amqp server to send it's notifications. Glance admittedly isn't handling this failure very well, but you could get around this by either tracking down why that connection fails or by turning off notifications altogether.

edit flag offensive delete link more
0

answered 2013-03-05 08:08:59 -0500

a-iwanowski gravatar image

Hey.

I tryied to download image through Glance. This is listing of my glance api log :

2013-03-04 11:55:06 1541 INFO glance.notifier.notify_kombu [-] Reconnecting to AMQP server on localhost:5672 2013-03-04 11:55:09 1541 ERROR glance.notifier.notify_kombu [-] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 30 seconds. 2013-03-04 11:55:09 1541 TRACE glance.notifier.notify_kombu Traceback (most recent call last): 2013-03-04 11:55:09 1541 TRACE glance.notifier.notify_kombu File "/usr/lib/python2.7/dist-packages/glance/notifier/notify_kombu.py", line 130, in reconnect 2013-03-04 11:55:09 1541 TRACE glance.notifier.notify_kombu self._connect() 2013-03-04 11:55:09 1541 TRACE glance.notifier.notify_kombu File "/usr/lib/python2.7/dist-packages/glance/notifier/notify_kombu.py", line 102, in _connect 2013-03-04 11:55:09 1541 TRACE glance.notifier.notify_kombu self.connection.connect() 2013-03-04 11:55:09 1541 TRACE glance.notifier.notify_kombu File "/usr/lib/python2.7/dist-packages/kombu/connection.py", line 146, in connect 2013-03-04 11:55:09 1541 TRACE glance.notifier.notify_kombu return self.connection 2013-03-04 11:55:09 1541 TRACE glance.notifier.notify_kombu File "/usr/lib/python2.7/dist-packages/kombu/connection.py", line 574, in connection 2013-03-04 11:55:09 1541 TRACE glance.notifier.notify_kombu self._connection = self._establish_connection() 2013-03-04 11:55:09 1541 TRACE glance.notifier.notify_kombu File "/usr/lib/python2.7/dist-packages/kombu/connection.py", line 533, in _establish_connection 2013-03-04 11:55:09 1541 TRACE glance.notifier.notify_kombu conn = self.transport.establish_connection() 2013-03-04 11:55:09 1541 TRACE glance.notifier.notify_kombu File "/usr/lib/python2.7/dist-packages/kombu/transport/amqplib.py", line 279, in establish_connection 2013-03-04 11:55:09 1541 TRACE glance.notifier.notify_kombu connect_timeout=conninfo.connect_timeout) 2013-03-04 11:55:09 1541 TRACE glance.notifier.notify_kombu File "/usr/lib/python2.7/dist-packages/kombu/transport/amqplib.py", line 89, in __init__ 2013-03-04 11:55:09 1541 TRACE glance.notifier.notify_kombu super(Connection, self).__init__(args, *kwargs) 2013-03-04 11:55:09 1541 TRACE glance.notifier.notify_kombu File "/usr/lib/python2.7/dist-packages/amqplib/client_0_8/connection.py", line 144, in __init__ 2013-03-04 11:55:09 1541 TRACE glance.notifier.notify_kombu (10, 30), # tune 2013-03-04 11:55:09 1541 TRACE glance.notifier.notify_kombu File "/usr/lib/python2.7/dist-packages/amqplib/client_0_8/abstract_channel.py", line 95, in wait 2013-03-04 11:55:09 1541 TRACE glance.notifier.notify_kombu self.channel_id, allowed_methods) 2013-03-04 11:55:09 1541 TRACE glance.notifier.notify_kombu File "/usr/lib/python2.7/dist-packages/amqplib/client_0_8/connection.py", line 202, in _wait_method 2013-03-04 11:55:09 1541 TRACE glance.notifier.notify_kombu self.method_reader.read_method() 2013-03-04 11:55:09 1541 TRACE glance.notifier.notify_kombu File "/usr/lib/python2.7/dist-packages/amqplib/client_0_8/method_framing.py", line 221, in read_method 2013-03-04 11:55:09 1541 TRACE glance.notifier.notify_kombu raise m 2013-03-04 11:55:09 1541 TRACE glance.notifier.notify_kombu IOError: Socket closed

edit flag offensive delete link more
0

answered 2013-03-04 17:40:56 -0500

You should look in your glance-api log for any ERROR or TRACE lines. It's not obvious from your report what exactly is failing. Did you attempt to download this image through Glance, or just view the metadata?

edit flag offensive delete link more

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: 2013-03-04 11:12:00 -0500

Seen: 228 times

Last updated: Mar 05 '13