Re: [one-users] issue: can't specify NIC hardware type duirng VM creating
Hi there, There's a typo in your template, you are using MODLE instead of MODEL. Regards, Carlos -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org On 10 March 2011 08:02, GONG YONGJIE A yongjie.a.g...@alcatel-sbell.com.cnwrote: Hi, I’d like to create one VM with “e1000” hardware type for Ethernet interface. But after VM boots up, it still use default “realtek” type. From “deployment.0”, there is no “model=e1000” parameter for NIC. Could you help me check this or correct me if my configuration isn ’t right. Thanks. Logs: [root@cloudmanager one]# onevm list ID USER NAME STAT CPU MEMHOSTNAMETIME 12 rootOMCP1 runn 7 2G 172.24.178.38 00 22:00:52 14 root linux-0. runn 1512M 172.24.178.38 00 00:47:07 16 root test-OMC runn 12512M 172.24.178.38 00 00:07:26 [root@cloudmanager one]# [root@cloudmanager one]# onevm show 12 VIRTUAL MACHINE 12 INFORMATION ID : 12 NAME : OMCP1 STATE : ACTIVE LCM_STATE : RUNNING START TIME : 03/09 18:02:48 END TIME : - DEPLOY ID: : one-12 VIRTUAL MACHINE MONITORING USED MEMORY: 2097152 USED CPU : 7 NET_TX : 0 NET_RX : 0 VIRTUAL MACHINE TEMPLATE ARCH=i686 BOOT=hd CPU=1 DISK=[ CLONE=NO, DISK_ID=0, IMAGE=OMCP1, IMAGE_ID=3, READONLY=NO, SAVE=YES, SAVE_AS=3, SOURCE=/srv/cloud/var/images/de0d6ef4e05642f928c8eae5a5a0a7b4201cfba5, TARGET=hda, TYPE=DISK ] EMULATOR=/usr/libexec/qemu-kvm GRAPHICS=[ LISTEN=127.0.0.1, PORT=5913, TYPE=vnc ] MEMORY=2048 NAME=OMCP1 NIC=[ BRIDGE=br0, MAC=08:80:42:03:17:86, MODLE=e1000 ] NIC=[ BRIDGE=br1, MAC=08:80:42:03:18:86, MODLE=e1000 ] VCPU=1 VMID=12 [root@cloudmanager one]# [root@cloudmanager one]# pwd /var/log/one [root@cloudmanager one]# cat /srv/cloud/var/images/vm- vm-linux-0.2.conf vm-OMCP1.conf [root@cloudmanager one]# cat /srv/cloud/var/images/vm-OMCP1.conf NAME = OMCP1 MEMORY = 2048 CPU = 1 VCPU = 1 EMULATOR = /usr/libexec/qemu-kvm ARCH = i686 BOOT = hd DISK = [ IMAGE= OMCP1 ] NIC = [ MAC = 08:80:42:03:17:86, MODLE =e1000, BRIDGE = br0 ] NIC = [ MAC = 08:80:42:03:18:86, MODLE =e1000, BRIDGE = br1 ] GRAPHICS = [ TYPE = vnc, LISTEN = 127.0.0.1, PORT = 5913 ] [root@cloudmanager one]# [root@host1 ~]# cat /var/lib/one/12/images/deployment.0 domain type='kvm' nameone-12/name vcpu1/vcpu memory2097152/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//12/images/disk.0'/ target dev='hda'/ driver name='qemu' type='raw'/ /disk interface type='bridge' source bridge='br0'/ mac address='08:80:42:03:17:86'/ /interface interface type='bridge' source bridge='br1'/ mac address='08:80:42:03:18:86'/ /interface graphics type='vnc' listen='127.0.0.1' port='5913'/ /devices features acpi/ /features /domain [root@host1 ~]# ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] issue: can't specify NIC hardware type duirng VM creating
Ooops.. I will try it later J Thanks for great support. From: Carlos Martín Sánchez [mailto:cmar...@opennebula.org] Sent: Thursday, March 10, 2011 4:26 PM To: GONG YONGJIE A Cc: users@lists.opennebula.org Subject: Re: [one-users] issue: can't specify NIC hardware type duirng VM creating Hi there, There's a typo in your template, you are using MODLE instead of MODEL. Regards, Carlos -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org mailto:cmar...@opennebula.org On 10 March 2011 08:02, GONG YONGJIE A yongjie.a.g...@alcatel-sbell.com.cn wrote: Hi, I'd like to create one VM with e1000 hardware type for Ethernet interface. But after VM boots up, it still use default realtek type. From deployment.0, there is no model=e1000 parameter for NIC. Could you help me check this or correct me if my configuration isn't right. Thanks. Logs: [root@cloudmanager one]# onevm list ID USER NAME STAT CPU MEMHOSTNAMETIME 12 rootOMCP1 runn 7 2G 172.24.178.38 00 22:00:52 14 root linux-0. runn 1512M 172.24.178.38 00 00:47:07 16 root test-OMC runn 12512M 172.24.178.38 00 00:07:26 [root@cloudmanager one]# [root@cloudmanager one]# onevm show 12 VIRTUAL MACHINE 12 INFORMATION ID : 12 NAME : OMCP1 STATE : ACTIVE LCM_STATE : RUNNING START TIME : 03/09 18:02:48 END TIME : - DEPLOY ID: : one-12 VIRTUAL MACHINE MONITORING USED MEMORY: 2097152 USED CPU : 7 NET_TX : 0 NET_RX : 0 VIRTUAL MACHINE TEMPLATE ARCH=i686 BOOT=hd CPU=1 DISK=[ CLONE=NO, DISK_ID=0, IMAGE=OMCP1, IMAGE_ID=3, READONLY=NO, SAVE=YES, SAVE_AS=3, SOURCE=/srv/cloud/var/images/de0d6ef4e05642f928c8eae5a5a0a7b4201cfba5, TARGET=hda, TYPE=DISK ] EMULATOR=/usr/libexec/qemu-kvm GRAPHICS=[ LISTEN=127.0.0.1, PORT=5913, TYPE=vnc ] MEMORY=2048 NAME=OMCP1 NIC=[ BRIDGE=br0, MAC=08:80:42:03:17:86, MODLE=e1000 ] NIC=[ BRIDGE=br1, MAC=08:80:42:03:18:86, MODLE=e1000 ] VCPU=1 VMID=12 [root@cloudmanager one]# [root@cloudmanager one]# pwd /var/log/one [root@cloudmanager one]# cat /srv/cloud/var/images/vm- vm-linux-0.2.conf vm-OMCP1.conf [root@cloudmanager one]# cat /srv/cloud/var/images/vm-OMCP1.conf NAME = OMCP1 MEMORY = 2048 CPU = 1 VCPU = 1 EMULATOR = /usr/libexec/qemu-kvm ARCH = i686 BOOT = hd DISK = [ IMAGE= OMCP1 ] NIC = [ MAC = 08:80:42:03:17:86, MODLE =e1000, BRIDGE = br0 ] NIC = [ MAC = 08:80:42:03:18:86, MODLE =e1000, BRIDGE = br1 ] GRAPHICS = [ TYPE = vnc, LISTEN = 127.0.0.1, PORT = 5913 ] [root@cloudmanager one]# [root@host1 ~]# cat /var/lib/one/12/images/deployment.0 domain type='kvm' nameone-12/name vcpu1/vcpu memory2097152/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//12/images/disk.0'/ target dev='hda'/ driver name='qemu' type='raw'/ /disk interface type='bridge' source bridge='br0'/ mac address='08:80:42:03:17:86'/ /interface interface type='bridge' source bridge='br1'/ mac address='08:80:42:03:18:86'/ /interface graphics type='vnc' listen='127.0.0.1' port='5913'/ /devices features acpi/ /features /domain [root@host1 ~]# ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] issue: can't specify NIC hardware type duirng VM creating
Hi, I'd like to create one VM with e1000 hardware type for Ethernet interface. But after VM boots up, it still use default realtek type. From deployment.0, there is no model=e1000 parameter for NIC. Could you help me check this or correct me if my configuration isn't right. Thanks. Logs: [root@cloudmanager one]# onevm list ID USER NAME STAT CPU MEMHOSTNAMETIME 12 rootOMCP1 runn 7 2G 172.24.178.38 00 22:00:52 14 root linux-0. runn 1512M 172.24.178.38 00 00:47:07 16 root test-OMC runn 12512M 172.24.178.38 00 00:07:26 [root@cloudmanager one]# [root@cloudmanager one]# onevm show 12 VIRTUAL MACHINE 12 INFORMATION ID : 12 NAME : OMCP1 STATE : ACTIVE LCM_STATE : RUNNING START TIME : 03/09 18:02:48 END TIME : - DEPLOY ID: : one-12 VIRTUAL MACHINE MONITORING USED MEMORY: 2097152 USED CPU : 7 NET_TX : 0 NET_RX : 0 VIRTUAL MACHINE TEMPLATE ARCH=i686 BOOT=hd CPU=1 DISK=[ CLONE=NO, DISK_ID=0, IMAGE=OMCP1, IMAGE_ID=3, READONLY=NO, SAVE=YES, SAVE_AS=3, SOURCE=/srv/cloud/var/images/de0d6ef4e05642f928c8eae5a5a0a7b4201cfba5, TARGET=hda, TYPE=DISK ] EMULATOR=/usr/libexec/qemu-kvm GRAPHICS=[ LISTEN=127.0.0.1, PORT=5913, TYPE=vnc ] MEMORY=2048 NAME=OMCP1 NIC=[ BRIDGE=br0, MAC=08:80:42:03:17:86, MODLE=e1000 ] NIC=[ BRIDGE=br1, MAC=08:80:42:03:18:86, MODLE=e1000 ] VCPU=1 VMID=12 [root@cloudmanager one]# [root@cloudmanager one]# pwd /var/log/one [root@cloudmanager one]# cat /srv/cloud/var/images/vm- vm-linux-0.2.conf vm-OMCP1.conf [root@cloudmanager one]# cat /srv/cloud/var/images/vm-OMCP1.conf NAME = OMCP1 MEMORY = 2048 CPU = 1 VCPU = 1 EMULATOR = /usr/libexec/qemu-kvm ARCH = i686 BOOT = hd DISK = [ IMAGE= OMCP1 ] NIC = [ MAC = 08:80:42:03:17:86, MODLE =e1000, BRIDGE = br0 ] NIC = [ MAC = 08:80:42:03:18:86, MODLE =e1000, BRIDGE = br1 ] GRAPHICS = [ TYPE = vnc, LISTEN = 127.0.0.1, PORT = 5913 ] [root@cloudmanager one]# [root@host1 ~]# cat /var/lib/one/12/images/deployment.0 domain type='kvm' nameone-12/name vcpu1/vcpu memory2097152/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//12/images/disk.0'/ target dev='hda'/ driver name='qemu' type='raw'/ /disk interface type='bridge' source bridge='br0'/ mac address='08:80:42:03:17:86'/ /interface interface type='bridge' source bridge='br1'/ mac address='08:80:42:03:18:86'/ /interface graphics type='vnc' listen='127.0.0.1' port='5913'/ /devices features acpi/ /features /domain [root@host1 ~]# ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org