<HTML>
<HEAD>
<TITLE>Re: [Openstack] Qemu error?</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>ctoteam@buildingbuild:~$ sudo modprobe nbd<BR>
ctoteam@buildingbuild:~$ <BR>
<BR>
Is there supposed to be devices there??<BR>
<BR>
On 8/15/11 10:23 PM, "Yuriy Taraday" <<a href="yorik.sar@gmail.com">yorik.sar@gmail.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>You probably should try to do "modprobe nbd" before running nova. This will create list of nbd devices that nova uses to inject keys and get images ready to start VM from them.<BR>
<BR>
Kind regards, Yuriy.<BR>
<BR>
<BR>
<BR>
On Tue, Aug 16, 2011 at 06:18, Joshua Harlow <<a href="harlowja@yahoo-inc.com">harlowja@yahoo-inc.com</a>> wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi all,<BR>
<BR>
Another error that others may have seen:<BR>
Is it supposed to continue even if this fails?<BR>
This is for running xen btw (this is running on nova-compute in a xen dom0 instance).<BR>
<BR>
ting data into image 3 (Unexpected error while running command.<BR>
Command: sudo qemu-nbd -c /dev/nbd14 /home/ctoteam/nova/nova/..//instances/instance-0000000a/disk<BR>
Exit code: 1<BR>
Stdout: ''<BR>
<B>Stderr: "qemu-nbd: Could not access '/dev/nbd14': No such file or directory\n")<BR>
</B>libvir: Xen Daemon error : XML error: failed to parse domain description<BR>
2011-08-15 19:16:29,374 ERROR nova.exception [-] Uncaught exception<BR>
(nova.exception): TRACE: Traceback (most recent call last):<BR>
(nova.exception): TRACE:   File "/home/ctoteam/nova/nova/exception.py", line 97, in wrapped<BR>
(nova.exception): TRACE:     return f(*args, **kw)<BR>
(nova.exception): TRACE:   File "/home/ctoteam/nova/nova/virt/libvirt/connection.py", line 603, in spawn<BR>
(nova.exception): TRACE:     domain = self._create_new_domain(xml)<BR>
(nova.exception): TRACE:   File "/home/ctoteam/nova/nova/virt/libvirt/connection.py", line 1078, in _create_new_domain<BR>
(nova.exception): TRACE:     domain = self._conn.defineXML(xml)<BR>
(nova.exception): TRACE:   File "/usr/lib/python2.6/dist-packages/libvirt.py", line 1869, in defineXML<BR>
(nova.exception): TRACE:     if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self)<BR>
(nova.exception): TRACE: libvirtError: XML error: failed to parse domain description<BR>
(nova.exception): TRACE: <BR>
2011-08-15 19:16:29,375 ERROR nova.compute.manager [-] Instance '10' failed to spawn. Is virtualization enabled in the BIOS? Details: XML error: failed to parse domain description<BR>
(nova.compute.manager): TRACE: Traceback (most recent call last):<BR>
(nova.compute.manager): TRACE:   File "/home/ctoteam/nova/nova/compute/manager.py", line 329, in _run_instance<BR>
(nova.compute.manager): TRACE:     self.driver.spawn(instance, network_info, bd_mapping)<BR>
(nova.compute.manager): TRACE:   File "/home/ctoteam/nova/nova/exception.py", line 124, in wrapped<BR>
(nova.compute.manager): TRACE:     raise Error(str(e))<BR>
(nova.compute.manager): TRACE: Error: XML error: failed to parse domain description<BR>
(nova.compute.manager): TRACE: <BR>
libvir: Xen error : Domain not found: xenUnifiedDomainLookupByName<BR>
2011-08-15 19:16:51,893 INFO nova.compute.manager [-] Found instance 'instance-00000005' in DB but no VM. State=5 <BR>
<BR>
_______________________________________________<BR>
Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><BR>
Post to     : <a href="openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><BR>
Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><BR>
More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>