-
Notifications
You must be signed in to change notification settings - Fork 256
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
Job using jun.runSequence always fails with Parameter Errors #7033
Comments
Hello, What's the full error displayed in Settings/Logs? |
@julien-f Added the Settings/ Logs entry to the original report (above). |
AFAIK, currently reworked by @julien-f |
@julien-f Would be happy to lend a hand in patching and refactoring. But need a pointer in groking the job parser. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Built from XO sources:
Bug Description
Jobs using XO API job.runSequence always fail with invalid parameters. Even a simple job that stops and restarts a VM fails with or without a schedule. Should the array bug reported earlier in #5983, #5973, and #5944 affect job.runSequence? If not known please be aware this is also broken.
To Reproduce
Just so you know, this is not my original intent but rather a simple example expressing the problem with job.runSequence.
Steps to reproduce the behavior:
a. Stop-Hosts:
- User: admin user with authority to run jobs
- Name: Stop-Hosts
- API Command: vm.stop
-- VM(s): Pick running VM(s)
-- Enable: force
-- Enable: bypassBlockedOperation
b. Restart-Hosts:
- User: admin user with authority to run jobs
- Name: Restart-Hosts
- API Command: vm.restart
-- VM(s): Same VM(s) as above
-- Enable: force
-- Enable: bypassBlockedOperation
c. Reboot-Hosts:
- User: admin user with authority to run jobs
- Name: Restart-Hosts
- API Command: job.runSequence
-- idSequence
Add job ids from the above two jobs using the copy to clipboard button for each listed job on the +New tab
job.runSequence:
idSequence: 369b79ba-1986-45ce-b1ca-db394cb5ad8e
description: Reboot selected VMs
VM: BFXOA002 (great old ones)
Start: Sep 12, 2023 at 01:46:54 PM
invalid parameters
job.runSequence:
idSequence: 65c8afa0-2520-4a85-93c3-cbd8f0584863
description: Reboot selected VMs
VM: BFXOA002 (great old ones)
Start: Sep 12, 2023 at 01:46:54 PM
invalid parameters
Expected behavior
Stop and restart the VMs configured in the sequence job.
Environment:
Syslog entries
Settings Logs Listing
The text was updated successfully, but these errors were encountered: