[one-users] Error: failed to get domain '-'
Tino Vazquez
tinova at fdi.ucm.es
Tue Jul 27 02:50:16 PDT 2010
Hi CaoYuan,
The drivers seems to be getting the wrong name for the VM. A couple of
questions:
* Which version of OpenNebula are you using?
* Could activate driver debug ($ONE_LOCATION/etc/defaultrc, set
ONE_MAD_DEBUG to 1), repeat the operation and send us back the log
file $ONE_LOCATION/var/one_vmm_kvm.log?
Regards,
-Tino
--
Constantino Vázquez Blanco | dsa-research.org/tinova
Virtualization Technology Engineer / Researcher
OpenNebula Toolkit | opennebula.org
2010/7/23 caoyuan <yuanc00 at 163.com>:
> Hi,
> I am new to opennebula. I tried to do an example on
> https://help.ubuntu.com/community/OpenNebula.
> But when I deploy the vm to the host, the vm STAT could be Runn, then I
> can not stop it with "onevm stop <vm-id>". And the vm log showed some error.
>
>
> vm log:
> Wed Jul 21 12:06:41 2010 [DiM][I]: New VM state is ACTIVE.
> Wed Jul 21 12:06:42 2010 [LCM][I]: New VM state is PROLOG.
> Wed Jul 21 12:06:42 2010 [TM][I]: tm_clone.sh:
> master:/var/lib/libvirt/images/disk.img
> master:/var/lib/one//12/images/disk.0
> Wed Jul 21 12:06:42 2010 [TM][I]: tm_clone.sh: DST:
> /var/lib/one//12/images/disk.0
> Wed Jul 21 12:06:42 2010 [TM][I]: tm_clone.sh: Creating directory
> /var/lib/one//12/images
> Wed Jul 21 12:06:43 2010 [TM][I]: tm_clone.sh: Executed "ssh master mkdir -p
> /var/lib/one//12/images".
> Wed Jul 21 12:06:43 2010 [TM][I]: tm_clone.sh: Cloning
> master:/var/lib/libvirt/images/disk.img
> Wed Jul 21 12:08:25 2010 [TM][I]: tm_clone.sh: Executed "scp
> master:/var/lib/libvirt/images/disk.img
> master:/var/lib/one//12/images/disk.0".
> Wed Jul 21 12:08:25 2010 [TM][I]: tm_clone.sh: Executed "ssh master chmod
> a+w /var/lib/one//12/images/disk.0".
> Wed Jul 21 12:08:26 2010 [LCM][I]: New VM state is BOOT
> Wed Jul 21 12:08:26 2010 [VMM][I]: Generating deployment file:
> /var/lib/one/12/deployment.0
> Wed Jul 21 12:08:26 2010 [VMM][I]: Command: scp /var/lib/one/12/deployment.0
> master:/var/lib/one//12/images/deployment.0
> Wed Jul 21 12:08:26 2010 [VMM][I]: Copy success
> Wed Jul 21 12:08:27 2010 [VMM][I]: Connecting to uri: qemu:///system
> Wed Jul 21 12:08:27 2010 [VMM][I]: ExitCode: 0
> Wed Jul 21 12:08:27 2010 [LCM][I]: New VM state is RUNNING
> Wed Jul 21 12:08:33 2010 [VMM][I]: Connecting to uri: qemu:///system
> Wed Jul 21 12:08:33 2010 [VMM][I]:Error: failed to get domain '-'
> Wed Jul 21 12:08:33 2010 [VMM][I]:Error: Domain not found: no domain with
> matching name '-'
> Wed Jul 21 12:08:33 2010 [VMM][I]: ExitCode: 1
> Wed Jul 21 12:08:33 2010 [VMM][E]: Error monitoring VM, -
> Wed Jul 21 12:09:03 2010 [VMM][I]: Connecting to uri: qemu:///system
> Wed Jul 21 12:09:03 2010 [VMM][I]: Error: failed to get domain '-'
> Wed Jul 21 12:09:03 2010 [VMM][I]: Error: Domain not found: no domain with
> matching name '-'
>
>
> openneubla server and node
> hostname - master
> OS - Ubuntu 9.10-desktop
>
> The virtual machine hypervisor is KVM
> The vmnet.template:
> NAME = "Private LAN"
> TYPE = FIXED
> BRIDGE = virbr0
> LEASES = [
> IP = 192.168.122.1 ]
>
>
> The vm.template:
> name = vm08
> cpu = 0.6
> memory = 512
> os = [
> kernel = "/boot/vmlinuz-2.6.31-22-generic",
> initrd = "/boot/initrd.img-2.6.31-22-generic",
> boot = hd ]
> disk = [
> source = "/var/lib/libvirt/images/disk.img",
> target = "sda",
> readonly= "no" ]
> nic = [
> network = "Private LAN" ]
> features= [
> acpi = yes ]
>
>
> If someone have some advice, I would really appreciate it.
> Best regards,
> CaoYuan
>
>
> ________________________________
> 您想拥有和网易免费邮箱一样强大的软件吗?
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
More information about the Users
mailing list