Nova-compute fails if it doesn't wait for libvirt-bin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova (Ubuntu) |
In Progress
|
Undecided
|
Jian Wen |
Bug Description
If Nova-compute tries to start before libvirt-bin is up it will fail.
2013-10-08 07:24:16.703 2537 INFO nova.manager [-] Skipping periodic task _periodic_
2013-10-08 07:24:18.683 2537 INFO nova.virt.driver [-] Loading compute driver 'libvirt.
2013-10-08 07:24:19.243 INFO nova.openstack.
2013-10-08 07:24:19.281 2537 AUDIT nova.service [-] Starting compute node (version 2013.1.3)
2013-10-08 07:24:22.129 INFO nova.compute.
2013-10-08 07:24:22.654 2537 CRITICAL nova [-] End of file while reading data: Input/output error
2013-10-08 07:24:22.654 2537 TRACE nova Traceback (most recent call last):
2013-10-08 07:24:22.654 2537 TRACE nova File "/usr/bin/
2013-10-08 07:24:22.654 2537 TRACE nova service.wait()
2013-10-08 07:24:22.654 2537 TRACE nova File "/usr/lib/
2013-10-08 07:24:22.654 2537 TRACE nova _launcher.wait()
2013-10-08 07:24:22.654 2537 TRACE nova File "/usr/lib/
2013-10-08 07:24:22.654 2537 TRACE nova super(ServiceLa
2013-10-08 07:24:22.654 2537 TRACE nova File "/usr/lib/
2013-10-08 07:24:22.654 2537 TRACE nova service.wait()
2013-10-08 07:24:22.654 2537 TRACE nova File "/usr/lib/
2013-10-08 07:24:22.654 2537 TRACE nova return self._exit_
2013-10-08 07:24:22.654 2537 TRACE nova File "/usr/lib/
2013-10-08 07:24:22.654 2537 TRACE nova return hubs.get_
2013-10-08 07:24:22.654 2537 TRACE nova File "/usr/lib/
2013-10-08 07:24:22.654 2537 TRACE nova return self.greenlet.
2013-10-08 07:24:22.654 2537 TRACE nova File "/usr/lib/
2013-10-08 07:24:22.654 2537 TRACE nova result = function(*args, **kwargs)
2013-10-08 07:24:22.654 2537 TRACE nova File "/usr/lib/
2013-10-08 07:24:22.654 2537 TRACE nova server.start()
2013-10-08 07:24:22.654 2537 TRACE nova File "/usr/lib/
2013-10-08 07:24:22.654 2537 TRACE nova self.manager.
2013-10-08 07:24:22.654 2537 TRACE nova File "/usr/lib/
2013-10-08 07:24:22.654 2537 TRACE nova self._report_
2013-10-08 07:24:22.654 2537 TRACE nova File "/usr/lib/
2013-10-08 07:24:22.654 2537 TRACE nova capabilities = self.driver.
2013-10-08 07:24:22.654 2537 TRACE nova File "/usr/lib/
2013-10-08 07:24:22.654 2537 TRACE nova return self.host_
2013-10-08 07:24:22.654 2537 TRACE nova File "/usr/lib/
2013-10-08 07:24:22.654 2537 TRACE nova return self.host_
2013-10-08 07:24:22.654 2537 TRACE nova File "/usr/lib/
2013-10-08 07:24:22.654 2537 TRACE nova self.update_
2013-10-08 07:24:22.654 2537 TRACE nova File "/usr/lib/
2013-10-08 07:24:22.654 2537 TRACE nova self.driver.
2013-10-08 07:24:22.654 2537 TRACE nova File "/usr/lib/
2013-10-08 07:24:22.654 2537 TRACE nova return self.get_
2013-10-08 07:24:22.654 2537 TRACE nova File "/usr/lib/
2013-10-08 07:24:22.654 2537 TRACE nova return self._conn.
2013-10-08 07:24:22.654 2537 TRACE nova File "/usr/lib/
2013-10-08 07:24:22.654 2537 TRACE nova result = proxy_call(
2013-10-08 07:24:22.654 2537 TRACE nova File "/usr/lib/
2013-10-08 07:24:22.654 2537 TRACE nova rv = execute(
2013-10-08 07:24:22.654 2537 TRACE nova File "/usr/lib/
2013-10-08 07:24:22.654 2537 TRACE nova rv = meth(*args,
2013-10-08 07:24:22.654 2537 TRACE nova File "/usr/lib/
2013-10-08 07:24:22.654 2537 TRACE nova if ret is None: raise libvirtError ('virNodeGetInfo() failed', conn=self)
2013-10-08 07:24:22.654 2537 TRACE nova libvirtError: End of file while reading data: Input/output error
2013-10-08 07:24:22.654 2537 TRACE nova
Related branches
Changed in nova (Ubuntu): | |
assignee: | nobody → Jian Wen (wenjianhn) |
status: | New → In Progress |
tags: | removed: patch |
# TODO(wenjianhn):
1. steps to reproduce the bug
2. steps to verify the fix