[one-users] Error: failed to get domain '-'

caoyuan yuanc00 at 163.com
Thu Jul 22 22:51:44 PDT 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100723/906796ee/attachment-0002.htm>


More information about the Users mailing list