[one-users] 回复: Re: 802.1Q questions

张光鹏 zhanggp at neusoft.com
Tue Feb 19 17:45:31 PST 2013


All right:
here is my brctl show:
[root at compute-57-10 ~]# brctl show
bridge name bridge id STP enabled interfaces
virbr0 8000.5254007ab066 yes virbr0-nic
And my network template(We automatically generate template ):
<VNET><ID>69</ID><UID>0</UID><GID>0</GID><UNAME>oneadmin</UNAME><GNAME>oneadmin</GNAME>
<NAME>10.190.98.0</NAME><PERMISSIONS><OWNER_U>1</OWNER_U><OWNER_M>1</OWNER_M><OWNER_A>0</OWNER_A>
<GROUP_U>0</GROUP_U><GROUP_M>0</GROUP_M><GROUP_A>0</GROUP_A><OTHER_U>0</OTHER_U><OTHER_M>0</OTHER_M><OTHER_A>0</OTHER_A></PERMISSIONS>
<TYPE>1</TYPE><BRIDGE>onebr1049</BRIDGE><VLAN>1</VLAN><PHYDEV>eth0</PHYDEV><VLAN_ID>1049</VLAN_ID><TOTAL_LEASES>2</TOTAL_LEASES><TEMPLATE></TEMPLATE></VNET> 
vm template:
NAME = radhat5.5-2
CPU    = 1
MEMORY = 1024
DISK = [IMAGE_ID="24"]
NIC  = [NETWORK="10.210.8.0"]
CONTEXT = [
  HOSTNAME   = "vmware-test-context",
  IP_PRIVATE = "$NIC[IP, NETWORK="10.210.8.0"] ]",
  DNS        = "$NETWORK[DNS, NAME=\"Public\"]",
  FILES      = "",
  TARGET     = "hdc"
]
This template is used in multiple places is no problem , it appears after the restart of the server .




张光鹏

发件人: Jaime Melis
发送时间: 2013-02-19 18:11
收件人: 张光鹏
抄送: users
主题: Re: [one-users] 802.1Q questions
Hi,


can you send us the output of "brctl show", the network template and the vm template?


regards,
Jaime



On Tue, Feb 19, 2013 at 2:49 AM, 张光鹏 <zhanggp at neusoft.com> wrote:

Hi,all!
I use opennebula3.2.1 in my environment. And the vnm is 802.1q.
Before you start the virtual machine, opennebula would do some pre network ready to work . Such as create a bridge like onebr1024...
But if my host reboot or restart or emergency power off, and so the host returned to normal after, my bridge disappeared.
Then if i create some virtual machines , all failed. 
The log show :
Mon Feb 18 14:56:52 2013 [VMM][I]: Successfully execute network driver operation: pre.
Mon Feb 18 14:56:52 2013 [VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy /one_images/317/images/deployment.0 compute-57-10.local 317 compute-57-10.local
Mon Feb 18 14:56:52 2013 [VMM][I]: error: Failed to create domain from /one_images/317/images/deployment.0
Mon Feb 18 14:56:52 2013 [VMM][I]: error: Failed to add tap interface to bridge 'onebr1024': No such device
Mon Feb 18 14:56:52 2013 [VMM][E]: Could not create domain from /one_images/317/images/deployment.0

Because this host have no birdge. 
Why openenbula show us pre network successful, but still no birdge created on this host?




张光鹏
tel:  13718913184
mail: zhanggp at neusoft.com
移动互联网事业部

东软集团股份有限公司
http://www.neusoft.com

---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this communication in error,please 
immediately notify the sender by return e-mail, and delete the original message and all copies from 
your system. Thank you. 
---------------------------------------------------------------------------------------------------

_______________________________________________
Users mailing list
Users at lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org








-- 
Jaime Melis
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | jmelis at opennebula.org 
---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this communication in error,please 
immediately notify the sender by return e-mail, and delete the original message and all copies from 
your system. Thank you. 
---------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130220/5f86f0b3/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 11635 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130220/5f86f0b3/attachment-0002.jpeg>


More information about the Users mailing list