ilya musayev created CLOUDSTACK-1767: ----------------------------------------
Summary: VMWare DVS - cannot use untagged portgroups Key: CLOUDSTACK-1767 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1767 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: Management Server, VMware Affects Versions: 4.2.0 Environment: 4.2 Master Reporter: ilya musayev Assignee: Sateesh Chodapuneedi Please revise this portion of the code in vmware-base/src/com/cloud/hypervisor/vmware/mo/HypervisorHostHelper.java if (vid != null) { vlanSpec = createDVPortVlanIdSpec(vid); } else { vlanSpec = createDVPortVlanSpec(); } This code does not take into account PortGroups on DVS that are untagged. This issue was particularly hard to identify as stack trace would only show up on the hypervisor hostd.log and VC error is was vary vague. the hostd.log on hypervisor indicate that vlanSpec is invalid for PortGroups that are untagged (or the ID is left blank). 2013-03-14T20:32:12.351Z [41D16B90 info 'Vmomi' opID=786a44c8-8d] Throw vim.fault.DvsApplyOperationFault 2013-03-14T20:32:12.352Z [41D16B90 info 'Vmomi' opID=786a44c8-8d] Result: --> (vim.fault.DvsApplyOperationFault) { --> dynamicType = <unset>, --> faultCause = (vmodl.MethodFault) null, --> objectFault = (vim.fault.DvsApplyOperationFault.FaultOnObject) [ --> (vim.fault.DvsApplyOperationFault.FaultOnObject) { --> dynamicType = <unset>, --> objectId = "2442", --> type = "vim.dvs.DistributedVirtualPort", --> fault = (vmodl.fault.InvalidArgument) { --> dynamicType = <unset>, --> faultCause = (vmodl.MethodFault) null, --> invalidProperty = "vlanSpec", --> msg = "", --> }, --> } --> ], --> msg = "", --> } -- 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