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

    [Jobs] invalid parameters (old jobs)

    Scheduled Pinned Locked Moved Xen Orchestra
    1 Posts 1 Posters 290 Views 1 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.
    • C Offline
      cocoon XCP-ng Center Team
      last edited by cocoon

      Hi again,

      I think there is a new problem with old jobs, a tleast for "vm.revert".
      (build from sources from Apr 9, 2020 )

      It looks like there was added a new parameter "timeout" and "snapshotbefore" was removed.

      I now tried to edit my old jobs to add the timeout value, but it seems not to remove the old parameter when I save it, and so the old jobs don't work.

      I have to create all from scratch now, no big problem for me, but might be better if it would remove invalid parameters when saving or validate if this is the problem.

      Cheers!

      Update: Might be related:
      https://github.com/vatesfr/xen-orchestra/commit/af4904ce8d9937b24654ef83ba138e2d9aaf86e4

      0 pdonias committed to vatesfr/xen-orchestra
      chore(xo-web,xo-server): move "snapshot before" feature to the client (#4893)
      
      From xo-server's API's point of view, it makes more sense for the "snapshot before" feature to be implemented in xo-web since snapshotting a VM is a whole independent process on its own that requires its own API permissions.
      
      Making this change will be especially useful to not over-complicate the permissions checks for the incoming "Self Service snapshots" feature.
      
      See #3693
      1 Reply Last reply Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post