[Openstack] nova-compute unable to start

Yaguang Tang heut2008 at gmail.com
Mon Aug 18 06:52:26 UTC 2014


Hi Bill,

Could you please check whether libvirt daemon works well?


On Thu, Aug 14, 2014 at 6:52 PM, Bill WONG <wongahshuen at gmail.com> wrote:

> Hi All,
>
> i installed the 3 nodes OpenStack with Ubuntu 14.04.1, i followed the
> document @ openstack official website, i installed everything, and it looks
> fine. but i don't know why nova-compute is unable to startup at Compute
> node. the log as below: please anyone can help with? thank you!
> (p.s. few weeks, before, i can installed and working without problem, but
> don't know why suddnely now it is not working, i am very sure, all steps
> and necessary packages have been installed and tried to re-install many
> times, but the result is the same.)
>
> ---- nova-compute.log ---
> 2014-08-14 15:09:10.474 13058 INFO nova.openstack.common.periodic_task [-]
> Skipping periodic task _periodic_update_dns because its interval is negative
> 2014-08-14 15:09:10.508 13058 INFO nova.virt.driver [-] Loading compute
> driver 'libvirt.LibvirtDriver'
> 2014-08-14 15:09:10.532 13058 INFO oslo.messaging._drivers.impl_rabbit [-]
> Connected to AMQP server on controller:5672
> 2014-08-14 15:09:10.551 13058 INFO oslo.messaging._drivers.impl_rabbit [-]
> Connected to AMQP server on controller:5672
> 2014-08-14 15:09:10.613 13058 AUDIT nova.service [-] Starting compute node
> (version 2014.1.2)
> 2014-08-14 15:10:10.678 13058 WARNING nova.virt.libvirt.driver
> [req-68c41414-06de-4cc2-9981-4caf14320716 None None] Cannot update service
> status on host: compute1,due to an unexpected exception.
> 2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver Traceback
> (most recent call last):
> 2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver   File
> "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2834,
> in _set_host_enabled
> 2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver     service =
> service_obj.Service.get_by_compute_host(ctx, CONF.host)
> 2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver   File
> "/usr/lib/python2.7/dist-packages/nova/objects/base.py", line 110, in
> wrapper
> 2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver     args,
> kwargs)
> 2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver   File
> "/usr/lib/python2.7/dist-packages/nova/conductor/rpcapi.py", line 425, in
> object_class_action
> 2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver
> objver=objver, args=args, kwargs=kwargs)
> 2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver   File
> "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py", line 150,
> in call
> 2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver
> wait_for_reply=True, timeout=timeout)
> 2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver   File
> "/usr/lib/python2.7/dist-packages/oslo/messaging/transport.py", line 90, in
> _send
> 2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver
> timeout=timeout)
> 2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver   File
> "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py",
> line 412, in send
> 2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver     return
> self._send(target, ctxt, message, wait_for_reply, timeout)
> 2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver   File
> "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py",
> line 403, in _send
> 2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver     result =
> self._waiter.wait(msg_id, timeout)
> 2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver   File
> "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py",
> line 267, in wait
> 2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver     reply,
> ending = self._poll_connection(msg_id, timeout)
> 2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver   File
> "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py",
> line 217, in _poll_connection
> 2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver     % msg_id)
> 2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver
> MessagingTimeout: Timed out waiting for a reply to message ID
> b881acc7092543a0affe821f34a7b531
> 2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver
> 2014-08-14 15:10:10.683 13058 WARNING nova.virt.libvirt.driver [-] URI
> qemu:///system does not support events: Cannot write data: Broken pipe
> 2014-08-14 15:10:10.687 13058 ERROR nova.openstack.common.threadgroup [-]
> internal error: client socket is closed
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> Traceback (most recent call last):
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> File
> "/usr/lib/python2.7/dist-packages/nova/openstack/common/threadgroup.py",
> line 117, in wait
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> x.wait()
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> File
> "/usr/lib/python2.7/dist-packages/nova/openstack/common/threadgroup.py",
> line 49, in wait
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> return self.thread.wait()
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 168,
> in wait
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> return self._exit_event.wait()
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> return hubs.get_hub().switch()
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 187, in
> switch
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> return self.greenlet.switch()
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 194,
> in main
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> result = function(*args, **kwargs)
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> File "/usr/lib/python2.7/dist-packages/nova/openstack/common/service.py",
> line 483, in run_service
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> service.start()
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> File "/usr/lib/python2.7/dist-packages/nova/service.py", line 163, in start
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> self.manager.init_host()
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1030,
> in init_host
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> self.driver.init_host(host=self.host)
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line
> 658, in init_host
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> self._do_quality_warnings()
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line
> 641, in _do_quality_warnings
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> caps = self.get_host_capabilities()
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line
> 2870, in get_host_capabilities
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> xmlstr = self._conn.getCapabilities()
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 179, in doit
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> result = proxy_call(self._autowrap, f, *args, **kwargs)
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 139, in
> proxy_call
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> rv = execute(f,*args,**kwargs)
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 77, in
> tworker
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> rv = meth(*args,**kwargs)
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3300, in
> getCapabilities
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> if ret is None: raise libvirtError ('virConnectGetCapabilities() failed',
> conn=self)
> 2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup
> libvirtError: internal error: client socket is closed
> ----
> libvirtd.log full log
> -- libvirtd.log -
> 2014-08-14 07:09:40.656+0000: 5912: info : libvirt version: 1.2.2
> 2014-08-14 07:09:40.656+0000: 5912: warning :
> virKeepAliveTimerInternal:140 : No response from client 0x7f7a1d1796c0
> after 5 keepalive messages in 30 seconds
>
> ---
>
>
> Thx
>
> Bill
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>


-- 
Tang Yaguang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140818/254c4a6d/attachment.html>


More information about the Openstack mailing list