XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Bonsai
    B
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 0

    Bonsai

    @Bonsai

    2
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Bonsai Unfollow Follow

    Latest posts made by Bonsai

    • [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"
      79b9ddd2-c0af-40fb-b29b-a2842fd1ef27-image.png
      https://pastebin.com/TzSn55m0

      Environment:

      XO Community - commit 2246e - xo-server 5.107.5 - xo-web 5.109.0 - Debian GNU/Linux 11 (bullseye)
      Host - XCP-ng 8.2.1

      Replication steps:

      Create jobs via GUI:
      bd8f88b5-fbb9-47a1-b8ba-a0cdde383702-image.png
      Copy ID to clipboard via UI
      741078ff-e292-42cc-8737-cc00c3c4943b-image.png

      Add to sequence and save:
      4d9c44dd-140a-4434-8e4d-63fe230be616-image.png

      Run sequence:
      8d068f0d-26e4-493a-9d86-2b0daa1949d1-image.png

      Job finishes with invalid parameters error:
      803ff553-c38a-4477-912b-9be33ccdee25-image.png

      Log:
      https://pastebin.com/TzSn55m0

      Additional 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:
      c5bf37a7-6cba-4f15-bb6e-5dee74b96577-image.png
      This also fails to run with the same error https://pastebin.com/TCEjXP2E

      posted in Xen Orchestra xoce jobs
      B
      Bonsai