XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    [XO-CE] job.Sequence error - invalid parameters

    Scheduled Pinned Locked Moved Xen Orchestra
    xocejobs
    3 Posts 3 Posters 507 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      Bonsai
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Online
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Hmm adding julien-f in the loop, I think it might worth a Github issue

        julien-fJ 1 Reply Last reply Reply Quote 0
        • julien-fJ Offline
          julien-f Vates 🪐 Co-Founder XO Team @olivierlambert
          last edited by

          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.

          just-333 created this issue in vatesfr/xen-orchestra

          closed Error on vm.set from Jobs tab in XO web GUI #5973

          1 Reply Last reply Reply Quote 1
          • First post
            Last post