[one-users] issue: VM can't boot up from network
Daniel Molina
dmolina at opennebula.org
Fri Mar 11 02:16:38 PST 2011
Hi,
You should try
OS = [
BOOT = network
]
instead of
BOOT = network
in your VM template.
Hope this helps
http://www.opennebula.org/documentation:rel2.2:template
On 11 March 2011 04:07, GONG YONGJIE A
<Yongjie.a.Gong at alcatel-sbell.com.cn> wrote:
>
> Hi,
>
> I just test to create one VM to boot from PXE but from "deployment.0" the "boot" parameter is still "hd".
>
> Please correct me if my configuration is wrong.
>
> Thanks a lot.
>
> Logs:
>
> [root at cloudmanager images]# onevm list
>
> ID USER NAME STAT CPU MEM HOSTNAME TIME
>
> 14 root linux-0. runn 1 512M 172.24.178.38 00 21:01:46
>
> 19 root OMCP1 runn 10 2G 172.24.178.38 00 17:29:33
>
> 23 root CCP5 runn 13 2G 172.24.178.38 00 01:06:19
>
> [root at cloudmanager images]#
>
> [root at cloudmanager images]# onevm show 23
>
> VIRTUAL MACHINE 23 INFORMATION
>
> ID : 23
>
> NAME : CCP5
>
> STATE : ACTIVE
>
> LCM_STATE : RUNNING
>
> START TIME : 03/11 11:12:00
>
> END TIME : -
>
> DEPLOY ID: : one-23
>
> VIRTUAL MACHINE MONITORING
>
> USED MEMORY : 2097152
>
> USED CPU : 13
>
> NET_TX : 0
>
> NET_RX : 0
>
> VIRTUAL MACHINE TEMPLATE
>
> ARCH=i686
>
> BOOT=network
>
> CPU=1
>
> EMULATOR=/usr/libexec/qemu-kvm
>
> GRAPHICS=[
>
> LISTEN=127.0.0.1,
>
> PORT=5915,
>
> TYPE=vnc ]
>
> MEMORY=2048
>
> NAME=CCP5
>
> NIC=[
>
> BRIDGE=br0,
>
> MAC=08:80:42:03:17:8a,
>
> MODEL=e1000 ]
>
> NIC=[
>
> BRIDGE=br1,
>
> MAC=08:80:42:03:18:8a,
>
> MODEL=e1000 ]
>
> VCPU=1
>
> VMID=23
>
> =====
>
> [root at host1 /]# cat /var/lib/one/23/images/deployment.0
>
> <domain type='kvm'>
>
> <name>one-23</name>
>
> <vcpu>1</vcpu>
>
> <memory>2097152</memory>
>
> <os>
>
> <type arch='i686'>hvm</type>
>
> <boot dev='hd'/>
>
> </os>
>
> <devices>
>
> <emulator>/usr/libexec/qemu-kvm</emulator>
>
> <interface type='bridge'>
>
> <source bridge='br0'/>
>
> <mac address='08:80:42:03:17:8a'/>
>
> <model type='e1000'/>
>
> </interface>
>
> <interface type='bridge'>
>
> <source bridge='br1'/>
>
> <mac address='08:80:42:03:18:8a'/>
>
> <model type='e1000'/>
>
> </interface>
>
> <graphics type='vnc' listen='127.0.0.1' port='5915'/>
>
> </devices>
>
> <features>
>
> <acpi/>
>
> </features>
>
> </domain>
>
> ===
>
> [root at cloudmanager images]# cat vm-CCP5.conf
>
> NAME = CCP5
>
> MEMORY = 2048
>
> CPU = 1
>
> VCPU = 1
>
> EMULATOR = /usr/libexec/qemu-kvm
>
> ARCH = i686
>
> BOOT = network
>
> NIC = [ MAC = "08:80:42:03:17:8a", MODEL ="e1000", BRIDGE = "br0" ]
>
> NIC = [ MAC = "08:80:42:03:18:8a", MODEL ="e1000", BRIDGE = "br1" ]
>
> GRAPHICS = [
>
> TYPE = "vnc",
>
> LISTEN = "127.0.0.1",
>
> PORT = "5915" ]
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
--
Daniel Molina, Cloud Technology Engineer/Researcher
Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | dmolina at opennebula.org
More information about the Users
mailing list