-
Notifications
You must be signed in to change notification settings - Fork 1.8k
CNV-49612: Document CPU hotplug #83243
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
CNV-49612: Document CPU hotplug #83243
Conversation
@sbeskin-redhat: This pull request references CNV-49612 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
🤖 Tue Oct 15 16:33:41 - Prow CI generated the docs preview: https://83243--ocpdocs-pr.netlify.app/openshift-enterprise/latest/virt/virtual_machines/virt-edit-vms.html |
@sbeskin-redhat: This pull request references CNV-49612 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
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.
Looks good, just a couple of questions.
modules/virt-hot-plugging-cpu.adoc
Outdated
. Select the *vCPU* radio button. | ||
. Enter the desired number of vCPU sockets and click *Save*. | ||
|
||
The system applies these changes immediately. If the VM is migratable, a live migration is triggered. If not, or if the changes cannot be live-updated, a `RestartRequired` condition is added to the VM. |
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.
Could the words "applies changes immediately" be misinterpreted to mean there's no delay at all from when the change is requested until the CPUs are available? I'm assuming you meant the changes to the spec are immediate.
modules/virt-hot-plugging-cpu.adoc
Outdated
|
||
= Hot plugging CPUs on a virtual machine | ||
|
||
You can add or remove the number of CPU sockets allocated to a virtual machine (VM) without having to restart the VM by using the {product-title} web console. |
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.
@jean-edouard the word "sockets" is completely correct, but is it needed in this context?
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.
I'm not sure I understand the question, but yes I think it's important to tell the user we hotplug sockets and not CPUs, because that means hotplugging 1 (socket) will most likely result in more than 1 CPU getting hotplugged.
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.
Looks great, just a couple questions, very minor, feel free to ignore.
Thanks!
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.
The content LGTM but this PR should be based off the main
branch (and cherry picked to 4.17 and 4.18) and not enterprise-4.17
.
@sjhala-ccs But the main branch is 4.18 - why should it be there? |
|
@sjhala-ccs I see, thank you. Should i redo the PR? Will you be able to merge it? |
2d85c54
to
7e41139
Compare
@sjhala-ccs New PR: #83558 |
@sbeskin-redhat: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
/label peer-review-needed |
Replaced by #83558 |
Resolves: https://issues.redhat.com/browse/CNV-49612
OCP 4.17
CNV 4.17
Preview: https://83243--ocpdocs-pr.netlify.app/openshift-enterprise/latest/virt/virtual_machines/virt-edit-vms.html#virt-hot-plugging-cpu_virt-edit-vms