Francois Gaudreault created CLOUDSTACK-1504: -----------------------------------------------
Summary: VMWare is not using the VLAN tag for storage port-group Key: CLOUDSTACK-1504 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1504 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: VMware Affects Versions: 4.1.0 Reporter: Francois Gaudreault When creating a zone with VMware as the hypervisor, even if we specify a VLAN tag for the storage traffic, CS create the port-group storage as untagged. The port-group should be created as tagged if a VLAN is given. It works fine for the public port-group: Public: 2013-03-04 14:38:39,562 INFO [vmware.resource.VmwareResource] (DirectAgent-21:172.30.90.30) Prepare NIC device based on NicTO: {"deviceId":2,"networkRateMbps":-1,"defaultNic":true,"uuid":"fa94d26f-6e36-4624-9354-34bac42e4603","ip":"172 .30.91.223","netmask":"255.255.255.0","gateway":"172.30.91.1","mac":"06:aa:48:00:01:a3","dns1":"8.8.8.8","broadcastType":"Vlan","type":"Public","broadcastUri":"vlan://3091","isolationUri":"vlan://3091","isSecurityGroupEnabled":false,"na me":"vSwitch0"} 2013-03-04 14:38:39,789 INFO [vmware.resource.VmwareResource] (DirectAgent-21:172.30.90.30) Prepare network on vSwitch: P[vSwitch0:untagged] with name prefix: cloud.public 2013-03-04 14:38:41,757 INFO [vmware.mo.HypervisorHostHelper] (DirectAgent-21:172.30.90.30) Network cloud.public.3091.0.1-vSwitch0 is ready on vSwitch vSwitch0 2013-03-04 14:38:41,757 INFO [vmware.resource.VmwareResource] (DirectAgent-21:172.30.90.30) Preparing NIC device on network cloud.public.3091.0.1-vSwitch0 Storage: 2013-03-04 14:38:41,761 INFO [vmware.resource.VmwareResource] (DirectAgent-21:172.30.90.30) Prepare NIC device based on NicTO: {"deviceId":3,"networkRateMbps":-1,"defaultNic":false,"uuid":"2b8081e0-6295-4860-8c84-369cc25ca996","ip":"17 2.30.92.34","netmask":"255.255.255.0","gateway":"172.30.92.1","mac":"06:e4:ac:00:01:c7","broadcastType":"Storage","type":"Storage","broadcastUri":"storage://3092","isSecurityGroupEnabled":false,"name":"vSwitch0"} 2013-03-04 14:38:42,044 INFO [vmware.resource.VmwareResource] (DirectAgent-21:172.30.90.30) Prepare network on vSwitch: P[vSwitch0:untagged] with name prefix: cloud.storage 2013-03-04 14:38:42,044 WARN [vmware.resource.VmwareResource] (DirectAgent-21:172.30.90.30) Unrecognized broadcast type in VmwareResource, type: Storage. Use vlan info from labeling: untagged 2013-03-04 14:38:44,813 INFO [vmware.mo.HypervisorHostHelper] (DirectAgent-21:172.30.90.30) Network cloud.storage.untagged.0.1-vSwitch0 is ready on vSwitch vSwitch0 2013-03-04 14:38:44,814 INFO [vmware.resource.VmwareResource] (DirectAgent-21:172.30.90.30) Preparing NIC device on network cloud.storage.untagged.0.1-vSwitch0 -- 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