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

    Jobs not running error: no value for `user_ip`

    Scheduled Pinned Locked Moved Xen Orchestra
    7 Posts 4 Posters 1.3k 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

      Hi,
      my scheduled vm.revert jobs are no longer running, even not when triggered manually in XO.

      Error is: no value for user_ip

      Using XO from sources
      currently: xo-server 5.57.3 / xo-web 5.57.1

      Error started: Feb 29
      Last successful run was: Feb 22

      Multiple updates in between.

      Jobs are simple vm.revert configured with a Snapshot and snapshotBefore: false

      Looks like a bug, can someone confirm this? I have no XOA available right now.
      If confirmed, I can open an issue at github?

      Cheers and all the best to everyone!

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

        @pdonias or @julien-f will take a look when they can 🙂

        Thanks for the feedback!

        1 Reply Last reply Reply Quote 1
        • C Offline
          cocoon XCP-ng Center Team
          last edited by

          Wow you are sooo quick with replying ... thanks ^^

          1 Reply Last reply Reply Quote 0
          • pdoniasP Offline
            pdonias Vates 🪐 XO Team
            last edited by

            @badrAZ Do you have an idea? It sounds related to the changes for the audit.

            1 Reply Last reply Reply Quote 0
            • badrAZB Offline
              badrAZ
              last edited by

              @pdonias Indeed, it's related to the audit changes.

              @cocoon Thank you for your report.

              I've just created a PR on Github which fix this issue.

              Please follow it to get it's evolution. Feel free to test it and give us your feedback.

              Thank you!

              1 Reply Last reply Reply Quote 1
              • C Offline
                cocoon XCP-ng Center Team
                last edited by

                Impressive, on a Friday, thanks! I will now directly test the fix and change the file manually 👍

                1 Reply Last reply Reply Quote 0
                • C Offline
                  cocoon XCP-ng Center Team
                  last edited by cocoon

                  I can already confirm that I could trigger 2 Jobs manually in XO and it run successfully.
                  Thanks!
                  The scheduled ones I will see tomorrow and report if it would fail, but it is not expected.

                  1 Reply Last reply Reply Quote 1

                  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