Skip to content

VMware: Enable CPU and memory hot-add support - #56173

Closed
nicholasmhughes wants to merge 12 commits into
saltstack:masterfrom
nicholasmhughes:fix_vmware_hotadd_enabled
Closed

nicholasmhughes wants to merge 12 commits into
saltstack:masterfrom
nicholasmhughes:fix_vmware_hotadd_enabled

Conversation

@nicholasmhughes

Copy link
Copy Markdown
Contributor

What does this PR do?

Allows for the VMware provider to handle CPU and memory hot-add in newer versions of the software.

What issues does this PR fix or reference?

#56144

Previous Behavior

Older versions of VMware handled CPU and memory hot-add through extra configs.

New Behavior

In newer versions, it is a dedicated attribute of the config spec.
https://communities.vmware.com/thread/619066

Tests written?

Yes. Current tests cover use.

Commits signed with GPG?

Yes

@nicholasmhughes
nicholasmhughes requested a review from a team as a code owner February 15, 2020 03:10
@ghost
ghost requested a review from Ch3LL February 15, 2020 03:10
@cmcmarrow cmcmarrow added the needs-testcase PR needs test cases written, or the issue is about a bug/feature that needs test cases label Mar 23, 2020

@cmcmarrow cmcmarrow left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nicholasmhughes can we get some tests?

@nicholasmhughes

Copy link
Copy Markdown
Contributor Author

@cmcmarrow take it or leave it. this is a super minor change to a cloud provider that I made for someone else that requested it. I don't have any deployed VMware.

@Ch3LL Ch3LL self-assigned this Apr 15, 2020
@dwoz dwoz added the help-wanted Community help is needed to resolve this label Apr 19, 2020
@sagetherage sagetherage assigned DmitryKuzmenko and unassigned Ch3LL May 5, 2020
@DmitryKuzmenko
DmitryKuzmenko requested review from DmitryKuzmenko and removed request for Ch3LL May 9, 2020 10:14
@nicholasmhughes

Copy link
Copy Markdown
Contributor Author

re-run centos8

@nicholasmhughes

Copy link
Copy Markdown
Contributor Author

re-run fedora32

@sagetherage
sagetherage removed the request for review from DmitryKuzmenko November 18, 2020 18:48
@ggiesen

ggiesen commented May 31, 2021 •

Copy link
Copy Markdown
Contributor

@nicholasmhughes would it be too much to ask to add the following config options as well? I can open another PR but that means we won't see them before Xmas.

cpuHotRemoveEnabled = cpu_hot_remove
nestedHVEnabled = nested_hv
vPMCEnabled = vpmc

https://vdc-download.vmware.com/vmwb-repository/dcr-public/790263bc-bd30-48f1-af12-ed36055d718b/e5f17bfc-ecba-40bf-a04f-376bbb11e811/vim.vm.ConfigSpec.html

@ggiesen

ggiesen commented May 31, 2021

Copy link
Copy Markdown
Contributor

@nicholasmhughes would it be too much to ask to add the following config options as well? I can open another PR but that means we won't see them before Xmas.

cpuHotRemoveEnabled = cpu_hot_remove
nestedHVEnabled = nested_hv
vPMCEnabled = vpmc

https://vdc-download.vmware.com/vmwb-repository/dcr-public/790263bc-bd30-48f1-af12-ed36055d718b/e5f17bfc-ecba-40bf-a04f-376bbb11e811/vim.vm.ConfigSpec.html

@nicholasmhughes I sent you a PR against your branch which if you accept should get merged into this PR

@ggiesen ggiesen mentioned this pull request Aug 15, 2021
3 tasks done
@nicholasmhughes

Copy link
Copy Markdown
Contributor Author

Closing. Assume that the new VMware Salt Extension handles this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

has-failing-test help-wanted Community help is needed to resolve this needs-testcase PR needs test cases written, or the issue is about a bug/feature that needs test cases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants