Ask Your Question
0

IOError: Socket closed

asked 2013-05-20 13:02:26 -0500

graklaudia gravatar image

Hi, imstances couldnt spawn. I get log:

root@grizzly-controller:~# tail /var/log/nova/nova-scheduler.log 2013-05-20 14:39:12.476 1487 TRACE nova.openstack.common.rpc.common File "/usr/lib/python2.7/dist-packages/amqplib/client_0_8/connection.py", line 202, in _wait_method 2013-05-20 14:39:12.476 1487 TRACE nova.openstack.common.rpc.common self.method_reader.read_method() 2013-05-20 14:39:12.476 1487 TRACE nova.openstack.common.rpc.common File "/usr/lib/python2.7/dist-packages/amqplib/client_0_8/method_framing.py", line 221, in read_method 2013-05-20 14:39:12.476 1487 TRACE nova.openstack.common.rpc.common raise m 2013-05-20 14:39:12.476 1487 TRACE nova.openstack.common.rpc.common IOError: Socket closed 2013-05-20 14:39:12.476 1487 TRACE nova.openstack.common.rpc.common 2013-05-20 14:39:12.479 INFO nova.openstack.common.rpc.common [req-e0bd58e8-66db-4275-b38a-7f6c35adf388 e693f348f6a74c5ea6f4898b428f10fe 017d9ac43fb943dcbac74f65255fcd8c] Reconnecting to AMQP server on localhost:5672 2013-05-20 14:39:12.483 INFO nova.openstack.common.rpc.common [req-e0bd58e8-66db-4275-b38a-7f6c35adf388 e693f348f6a74c5ea6f4898b428f10fe 017d9ac43fb943dcbac74f65255fcd8c] Connected to AMQP server on localhost:5672 2013-05-20 14:39:55.527 ERROR nova.scheduler.filter_scheduler [req-e0bd58e8-66db-4275-b38a-7f6c35adf388 e693f348f6a74c5ea6f4898b428f10fe 017d9ac43fb943dcbac74f65255fcd8c] [instance: 3ac23666-d5c4-43e6-854a-d867ef0d922a] Error from last host: grizzly-compute (node grizzly-compute): [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 834, in _run_instance\n set_access_ip=set_access_ip)\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1093, in _spawn\n LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u' File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__\n self.gen.next()\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1089, in _spawn\n block_device_info)\n', u' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 1520, in spawn\n block_device_info)\n', u' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2435, in _create_domain_and_network\n domain = self._create_domain(xml, instance=instance)\n', u' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2396, in _create_domain\n domain.createWithFlags(launch_flags)\n', u' File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 187, in doit\n result = proxy_call(self._autowrap, f, args, kwargs)\n', u' File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 147, in proxy_call\n rv = execute(f,args,kwargs)\n', u' File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 76, in tworker\n rv = meth(args,*kwargs)\n', u' File "/usr/lib/python2.7/dist-packages/libvirt.py", line 711, in createWithFlags\n if ret == -1: raise libvirtError (\'virDomainCreateWithFlags() failed\', dom=self)\n', u"libvirtError: Cannot get interface MTU on 'br-int': No such device\n"] 2013-05-20 14:39:55.539 WARNING nova.scheduler.driver [req-e0bd58e8-66db-4275-b38a-7f6c35adf388 e693f348f6a74c5ea6f4898b428f10fe 017d9ac43fb943dcbac74f65255fcd8c] [instance: 3ac23666-d5c4-43e6-854a-d867ef0d922a] Setting instance to ERROR state.

Does anybody have idea what can be the reason?

edit retag flag offensive close merge delete

14 answers

Sort by ยป oldest newest most voted
0

answered 2013-05-22 17:58:34 -0500

/etc/quantum/quantum.conf: rabbit_host = localhost

edit flag offensive delete link more
0

answered 2013-05-22 18:57:14 -0500

What's the output to telnet 10.10.10.10 5672

edit flag offensive delete link more
0

answered 2013-05-28 13:58:38 -0500

graklaudia gravatar image

Ok, I manage to solve this problem. thank you all

edit flag offensive delete link more
0

answered 2013-12-16 19:52:45 -0500

what was the issues? was it some config issue?

T N

edit flag offensive delete link more
0

answered 2013-05-22 18:47:44 -0500

graklaudia gravatar image

i have rabbit_host = 10.10.10.10

10.10.10.10 is controller ip

Someting else... is wrong, any ideas?

edit flag offensive delete link more
0

answered 2013-05-22 17:41:49 -0500

graklaudia gravatar image

Ok. Thank you. And if quantum server can't connect to the message bus, what shoul I check / what shuld I do , to change it and make possible for quantum-server to connect to the message bus?

edit flag offensive delete link more
0

answered 2013-05-20 15:56:14 -0500

The issue is the nova-compute node that this vm is trying to start on does not have a br-int.

See: u"libvirtError: Cannot get interface MTU on 'br-int': No such device\

edit flag offensive delete link more
0

answered 2013-05-21 02:18:07 -0500

gongysh gravatar image

try to run 'sudo ovs-vsctrl add-br br-int' first

edit flag offensive delete link more
0

answered 2013-05-21 17:40:40 -0500

You'll need to provide us the nova-compute log for us to help. That's where the relivent error message is.

edit flag offensive delete link more
0

answered 2013-05-21 16:47:10 -0500

graklaudia gravatar image

Ok, thank you. But I understand that i have to add this bridge on compute node? or where? (compute, ntwork, controller) I added. I have br-int on compute and I have br-int on network node. But Vm also dont work. I get Error state. :(

This time log is shorter:

2013-05-21 18:15:13.701 WARNING nova.scheduler.driver [req-00a6241f-305c-40c9-9508-0b766cf24df6 e693f348f6a74c5ea6f4898b428f10fe 017d9ac43fb943dcbac74f65255fcd8c] [instance: acfba861-f199-40be-b8fd-c217028f75fa] Setting instance to ERROR state.

well.. what to do?

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-05-20 13:02:26 -0500

Seen: 587 times

Last updated: Dec 16 '13