-
Notifications
You must be signed in to change notification settings - Fork 993
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
float64 error from arguments.go:65 when adding overcommit-factor to configmap #2053
Comments
/assign @Thor-wl please help to have a look. |
@tFable Thanks for the feedback. |
@tFable Hey, I've overviewed and checked the reproduce steps mentioned above. And it seems that the docker image tag is also |
Well, I reproduce this phenomenon with the master branch. Let me take a fix. |
I got the root reason. The configuration you set for scheduler is format error:
There is a redundant blank space between |
/close |
@Thor-wl: Closing this 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 kubernetes/test-infra repository. |
Hey @Thor-wl , I found out what caused me to not see the image tags. I was using the wrong branch not branch When I switched to |
Hey @Thor-wl, I took the format directly from the code volcano/pkg/scheduler/plugins/overcommit/overcommit.go Lines 64 to 69 in 6733851
What is the exact format the This is something also being discussed in #2052 with @adamnovak |
@tFable Hey, I noticed that there are some other reports about this bug and it occurs in the master branch. I will try to reproduce it and give a fix. As to the format, I think what you configure is acceptable for yaml file. It should be more robust for the code to parse the parameters. |
What happened:
After changing the
configmap
to add aovercommit-factor
and installing volcano from this file on thev1.5
branch and changing the configmap getting this log continuouslyThis is how the
overcommit-factor
was defined:However, if on the
volcano-development.yaml
we change the docker images to pull a specific version (1.5.0) of the below containers (instead of:latest
that is the default on the branch) the error doesn't occur.That said, I am still not seeing the overcommit-factor be 1.0 (queued jobs are still having
pending
pods created).What you expected to happen:
For no float error message in the logs and for the overcommit-ratio change to actually "take".
How to reproduce it (as minimally and precisely as possible):
Install Volcano from the
volcano-development.yaml
file of thev1.5
branch. Prior to that, add an argument for theovercommit-ratio
to theovercommit
plugin.Anything else we need to know?:
Environment:
kubectl version
):1.23uname -a
):The text was updated successfully, but these errors were encountered: