Hi, I encountered one problem during VM creation tests. Problem: VM machine created by "sunstone" with registered OS image is running without disk image. Workaround: use "onevm create" insteadly.
>From deployment file, no disk argument existed. =============== VM created by sunstone web interface ================== [root@host1 bin]# cat /var/lib/one/6/images/deployment.0 <domain type='kvm'> <name>one-6</name> <vcpu>1</vcpu> <memory>524288</memory> <os> <type arch='i686'>hvm</type> <boot dev='hd'/> </os> <devices> <emulator>/usr/libexec/qemu-kvm</emulator> <graphics type='vnc' listen='172.24.178.38' port='5905'/> </devices> <features> <acpi/> </features> </domain> =============== VM created by onevm command ================== [root@host1 bin]# cat /var/lib/one/7/images/deployment.0 <domain type='kvm'> <name>one-7</name> <memory>524288</memory> <os> <type arch='i686'>hvm</type> <boot dev='hd'/> </os> <devices> <emulator>/usr/libexec/qemu-kvm</emulator> <disk type='file' device='disk'> <source file='/var/lib/one//7/images/disk.0'/> <target dev='hda'/> <driver name='qemu' type='raw'/> </disk> </devices> <features> <acpi/> </features> </domain> Some info: [root@cloudmanager images]# onevm list ID USER NAME STAT CPU MEM HOSTNAME TIME 6 root test-5 runn 12 512M 172.24.178.38 00 00:11:12 7 root test-6 pend 0 0K 00 00:00:03 [root@cloudmanager images]# [root@cloudmanager images]# oneimage list ID USER NAME TYPE REGTIME PUB PER STAT #VMS 2 root test_image_register_ OS Mar 09, 2011 02:38 Yes No used 1 [root@cloudmanager images]# [root@cloudmanager images]# rpm -qa | grep -i openNe opennebula-2.1.80-1 [root@cloudmanager images]# cat vmtest.conf NAME = test-6 MEMORY = 512 CPU = 1 EMULATOR = /usr/libexec/qemu-kvm ARCH = i686 BOOT = hd DISK = [ IMAGE= "test_image_register_ttylinux" ]
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org