incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chandan Purushothama (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-361) Wrong creation of guest networks on a KVM host in Multiple Physical Networks with guest traffic
Date Tue, 16 Oct 2012 19:41:03 GMT
Chandan Purushothama created CLOUDSTACK-361:
-----------------------------------------------

             Summary: Wrong creation of guest networks on a KVM host in Multiple Physical
Networks with guest traffic
                 Key: CLOUDSTACK-361
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-361
             Project: CloudStack
          Issue Type: Bug
          Components: Management Server
    Affects Versions: pre-4.0.0
            Reporter: Chandan Purushothama
             Fix For: pre-4.0.0



================
Steps to Reproduce:
================

1. Deploy an Advanced Zone Setup with Two Physical Networks and Ubuntu 12.04 KVM Host.
2. Physical Network 1 carries management, storage, guest and public Traffic while Physical
Network 2 carries guest traffic only.
3. On Physical Network 1, provide the KVM Labels for all the traffic types such that they
refer to the asfbr0 (bridge on KVM Host) while on Physical Network 2, provide the KVM Labels
for the guest traffic type such that they refer to the asfbr1 (bridge on KVM Host)
4. Create the corresponding bridges on the Ubuntu 12.04 KVM Host which has two physical nics.

bridge name     bridge id               STP enabled     interfaces
asfbr0          8000.bc305bd41c36       no              eth0
asfbr1          8000.bc305bd41c37       no              eth1

5. Add the host to the Setup.
6. Create tags to the guest traffics of the physical networks 
7. Create Two Network Offerings with the corresponding tags given for the guest traffics.
8. Create two networks using the two network offerings and deploy a VM on it.
9. Observe the KVM host bridges information and notice the wrong creation of the guest networks.

============
Observations:
============

**Note that the Management Server mentioned that the VLAN be created on asfbr1 bridge to which
eth1 is plugged into**

"nics":[{"deviceId":0,"networkRateMbps":453,"defaultNic":true,"uuid":"b1c3f1bf-e34d-46b4-8ad6-00080325b7ce","ip":"10.1.1.117","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:60:aa:00:05","dns1":"72.52.126.11","dns2":"72.52.126.12","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://2491","isolationUri":"vlan://2491","isSecurityGroupEnabled":false,"name":"asfbr1"}

================
StartCommand Log:
================

2012-10-16 11:30:36,165 DEBUG [agent.transport.Request] (Job-Executor-1:job-66) Seq 6-431292454:
Sending  { Cmd , MgmtId: 206915885077153, via: 6, Ver: v1, Flags: 100111, [{"StartCommand":{"vm":{"id":21,"name":"i-3-21-ASFUBUADV","type":"User","cpus":1,"speed":100,"minRam":134217728,"maxRam":134217728,"arch":"x86_64","os":"CentOS
5.5 (64-bit)","bootArgs":"","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"vncPassword":"ee4db38ca18cd8ab","params":{},"uuid":"fd4b8415-1e72-4d2e-8748-3371dd2dad28","disks":[{"id":23,"name":"/export/home/chandan/ubuntusecondoss/primarykvm","mountPoint":"e4ff54c1-7cda-4d72-a290-2b16beb710b9","path":"e4ff54c1-7cda-4d72-a290-2b16beb710b9","size":8589934592,"type":"ROOT","storagePoolType":"NetworkFilesystem","storagePoolUuid":"7ffe5b81-047d-3fbf-93b8-2afcb480f8af","deviceId":0},{"id":21,"name":"CentOS
5.5(64-bit) no GUI (KVM)","size":0,"type":"ISO","storagePoolType":"ISO","deviceId":3}],"nics":[{"deviceId":0,"networkRateMbps":453,"defaultNic":true,"uuid":"b1c3f1bf-e34d-46b4-8ad6-00080325b7ce","ip":"10.1.1.117","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:60:aa:00:05","dns1":"72.52.126.11","dns2":"72.52.126.12","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://2491","isolationUri":"vlan://2491","isSecurityGroupEnabled":false,"name":"asfbr1"},{"deviceId":1,"networkRateMbps":563,"defaultNic":false,"uuid":"c20964d8-1b13-4738-816d-6fb58e180413","ip":"10.1.1.174","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:62:ee:00:04","dns1":"72.52.126.11","dns2":"72.52.126.12","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://2494","isolationUri":"vlan://2494","isSecurityGroupEnabled":false,"name":"asfbr1"},{"deviceId":2,"networkRateMbps":458,"defaultNic":false,"uuid":"fcdf0a0a-e7d8-47fc-b6fe-0ac7439a5d55","ip":"10.1.1.186","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:7b:ac:00:04","dns1":"72.52.126.11","dns2":"72.52.126.12","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://2488","isolationUri":"vlan://2488","isSecurityGroupEnabled":false,"name":"asfbr0"},{"deviceId":3,"networkRateMbps":458,"defaultNic":false,"uuid":"940a312b-425b-4042-b201-ab152566a049","ip":"10.1.1.11","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:19:69:00:04","dns1":"72.52.126.11","dns2":"72.52.126.12","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://2483","isolationUri":"vlan://2483","isSecurityGroupEnabled":false,"name":"asfbr0"},{"deviceId":4,"networkRateMbps":458,"defaultNic":false,"uuid":"42280c6a-2bd8-426c-b69c-51230d42a535","ip":"10.1.1.114","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:1e:b4:00:05","dns1":"72.52.126.11","dns2":"72.52.126.12","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://2484","isolationUri":"vlan://2484","isSecurityGroupEnabled":false,"name":"asfbr0"},{"deviceId":5,"networkRateMbps":458,"defaultNic":false,"uuid":"1f35235f-9649-43bd-bb38-87353522b91e","ip":"10.1.1.74","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:70:7a:00:06","dns1":"72.52.126.11","dns2":"72.52.126.12","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://2482","isolationUri":"vlan://2482","isSecurityGroupEnabled":false,"name":"asfbr0"},{"deviceId":6,"networkRateMbps":458,"defaultNic":false,"uuid":"f54892fe-1631-4680-b6df-e2444518c93a","ip":"10.1.1.240","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:4c:c7:00:06","dns1":"72.52.126.11","dns2":"72.52.126.12","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://2489","isolationUri":"vlan://2489","isSecurityGroupEnabled":false,"name":"asfbr0"},{"deviceId":7,"networkRateMbps":458,"defaultNic":false,"uuid":"e7a9aa8b-f980-4116-be72-7dc29a3308e9","ip":"10.1.1.22","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:58:c9:00:06","dns1":"72.52.126.11","dns2":"72.52.126.12","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://2486","isolationUri":"vlan://2486","isSecurityGroupEnabled":false,"name":"asfbr0"},{"deviceId":8,"networkRateMbps":458,"defaultNic":false,"uuid":"cad17877-d442-4391-841d-e181d0e006f0","ip":"10.1.1.168","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:66:9b:00:06","dns1":"72.52.126.11","dns2":"72.52.126.12","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://2481","isolationUri":"vlan://2481","isSecurityGroupEnabled":false,"name":"asfbr0"},{"deviceId":9,"networkRateMbps":458,"defaultNic":false,"uuid":"b4758bcd-bf27-481a-9562-e07a3b7b77b2","ip":"10.1.1.247","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:11:30:00:06","dns1":"72.52.126.11","dns2":"72.52.126.12","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://2485","isolationUri":"vlan://2485","isSecurityGroupEnabled":false,"name":"asfbr0"},{"deviceId":10,"networkRateMbps":458,"defaultNic":false,"uuid":"e62bf6bd-1b3a-4a71-9ea9-95e35a3aca13","ip":"10.1.1.135","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:2b:e4:00:06","dns1":"72.52.126.11","dns2":"72.52.126.12","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://2490","isolationUri":"vlan://2490","isSecurityGroupEnabled":false,"name":"asfbr0"},{"deviceId":11,"networkRateMbps":458,"defaultNic":false,"uuid":"b681aa7b-1ccf-440d-b080-8d5a2e05553d","ip":"10.1.1.239","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:2f:18:00:07","dns1":"72.52.126.11","dns2":"72.52.126.12","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://2487","isolationUri":"vlan://2487","isSecurityGroupEnabled":false,"name":"asfbr0"}]},"wait":0}}]
}
2012-10-16 11:30:39,296 DEBUG [agent.transport.Request] (AgentManager-Handler-1:null) Seq
6-431292454: Processing:  { Ans: , MgmtId: 206915885077153, via: 6, Ver: v1, Flags: 110, [{"StartAnswer":{"vm":{"id":21,"name":"i-3-21-ASFUBUADV","type":"User","cpus":1,"speed":100,"minRam":134217728,"maxRam":134217728,"arch":"x86_64","os":"CentOS
5.5 (64-bit)","bootArgs":"","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"vncPassword":"ee4db38ca18cd8ab","params":{},"uuid":"fd4b8415-1e72-4d2e-8748-3371dd2dad28","disks":[{"id":23,"name":"/export/home/chandan/ubuntusecondoss/primarykvm","mountPoint":"e4ff54c1-7cda-4d72-a290-2b16beb710b9","path":"e4ff54c1-7cda-4d72-a290-2b16beb710b9","size":8589934592,"type":"ROOT","storagePoolType":"NetworkFilesystem","storagePoolUuid":"7ffe5b81-047d-3fbf-93b8-2afcb480f8af","deviceId":0},{"id":21,"name":"CentOS
5.5(64-bit) no GUI (KVM)","size":0,"type":"ISO","storagePoolType":"ISO","deviceId":3}],"nics":[{"deviceId":0,"networkRateMbps":453,"defaultNic":true,"uuid":"b1c3f1bf-e34d-46b4-8ad6-00080325b7ce","ip":"10.1.1.117","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:60:aa:00:05","dns1":"72.52.126.11","dns2":"72.52.126.12","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://2491","isolationUri":"vlan://2491","isSecurityGroupEnabled":false,"name":"asfbr1"},{"deviceId":1,"networkRateMbps":563,"defaultNic":false,"uuid":"c20964d8-1b13-4738-816d-6fb58e180413","ip":"10.1.1.174","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:62:ee:00:04","dns1":"72.52.126.11","dns2":"72.52.126.12","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://2494","isolationUri":"vlan://2494","isSecurityGroupEnabled":false,"name":"asfbr1"},{"deviceId":2,"networkRateMbps":458,"defaultNic":false,"uuid":"fcdf0a0a-e7d8-47fc-b6fe-0ac7439a5d55","ip":"10.1.1.186","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:7b:ac:00:04","dns1":"72.52.126.11","dns2":"72.52.126.12","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://2488","isolationUri":"vlan://2488","isSecurityGroupEnabled":false,"name":"asfbr0"},{"deviceId":3,"networkRateMbps":458,"defaultNic":false,"uuid":"940a312b-425b-4042-b201-ab152566a049","ip":"10.1.1.11","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:19:69:00:04","dns1":"72.52.126.11","dns2":"72.52.126.12","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://2483","isolationUri":"vlan://2483","isSecurityGroupEnabled":false,"name":"asfbr0"},{"deviceId":4,"networkRateMbps":458,"defaultNic":false,"uuid":"42280c6a-2bd8-426c-b69c-51230d42a535","ip":"10.1.1.114","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:1e:b4:00:05","dns1":"72.52.126.11","dns2":"72.52.126.12","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://2484","isolationUri":"vlan://2484","isSecurityGroupEnabled":false,"name":"asfbr0"},{"deviceId":5,"networkRateMbps":458,"defaultNic":false,"uuid":"1f35235f-9649-43bd-bb38-87353522b91e","ip":"10.1.1.74","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:70:7a:00:06","dns1":"72.52.126.11","dns2":"72.52.126.12","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://2482","isolationUri":"vlan://2482","isSecurityGroupEnabled":false,"name":"asfbr0"},{"deviceId":6,"networkRateMbps":458,"defaultNic":false,"uuid":"f54892fe-1631-4680-b6df-e2444518c93a","ip":"10.1.1.240","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:4c:c7:00:06","dns1":"72.52.126.11","dns2":"72.52.126.12","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://2489","isolationUri":"vlan://2489","isSecurityGroupEnabled":false,"name":"asfbr0"},{"deviceId":7,"networkRateMbps":458,"defaultNic":false,"uuid":"e7a9aa8b-f980-4116-be72-7dc29a3308e9","ip":"10.1.1.22","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:58:c9:00:06","dns1":"72.52.126.11","dns2":"72.52.126.12","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://2486","isolationUri":"vlan://2486","isSecurityGroupEnabled":false,"name":"asfbr0"},{"deviceId":8,"networkRateMbps":458,"defaultNic":false,"uuid":"cad17877-d442-4391-841d-e181d0e006f0","ip":"10.1.1.168","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:66:9b:00:06","dns1":"72.52.126.11","dns2":"72.52.126.12","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://2481","isolationUri":"vlan://2481","isSecurityGroupEnabled":false,"name":"asfbr0"},{"deviceId":9,"networkRateMbps":458,"defaultNic":false,"uuid":"b4758bcd-bf27-481a-9562-e07a3b7b77b2","ip":"10.1.1.247","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:11:30:00:06","dns1":"72.52.126.11","dns2":"72.52.126.12","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://2485","isolationUri":"vlan://2485","isSecurityGroupEnabled":false,"name":"asfbr0"},{"deviceId":10,"networkRateMbps":458,"defaultNic":false,"uuid":"e62bf6bd-1b3a-4a71-9ea9-95e35a3aca13","ip":"10.1.1.135","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:2b:e4:00:06","dns1":"72.52.126.11","dns2":"72.52.126.12","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://2490","isolationUri":"vlan://2490","isSecurityGroupEnabled":false,"name":"asfbr0"},{"deviceId":11,"networkRateMbps":458,"defaultNic":false,"uuid":"b681aa7b-1ccf-440d-b080-8d5a2e05553d","ip":"10.1.1.239","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:2f:18:00:07","dns1":"72.52.126.11","dns2":"72.52.126.12","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://2487","isolationUri":"vlan://2487","isSecurityGroupEnabled":false,"name":"asfbr0"}]},"result":true,"wait":0}}]
}

==============
On the KVM Host:
==============

Observe that VLAN 2491,2494 should be created on eth1 but got created on eth0 instead.

root@Rack3Host17:~# brctl show
bridge name     bridge id               STP enabled     interfaces
asfbr0          8000.bc305bd41c36       no              eth0
asfbr1          8000.bc305bd41c37       no              eth1
cloud0          8000.000000000000       no
cloudVirBr2481          8000.bc305bd41c36       no              eth0.2481
                                                        vnet20
                                                        vnet8
cloudVirBr2482          8000.bc305bd41c36       no              eth0.2482
                                                        vnet17
                                                        vnet5
cloudVirBr2483          8000.bc305bd41c36       no              eth0.2483
                                                        vnet15
                                                        vnet3
cloudVirBr2484          8000.bc305bd41c36       no              eth0.2484
                                                        vnet16
                                                        vnet4
cloudVirBr2485          8000.bc305bd41c36       no              eth0.2485
                                                        vnet21
                                                        vnet9
cloudVirBr2486          8000.bc305bd41c36       no              eth0.2486
                                                        vnet19
                                                        vnet7
cloudVirBr2487          8000.bc305bd41c36       no              eth0.2487
                                                        vnet11
                                                        vnet23
cloudVirBr2488          8000.bc305bd41c36       no              eth0.2488
                                                        vnet14
                                                        vnet2
cloudVirBr2489          8000.bc305bd41c36       no              eth0.2489
                                                        vnet18
                                                        vnet6
cloudVirBr2490          8000.bc305bd41c36       no              eth0.2490
                                                        vnet10
                                                        vnet22
cloudVirBr2491          8000.bc305bd41c36       no              eth0.2491
                                                        vnet0
                                                        vnet12
cloudVirBr2494          8000.bc305bd41c36       no              eth0.2494
                                                        vnet1
                                                        vnet13
virbr0          8000.000000000000       yes
root@Rack3Host17:~#


=============
Build Information:
=============

This is the version information for the manifests in the JAR files.

Implementation_Version:                           2.2.20121012230921



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

Mime
View raw message