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
[BUG] SR-IOV Virtual Functions can be 0 or -N integers #3977
Comments
* toss out anything less than or equal to zero for the SR-IOV device virtual function addresses * avoid making an API call out to the endpoint, reducing network chatter Resolves: github.com/harvester/harvester/issues/3977
* toss out anything less than or equal to zero for the SR-IOV device virtual function addresses * avoid making an API call out to the endpoint, reducing network chatter Resolves: github.com/harvester/harvester/issues/3977
Not sure if the drafted pr from above fixes what's happening 😅 - but was thinking perhaps something along those lines for the implementation of the fix 😄 - if the fix might work I can un-draft that PR 😄 cc: @DaiYuzeng |
Thanks for your dedication! I sent a PR to your branch. Could you take a look when you are free? Thanks! |
Looks great 😄 - I've gone ahead and merged that in 👍 |
* toss out anything less than or equal to zero for the SR-IOV device virtual function addresses * avoid making an API call out to the endpoint, reducing network chatter Resolves: github.com/harvester/harvester/issues/3977
* toss out anything less than or equal to zero for the SR-IOV device virtual function addresses * avoid making an API call out to the endpoint, reducing network chatter Resolves: github.com/harvester/harvester/issues/3977
@DaiYuzeng We need to raise a pr upstream (component or vue directive) to solve the problem of inputting negative numbers. |
Pre Ready-For-Testing Checklist
|
@torchiaf Can you help check if we can move to ready for testing and confirm we have this in v1.3.0+. Thanks. |
I confirm this has been fixed in 1.2 and 1.3.0. Moving in Ready for tests. |
Thanks for the fix @torchiaf 😄 👍 |
Describe the bug
Can pass in 0 or negative numbers for enabling virtual functions on sr-iov.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Not allow negative integers or 0 when specifiying the number of virtual functions on sr-iov
Environment
Additional context
The text was updated successfully, but these errors were encountered: