Repository navigation
CLOUDSTACK-9184: Fixes #2631 VMware dvs portgroup autogrowth - #2634
Conversation
|
@blueorangutan package |
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2040 |
|
@blueorangutan test centos7 vmware-65 |
|
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + vmware-65) has been kicked to run smoke tests |
DaanHoogland
left a comment
There was a problem hiding this comment.
code looks good, I don't know enough off the vmware feature to discuss its merrit from a functional point of view (sanity of defaults for versions)
|
@sureshanaparti I've concluded a standalone and upgrade test (upgrade from 4.6) and conclude no regressions. Do you have any comments on the PR? |
| AboutInfo about = hostMo.getHostAboutInfo(); | ||
| if (about != null) { | ||
| String version = about.getApiVersion(); | ||
| if (version != null && (version.equals("4.0") || version.equals("4.1")) && _portsPerDvPortGroup < DEFAULT_PORTS_PER_DV_PORT_GROUP_VSPHERE4_x) { |
There was a problem hiding this comment.
do you need that second condition there _portsPerDvPortGroup < DEFAULT_PORTS_PER_DV_PORT_GROUP_VSPHERE4_x?
There was a problem hiding this comment.
@rafaelweingartner Yes. For these versions, the default ports which is 256 shouldn't change, for the backward compatibility. The below details can be documented in the upgrade details.
In case of vSphere 4.1/4.0 (If used), as this feature is not there, the new default value (=> 8) have an impact in the existing deployments. Action item for vSphere 4.1/4.0: Admin should modify the global configuration setting "vmware.ports.per.dvportgroup" from 8 to any number based on their environment because the proposal default value of 8 would be very less without auto expand feature in general. The current default value of 256 may not need immediate modification after deployment, but 8 would be very less which means admin need to update immediately after upgrade.
| int portsPerDvPortGroup = _portsPerDvPortGroup; | ||
| AboutInfo about = hostMo.getHostAboutInfo(); | ||
| if (about != null) { | ||
| String version = about.getApiVersion(); |
There was a problem hiding this comment.
Are the versions fixed? I mean, can't we have 4.2, 4.3, and so on.
There was a problem hiding this comment.
@rafaelweingartner No VMware ESXi/ESX hosts with these release versions. Take a look at the versions in the article https://kb.vmware.com/s/article/2143832.
|
@rhtyd No comments. Thanks for taking this up! |
|
Trillian test result (tid-2653)
|
|
Test LGTM. Are you lgtm on this @rafaelweingartner ? |
|
Note: While I sent the PR, I'll give my LGTM as the changes are not authored by me. |
This deprecates the vmware.ports.per.dvportgroup global setting. The vSphere Auto Expand feature (introduced in vSphere 5.0) will take care of dynamically increasing/decreasing the dvPorts when running out of distributed ports . But in case of vSphere 4.1/4.0 (If used), as this feature is not there, the new default value (=> 8) have an impact in the existing deployments. Action item for vSphere 4.1/4.0: Admin should modify the global configuration setting "vmware.ports.per.dvportgroup" from 8 to any number based on their environment because the proposal default value of 8 would be very less without auto expand feature in general. The current default value of 256 may not need immediate modification after deployment, but 8 would be very less which means admin need to update immediately after upgrade. Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
|
I found an issue with upgrade/backward compatibility, the new minor fix is that we don't force dvs portgroup number on existing switches, but only when creating new switch. Let's test this. /cc @PaulAngus |
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
borisstoyanov
left a comment
There was a problem hiding this comment.
LGTM, previous tests looks good, let's see the latests results.
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2048 |
|
@blueorangutan test centos7 vmware-65 |
|
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + vmware-65) has been kicked to run smoke tests |
PaulAngus
left a comment
There was a problem hiding this comment.
LGTM based on creation of ACS 4.6 with vSphere 5.5, number of dvs ports set to 8. (mgmt and guest using dvswitch) create 7 VRs to number of mgmt ports = 11
- Upgraded to 4.11 (without fix) message seen complaining that could not set 8 ports as 11 in use already when redeploying CPVM.
- Updated to this PR - CPVM (and all other system vms deploy successfully.
|
Manually tested, also verified on trillian env. Based on review and trillian tests results (including incoming/2nd run), merging this. |
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
|
Trillian test result (tid-2663)
|
|
@blueorangutan test centos7 vmware-65 |
|
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + vmware-65) has been kicked to run smoke tests |
|
Trillian test result (tid-2667)
|
This deprecates the vmware.ports.per.dvportgroup global setting.
The vSphere Auto Expand feature (introduced in vSphere 5.0) will take
care of dynamically increasing/decreasing the dvPorts when running out
of distributed ports . But in case of vSphere 4.1/4.0 (If used), as this
feature is not there, the new default value (=> 8) have an impact in the
existing deployments. Action item for vSphere 4.1/4.0: Admin should
modify the global configuration setting "vmware.ports.per.dvportgroup"
from 8 to any number based on their environment because the proposal
default value of 8 would be very less without auto expand feature in
general. The current default value of 256 may not need immediate
modification after deployment, but 8 would be very less which means
admin need to update immediately after upgrade.
This continues and take-over from PR #1253
Types of changes
GitHub Issue/PRs
Screenshots (if appropriate):
How Has This Been Tested?
I deployed ACS 4.6 and performed an upgrade to latest 4.11 with dvs, I could not reproduce the issues shared on #2631
Checklist:
Testing