[ https://issues.apache.org/jira/browse/CLOUDSTACK-1021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13563715#comment-13563715 ]
terryye commented on CLOUDSTACK-1021: ------------------------------------- 2013-01-27 10:35:55,630 DEBUG [agent.transport.Request] (Job-Executor-33:job-33) Seq 1-105381943: Sending { Cmd , MgmtId: 52242977168, via: 1, Ver: v1, Flags: 100111, [{"StartCommand":{"vm":{"id":3,"name":"i-2-3-VM","type":"User","cpus":1,"speed":500,"minRam":536870912,"maxRam":536870912,"arch":"x86_64","os":"Other PV (64-bit)","bootArgs":"","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"vncPassword":"43a12517d3e5a735","params":{},"uuid":"b7e8bba1-7f1e-430d-8429-006b88144bbb","disks":[{"id":3,"name":"/export/extpri","mountPoint":"dae2da61-5497-425e-9652-b6bc3c4352f5","path":"dae2da61-5497-425e-9652-b6bc3c4352f5","size":17179869184,"type":"ROOT","storagePoolType":"NetworkFilesystem","storagePoolUuid":"5a7a807b-366c-38ed-8557-8f5e140be2c4","deviceId":0},{"id":3,"name":"ubuntu-server","path":"nfs://192.168.10.8/export/extsec/template/tmpl//2/202//202-2-44cdc5a2-ee9d-3132-8836-16967e469c37.iso","size":0,"type":"ISO","storagePoolType":"ISO","deviceId":3,"guestOsType":"Other PV (64-bit)"}],"nics":[{"deviceId":0,"networkRateMbps":200,"defaultNic":true,"uuid":"b0bc9733-a926-4a86-85f2-f76b1c5de28a","ip":"192.168.50.102","netmask":"255.255.255.0","gateway":"192.168.50.1","mac":"06:87:be:00:00:3e","dns1":"61.177.7.1","dns2":"210.22.70.3","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://50","isolationUri":"vlan://50","isSecurityGroupEnabled":false,"name":"cloudbr0"},{"deviceId":1,"networkRateMbps":200,"defaultNic":false,"uuid":"694723cb-027b-4420-b3e9-0eec04bc25c3","ip":"192.168.20.102","netmask":"255.255.255.0","gateway":"192.168.20.1","mac":"06:d2:3c:00:00:70","dns1":"61.177.7.1","dns2":"210.22.70.3","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://20","isolationUri":"vlan://20","isSecurityGroupEnabled":false,"name":"cloudbr1"}]},"wait":0}}] } 2013-01-27 10:35:57,492 DEBUG [agent.transport.Request] (AgentManager-Handler-3:null) Seq 1-105381943: Processing: { Ans: , MgmtId: 52242977168, via: 1, Ver: v1, Flags: 110, [{"StartAnswer":{"vm":{"id":3,"name":"i-2-3-VM","type":"User","cpus":1,"speed":500,"minRam":536870912,"maxRam":536870912,"arch":"x86_64","os":"Other PV (64-bit)","bootArgs":"","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"vncPassword":"43a12517d3e5a735","params":{},"uuid":"b7e8bba1-7f1e-430d-8429-006b88144bbb","disks":[{"id":3,"name":"/export/extpri","mountPoint":"dae2da61-5497-425e-9652-b6bc3c4352f5","path":"dae2da61-5497-425e-9652-b6bc3c4352f5","size":17179869184,"type":"ROOT","storagePoolType":"NetworkFilesystem","storagePoolUuid":"5a7a807b-366c-38ed-8557-8f5e140be2c4","deviceId":0},{"id":3,"name":"ubuntu-server","path":"nfs://192.168.10.8/export/extsec/template/tmpl//2/202//202-2-44cdc5a2-ee9d-3132-8836-16967e469c37.iso","size":0,"type":"ISO","storagePoolType":"ISO","deviceId":3,"guestOsType":"Other PV (64-bit)"}],"nics":[{"deviceId":0,"networkRateMbps":200,"defaultNic":true,"uuid":"b0bc9733-a926-4a86-85f2-f76b1c5de28a","ip":"192.168.50.102","netmask":"255.255.255.0","gateway":"192.168.50.1","mac":"06:87:be:00:00:3e","dns1":"61.177.7.1","dns2":"210.22.70.3","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://50","isolationUri":"vlan://50","isSecurityGroupEnabled":false,"name":"cloudbr0"},{"deviceId":1,"networkRateMbps":200,"defaultNic":false,"uuid":"694723cb-027b-4420-b3e9-0eec04bc25c3","ip":"192.168.20.102","netmask":"255.255.255.0","gateway":"192.168.20.1","mac":"06:d2:3c:00:00:70","dns1":"61.177.7.1","dns2":"210.22.70.3","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://20","isolationUri":"vlan://20","isSecurityGroupEnabled":false,"name":"cloudbr1"}]},"result":true,"wait":0}}] } It seems all guest networks are using defaultNIC, so created vlan error. > the vlan is not creat to right nic. when i creat multi guest network. > --------------------------------------------------------------------- > > Key: CLOUDSTACK-1021 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1021 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Install and Setup, KVM, Network Controller, Network > Devices > Affects Versions: 4.0.1 > Environment: r720,ubuntu 12.04.1 server,3 hosts,3750 *2. > Reporter: terryye > Labels: bridge, kvm, network, vlan > Original Estimate: 72h > Remaining Estimate: 72h > > vlan id 20 is error. > correct is vlan id 20 should be created on the bond1 > # brctl show > bridge name bridge id STP enabled interfaces > cloud0 8000.fe00a9fe00ab no vnet0 > vnet10 > vnet4 > vnet8 > cloudVirBr20 8000.d4ae52a35ddf no bond0.20 > vnet12 > vnet9 > cloudVirBr50 8000.d4ae52a35ddf no bond0.50 > vnet11 > vnet7 > cloudbr0 8000.d4ae52a35ddf no bond0 > cloudbr1 8000.d4ae52a35de1 no bond1 > vnet1 > vnet2 > vnet3 > vnet5 > vnet6 > virbr0 8000.000000000000 yes > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira