-
Notifications
You must be signed in to change notification settings - Fork 273
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
Basic Job failing with "Invalid parameters" Error on vm.start #5983
Comments
I would also like to note that I have a startup job that was configured some time ago (didn't document when) which works just fine. If I recreate the same job from scratch, I get this new error. This suggests that the issue is realted to the newly created job object and the previous job object is still sending a string value containing the one VM rather than an array with a single vm. It seems that either the UI changed to allow selection of multiple VMs per job, or if that was already possible, then the UI is attempting to send an array rather building a comma-separated string for example. |
Hi, thanks, we're working on it. If you need to fix your jobs, you can revert to this commit in the meantime: 84dccd8. |
Thank you for providing that commit! I had been meaning to refresh my skills with git bisect, but haven't gotten around to it. |
Just ran another test after updating to latest commit 686e7. Created brand new start job with a single vm that is powered down, but got this error. Started the VM, created a brand new stop job with a single VM and it also failed with the same error (I only included one of the errors because aside from the ID, they are identical).
|
Hey @pdonias. A couple of weeks ago, I updated to the latest commit at the time (commit f5b7c ) which brought me up to release 5.69.1. Today, I created brand new start and stop jobs for a VM and they both worked as expected with no errors! Now that I've seen it once, I'm going to enable my rules to automatically start/stop a few VMs that I don't need running all night long and if the issue returns, I'll let you know. Thanks for all of your hard work on this project! |
Should we close it then? |
Yes, this should be closed. For the record, the original issue was there, we tried to fix it with this commit but it broke something else so we reverted it here and the original issue needs more investigation to be fixed. |
It looks like the API wants the IDs of the vms to be sent as a String, but its getting an Array.
The Job is really simple -- just trying to start a single vm and giving a 60 second timeout. The configured timeout doesn't seem to matter. I have left timeout undefined, I have set it to 10 seconds, 15 seconds, and most recently 60 seconds.
On master branch @ ae549e2.
The text was updated successfully, but these errors were encountered: