[
https://issues.apache.org/jira/browse/CLOUDSTACK-801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13609269#comment-13609269
]
ilya musayev commented on CLOUDSTACK-801:
-----------------------------------------
Sudha and Sateesh
To summarize, this feature has 2 noticed bugs:
1) vmware.ports.per.dvportgroup setting is not read or used. In my case, i set
it to 512, while it fails back to 256 - no matter what i tried.
* The 512 value stays set in CloudStack, however in vmware dvs under portgroup
number of ports, it does not change and uses default 256.
I made a test and set a static variable of numPorts = 512 in
vmware-base/src/com/cloud/hypervisor/vmware/mo/HypervisorHostHelper.java and it
took the static entry without issues.
Please double check this part.
2) 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 = "",
--> }
Technically we can try setting the
if untagged vlan = true
vid = 0
This last part i need to confirm.
Otherwise, if you add tagged portgroups into DVS, it works.
Going through hopefully the final test now.
Thanks
ilya
> QA for VMWare vNetwork Distributed switch support in cloudstack
> ---------------------------------------------------------------
>
> Key: CLOUDSTACK-801
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-801
> Project: CloudStack
> Issue Type: Sub-task
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Network Controller
> Affects Versions: 4.1.0
> Environment: See Test Plan
> Reporter: Sudha Ponnaganti
> Assignee: ilya musayev
> Labels: testing
> Fix For: 4.2.0
>
>
> - Need to have compehensive Test plan for the feature based on Requirements/FS
> - Please do provide Automation if there is any - You can take a look at
> Cloudmonkey /python framework
> - Any unit tests would also be good - pl take a look at Junit
> - test plan and Test results can be posted at
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+4.1+QA+Plan
--
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