[XO-CE] job.Sequence error - invalid parameters
-
Goal:
- Use Jobs GUI - job.runSequence - to create a vm.stop, run vm.snapshot, then vm.start sequence.
What works:
All individual jobs are able to be created and ran successfully on their own.
Issue:
Running the job sequence gives invalid parameters error. In the log I see "must be array"
https://pastebin.com/TzSn55m0Environment:
XO Community - commit 2246e - xo-server 5.107.5 - xo-web 5.109.0 - Debian GNU/Linux 11 (bullseye)
Host - XCP-ng 8.2.1Replication steps:
Create jobs via GUI:
Copy ID to clipboard via UI
Add to sequence and save:
Run sequence:
Job finishes with invalid parameters error:
Log:
https://pastebin.com/TzSn55m0Additional questions
Q1. Assuming this were working - should I be able to copy the Job ID from the Delta Backup job and use it in place of the vm.snapshot job?
Q2. Is the format of my post good, or a tad long? As it's an issue while using the GUI I figured more screenshots = better.Additional bug
Adding only a single job when creating a job run sequence and then going back to add more after saving causes the array to save out to a list of the individual elements:
This also fails to run with the same error https://pastebin.com/TCEjXP2E -
Hmm adding @julien-f in the loop, I think it might worth a Github issue
-
I believe this is a known issue (https://github.com/vatesfr/xen-orchestra/issues/5973) that is unlikely to be fixed in XO5.
We'll need to wait for @pdonias to be back from holidays to have more info on this.