-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Create global configuration to allow changing the default nic adapter for user VMs in VMware #7954
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@blueorangutan package |
|
@harikrishna-patnala a [SF] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Codecov Report
@@ Coverage Diff @@
## main #7954 +/- ##
=============================================
+ Coverage 14.40% 29.48% +15.07%
- Complexity 10116 30812 +20696
=============================================
Files 2748 5100 +2352
Lines 259424 367600 +108176
Branches 40385 56289 +15904
=============================================
+ Hits 37378 108372 +70994
- Misses 217210 244365 +27155
- Partials 4836 14863 +10027
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 3580 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
plugins/hypervisors/vmware/src/main/java/com/cloud/hypervisor/guru/VmwareVmImplementer.java
Show resolved
Hide resolved
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 7021 |
Thanks @harikrishna-patnala. Yes, I think it makes sense to use it in that case, I will add a commit to implement it. |
JoaoJandre
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CLGTM, did not test it
|
@harikrishna-patnala is this lgty now? |
yadvr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - didn't test it
harikrishna-patnala
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM
|
@blueorangutan package |
|
@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
@blueorangutan test ol8 vmware-70u3 |
|
@DaanHoogland [SL] unsupported parameters provided. Supported mgmt server os are: |
|
@blueorangutan test alma8 vmware-70u3 |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (alma8 mgmt + vmware-70u3) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-8239)
|
|
@blueorangutan test alma8 vmware-70u3 keepEnv |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (alma8 mgmt + vmware-70u3) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-8250)
|
DaanHoogland
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clgtm, tested all four values and checked on vcenter what the adapter type would be.
… for user VMs in VMware (apache#7954) Co-authored-by: Gabriel <gabriel.fernandes@scclouds.com.br>
Description
While creating a VM using VMware, if the template does not have a nic adapter configured, CloudStack will default to
E1000. There is a global configuration calledVmwareSystemVmNicDeviceTypethat allows the operator to choose the default nic adapter for system VMs, however, no such configuration exists for user VMs.A new global configuration was created to allow the operator to choose the default nic adapter for user VMs.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
How Has This Been Tested?
I changed the value of the config to
PCNet32and verified that the VMs deployed after this change had the right nic adapter.This step was repeated for all the options of the configuration.