You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Noel Kendall <no...@hotmail.com> on 2013/07/31 14:31:20 UTC

V4.1.0 w/ KVM Hyperv on CentOS6.4 + Adv Network + VLAN =

I would appreciate help understanding why this StartCommand:
{"StartCommand":{"vm":{"id":2,"name":"v-2-VM","type":"ConsoleProxy","cpus":1,"speed":500,"minRam":1073741824,"maxRam":1073741824,"arch":"x86_64","os":"Debian GNU/Linux 5.0 (32-bit)","bootArgs":" template=domP type=consoleproxy host=10.10.0.250 port=8250 name=v-2-VM premium=true zone=1 pod=1 guid=Proxy.2 proxy_vm=2 disable_rp_filter=true eth2ip=67.211.104.52 eth2mask=255.255.255.240 gateway=***.***.***.62 eth0ip=169.254.3.184 eth0mask=255.255.0.0 eth1ip=10.10.0.246 eth1mask=255.255.255.0 mgmtcidr=10.10.0.0/24 localgw=10.10.0.254 internaldns1=10.10.0.253 internaldns2=10.10.0.254 dns1=66.212.224.241 dns2=66.212.224.242","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"vncPassword":"69c7406d1126dbcb","params":{},"uuid":"a2863d9e-13c7-4f6b-b2eb-16fd9e050553",	"disks":[		{"id":2,"name":"ROOT-2","mountPoint":"/mnt/vg_primary_raid1/primaryxfsraid/primary","path":"6f51e106-8f3d-4a47-b010-9a81a6909aad","size":0,"type":"ROOT","storagePoolType":"NetworkFilesystem","storagePoolUuid":"0a37e7d0-4b3c-3668-9d7e-5aac1b552aca","deviceId":0}		]	"nics":[		{"deviceId":2,"networkRateMbps":-1,"defaultNic":true,"uuid":"6b8c3b95-a75a-4555-b775-c4578bbe4e9b","ip":"***.***.***.52","netmask":"255.255.255.240","gateway":"***.***.***.62","mac":"06:0e:32:00:01:06","dns1":"***.***.224.241","dns2":"***.***.224.242","broadcastType":"Vlan","type":"Public","broadcastUri":"vlan://5","isolationUri":"vlan://5","isSecurityGroupEnabled":false,"name":"cloudpublic"},		{"deviceId":0,"networkRateMbps":-1,"defaultNic":false,"uuid":"caec5b49-d139-4f05-8fb8-8b23b9bd1614","ip":"169.254.3.184","netmask":"255.255.0.0","gateway":"169.254.0.1","mac":"0e:00:a9:fe:03:b8","broadcastType":"LinkLocal","type":"Control","isSecurityGroupEnabled":false},		{"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"uuid":"bc910056-23db-4259-8e4f-2006f5ac4275","ip":"10.10.0.246","netmask":"255.255.255.0","gateway":"10.10.0.254","mac":"06:9d:38:00:00:07","broadcastType":"Native","type":"Management","isSecurityGroupEnabled":false,"name":"cloudmanagement"}		]},	"hostIp":"10.10.0.1","wait":0}},{"check.CheckSshCommand":{"ip":"169.254.3.184","port":3922,"interval":6,"retries":100,"name":"v-2-VM","wait":0}}
results in:
2013-07-31 04:09:02,849 INFO  [cloud.vm.VirtualMachineManagerImpl] (secstorage-1:null) Unable to start VM on Host[-2-Routing] due to Failed to create vnet 5: DEBUG op=add pif=eth4 vlanId=5 brName=breth4-5Set name-type for VLAN subsystem. Should be visible in /proc/net/vlan/configdevice eth4.5 is already a member of a bridge; can't enslave it to bridge breth4-5.Failed to add vlan: eth4.5 to breth4-520
*** note *** I obscured the public addresses for obvious reasons, these are known good, and worked fine with existing swtich configurationunder a V4.0.1 implementation

Background config information:
Advanced Network, VLAN isolation
2 Phys Networks, 1 for stor/mgmt, 1 for public/gueston the public/guest network, KVM traffic labels are respectively cloudguest and cloudpublic
On the KVM hypervisor, cloudpublic is a bridge, eth4.5 is configured on that bridge, VLAN 5 is set up in the switch
The physical network has an IP range defined for a small group of public addresses, configured on VLAN 5

I have read through the code best I can to follow the path to attempt to determine why the start command processing is not happywith the cloudpublic bridge, and tries to create a breth4.5 bridge and enslave the eth4.5 interface to it. Why not just use the cloudpublicbridge and carry on? Something is not making sense to me here.
Any help appreciated.
Many thanks, Noel