[one-users] issue: VM can't boot up from network

GONG YONGJIE A Yongjie.a.Gong at alcatel-sbell.com.cn
Thu Mar 10 19:07:06 PST 2011


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" ]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110311/2d57fcfb/attachment-0002.htm>


More information about the Users mailing list