[libvirt-users] libvirtError: internal error Domain mytest didn't show up

Hi All, I am new using libvirt. I kept on getting the following error when I try to start my VM. Can anyone give me any suggestion on what could went wrong? Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/engine.py", line 498, in run_domain vm.startup() File "/usr/share/virt-manager/virtManager/domain.py", line 573, in startup self.vm.create() File "/usr/lib64/python2.4/site-packages/libvirt.py", line 287, in create if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self) libvirtError: internal error Domain mytest didn't show up Thanks, David

On 06/02/2011 07:17 AM, Chun Tat David Chu wrote:
Hi All,
I am new using libvirt.
I kept on getting the following error when I try to start my VM. Can anyone give me any suggestion on what could went wrong?
Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/engine.py", line 498, in run_domain vm.startup() File "/usr/share/virt-manager/virtManager/domain.py", line 573, in startup self.vm.create() File "/usr/lib64/python2.4/site-packages/libvirt.py", line 287, in create if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self) libvirtError: internal error Domain mytest didn't show up
Thanks,
David
virt-manager has debug log, ~/.virt-manager/virt-manager.log. And you can check libvirtd log too, by default, it's /var/log/messages, change "log_outputs" in /etc/libvirt/libvirtd.conf if you want it logs somewhere else. Change the "log_level" in /etc/libvirt/libvirtd.conf if you want to see more log. Perhaps detailed log will help you find out the problem. Regards Osier

Hi Osier, The debug log from virt-manager wasn't that helpful. [Thu, 02 Jun 2011 11:32:26 virt-manager 5104] DEBUG (engine:496) Starting vm 'rpmbuilderbase'. [Thu, 02 Jun 2011 11:32:37 virt-manager 5104] DEBUG (error:76) Uncaught Error: Error starting domain: internal error Domain rpmbuilderbase didn't show up : Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/engine.py", line 498, in run_domain vm.startup() File "/usr/share/virt-manager/virtManager/domain.py", line 573, in startup self.vm.create() File "/usr/lib64/python2.4/site-packages/libvirt.py", line 287, in create if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self) libvirtError: internal error Domain rpmbuilderbase didn't show up The log in /var/log/libvirt/qemu is a little bit more useful but I don't really understand it. Can someone please explains it to me? LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin HOME=/ /usr/libexec/qemu-kvm -S -M pc -m 2048 -smp 1 -name rpmbuilderbase -uuid bb226766-a712-8e31-74ed-1f971d6a8230 -monitor pty -pidfile /var/run/libvirt/qemu//rpmbuilderbase.pid -boot cc -drive file=/var/lib/libvirt/devmappings/rpmbuilderbase,if=ide,index=0,boot=on -net nic,macaddr=54:52:00:68:ea:d0,vlan=0,model=e1000 -net tap,fd=15,script=,vlan=0,ifname=vnet0 -serial pty -parallel none -usb -vnc 127.0.0.1:0 -k en-us Boot device 'c' was given twice Is the message "Boot device 'c' was given twice' a fatal error? If so what is the correct action to resolve the issue? Thanks! David On Wed, Jun 1, 2011 at 11:33 PM, Osier Yang <jyang@redhat.com> wrote:
On 06/02/2011 07:17 AM, Chun Tat David Chu wrote:
Hi All,
I am new using libvirt.
I kept on getting the following error when I try to start my VM. Can anyone give me any suggestion on what could went wrong?
Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/engine.py", line 498, in run_domain vm.startup() File "/usr/share/virt-manager/virtManager/domain.py", line 573, in startup self.vm.create() File "/usr/lib64/python2.4/site-packages/libvirt.py", line 287, in create if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self) libvirtError: internal error Domain mytest didn't show up
Thanks,
David
virt-manager has debug log, ~/.virt-manager/virt-manager.log.
And you can check libvirtd log too, by default, it's /var/log/messages, change "log_outputs" in /etc/libvirt/libvirtd.conf if you want it logs somewhere else.
Change the "log_level" in /etc/libvirt/libvirtd.conf if you want to see more log.
Perhaps detailed log will help you find out the problem.
Regards Osier

Problem resolved. The XML configuration file for my VM is incorrect in /etc/libvirt/qemu directory. Apparently it listed two boot devices. I am not sure how that entry get there but once I removed it now my VM can boot. - David On Thu, Jun 2, 2011 at 11:49 AM, Chun Tat David Chu < beyonddc.storage@gmail.com> wrote:
Hi Osier,
The debug log from virt-manager wasn't that helpful.
[Thu, 02 Jun 2011 11:32:26 virt-manager 5104] DEBUG (engine:496) Starting vm 'rpmbuilderbase'. [Thu, 02 Jun 2011 11:32:37 virt-manager 5104] DEBUG (error:76) Uncaught Error: Error starting domain: internal error Domain rpmbuilderbase didn't show up : Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/engine.py", line 498, in run_domain vm.startup() File "/usr/share/virt-manager/virtManager/domain.py", line 573, in startup self.vm.create() File "/usr/lib64/python2.4/site-packages/libvirt.py", line 287, in create if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self) libvirtError: internal error Domain rpmbuilderbase didn't show up
The log in /var/log/libvirt/qemu is a little bit more useful but I don't really understand it. Can someone please explains it to me?
LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin HOME=/ /usr/libexec/qemu-kvm -S -M pc -m 2048 -smp 1 -name rpmbuilderbase -uuid bb226766-a712-8e31-74ed-1f971d6a8230 -monitor pty -pidfile /var/run/libvirt/qemu//rpmbuilderbase.pid -boot cc -drive file=/var/lib/libvirt/devmappings/rpmbuilderbase,if=ide,index=0,boot=on -net nic,macaddr=54:52:00:68:ea:d0,vlan=0,model=e1000 -net tap,fd=15,script=,vlan=0,ifname=vnet0 -serial pty -parallel none -usb -vnc 127.0.0.1:0 -k en-us Boot device 'c' was given twice
Is the message "Boot device 'c' was given twice' a fatal error? If so what is the correct action to resolve the issue?
Thanks!
David
On Wed, Jun 1, 2011 at 11:33 PM, Osier Yang <jyang@redhat.com> wrote:
On 06/02/2011 07:17 AM, Chun Tat David Chu wrote:
Hi All,
I am new using libvirt.
I kept on getting the following error when I try to start my VM. Can anyone give me any suggestion on what could went wrong?
Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/engine.py", line 498, in run_domain vm.startup() File "/usr/share/virt-manager/virtManager/domain.py", line 573, in startup self.vm.create() File "/usr/lib64/python2.4/site-packages/libvirt.py", line 287, in create if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self) libvirtError: internal error Domain mytest didn't show up
Thanks,
David
virt-manager has debug log, ~/.virt-manager/virt-manager.log.
And you can check libvirtd log too, by default, it's /var/log/messages, change "log_outputs" in /etc/libvirt/libvirtd.conf if you want it logs somewhere else.
Change the "log_level" in /etc/libvirt/libvirtd.conf if you want to see more log.
Perhaps detailed log will help you find out the problem.
Regards Osier
participants (2)
-
Chun Tat David Chu
-
Osier Yang