<div dir="ltr"><div>Hi Bill,<br><br></div>Could you please check whether libvirt daemon works well?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 14, 2014 at 6:52 PM, Bill WONG <span dir="ltr"><<a href="mailto:wongahshuen@gmail.com" target="_blank">wongahshuen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi All,<br><br></div>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!<br>
</div><div>(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.)<br>
<br></div><div>---- nova-compute.log ---<br>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<br>2014-08-14 15:09:10.508 13058 INFO nova.virt.driver [-] Loading compute driver 'libvirt.LibvirtDriver'<br>
2014-08-14 15:09:10.532 13058 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on controller:5672<br>2014-08-14 15:09:10.551 13058 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on controller:5672<br>
2014-08-14 15:09:10.613 13058 AUDIT nova.service [-] Starting compute node (version 2014.1.2)<br>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.<br>
2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver Traceback (most recent call last):<br>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<br>
2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver service = service_obj.Service.get_by_compute_host(ctx, CONF.host)<br>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<br>
2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver args, kwargs)<br>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<br>
2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver objver=objver, args=args, kwargs=kwargs)<br>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<br>
2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver wait_for_reply=True, timeout=timeout)<br>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<br>
2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver timeout=timeout)<br>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<br>
2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver return self._send(target, ctxt, message, wait_for_reply, timeout)<br>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<br>
2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver result = self._waiter.wait(msg_id, timeout)<br>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<br>
2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver reply, ending = self._poll_connection(msg_id, timeout)<br>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<br>
2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver % msg_id)<br>2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver MessagingTimeout: Timed out waiting for a reply to message ID b881acc7092543a0affe821f34a7b531<br>
2014-08-14 15:10:10.678 13058 TRACE nova.virt.libvirt.driver<br>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<br>2014-08-14 15:10:10.687 13058 ERROR nova.openstack.common.threadgroup [-] internal error: client socket is closed<br>
2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup Traceback (most recent call last):<br>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<br>
2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup x.wait()<br>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<br>
2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup return self.thread.wait()<br>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<br>
2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup return self._exit_event.wait()<br>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<br>
2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup return hubs.get_hub().switch()<br>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<br>
2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup return self.greenlet.switch()<br>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<br>
2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup result = function(*args, **kwargs)<br>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<br>
2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup service.start()<br>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<br>
2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup self.manager.init_host()<br>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<br>
2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup self.driver.init_host(host=self.host)<br>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<br>
2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup self._do_quality_warnings()<br>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<br>
2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup caps = self.get_host_capabilities()<br>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<br>
2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup xmlstr = self._conn.getCapabilities()<br>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<br>
2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup result = proxy_call(self._autowrap, f, *args, **kwargs)<br>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<br>
2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup rv = execute(f,*args,**kwargs)<br>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<br>
2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup rv = meth(*args,**kwargs)<br>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<br>
2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup if ret is None: raise libvirtError ('virConnectGetCapabilities() failed', conn=self)<br>2014-08-14 15:10:10.687 13058 TRACE nova.openstack.common.threadgroup libvirtError: internal error: client socket is closed<br>
----<br>libvirtd.log full log<br>-- libvirtd.log -<br>2014-08-14 07:09:40.656+0000: 5912: info : libvirt version: 1.2.2<br>2014-08-14 07:09:40.656+0000: 5912: warning : virKeepAliveTimerInternal:140 : No response from client 0x7f7a1d1796c0 after 5 keepalive messages in 30 seconds<br>
<br>---<br><br><br></div>Thx<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888">Bill<br></font></span></div>
<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><div>Tang Yaguang</div><div><br></div><br><div> </div></div>
</div>