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

    Deleted Backup Jobs

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    7 Posts 3 Posters 550 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.
    • A Offline
      Alexander 0
      last edited by

      Hi,
      I have problems with deleted backup jobs. They are still in config and send email notification with "no such user" error.

      xoa2.PNG xoa4.PNG xoa3.PNG

      Then I exported config and found that there is job in it:

      config.json.2.PNG config.json.1.PNG

      Also I have jobs with "no such user" error. But the seems completes successfully.
      Like this:
      thunderbird2.PNG thunderbird1.PNG

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

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

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

          Does restarting xo-server fixed the issue?

          A 1 Reply Last reply Reply Quote 0
          • A Offline
            Alexander 0 @julien-f
            last edited by

            @julien-f no it didn't

            1 Reply Last reply Reply Quote 0
            • A Offline
              Alexander 0
              last edited by

              I tried to update to 5.53. Nothing changed.
              How to cleanup config from this old records?

              1 Reply Last reply Reply Quote 0
              • A Offline
                Alexander 0
                last edited by

                I found that Jobs in Redis. They have type call:

                1
                method
                vm.rollingBackup

                2
                type
                call

                3
                key
                rollingBackup

                4
                paramsVector
                {"type":"crossProduct","items":[{"type":"set","values":[{"id":"9c752b79-1d43-a2f8-86b7-bf1175f3aaac"}]},{"type":"set","values":[{"tag":"DAC-Ubuntu-x64","retention":2,"remoteId":"511cebe0-3cf7-40b2-9c91-d5b539609dc3"}]}]}

                5
                userId
                9cbbe250-391f-44a0-bce2-723ba00c11e7

                6
                timeout
                60000000

                A 1 Reply Last reply Reply Quote 0
                • A Offline
                  Alexander 0 @Alexander 0
                  last edited by

                  Complete solution is delete delete all jobs with type "call" then delete this job ids from job_ids table.
                  After this delete all schedule's with this job ids. And then delete this schedule ids from schedule_ids table.

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