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
Fix BZ 1813198 - change recommended windows bus to sata #148
Conversation
|
Hi @glekner. Thanks for your PR. I'm waiting for a kubevirt member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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/test-infra repository. |
|
@ksimon1 can you review? |
| "message": "virto disk bus type has better performance, install virtio drivers in VM and change bus type", | ||
| "values": ["virtio"], | ||
| "message": "sata disk bus type has native support", | ||
| "values": ["sata"], |
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.
This does not fix the bug from the title. The section you modified is just validation that prints out a warning to the user. It does not affect defaults.
The defaults are set elsewhere (line 119) and are already set to sata.
This change is also wrong. As far as I remember we want users to use virtio for disks, because that bus type has much better performance. The validation can be improved to not match cdroms of course, but it should still match disks I think.
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.
Thanks for the response @MarSik
There was a misunderstanding from my end, ultimately we want to force only CDs on Windows VMs to SATA only. we can for now force it in the UI but I believe there should be bus validations for CDs in common-templates. please correct me if i'm wrong.
If so, how do we proceed? should I open a bugzilla for it?
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.
You can add a second validation rule with the content you tried to change here, just update the jsonpath to "path": "jsonpath::.spec.domain.devices.disks[*].cdrom.bus",. Double check the cdrom format though as I have been away from kubevirt for many months.
|
@MarSik can you take a look again? Thanks! |
Signed-off-by: Gilad Lekner <=>
|
/ok-to-test |
|
/lgtm |
|
@ksimon1 will this be included in 4.5? Thanks |
|
yes, this should fix be available in 4.5 |
No description provided.