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

    Failing backups due to the Lock File

    Scheduled Pinned Locked Moved Xen Orchestra
    5 Posts 2 Posters 522 Views 2 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
      berish.lohith
      last edited by berish.lohith

      Hello,
      I am experiencing the issue that is similiar to this one from 2021.

      3 out of 21 VM backup fails every time with the following warning:

      the writer DeltaBackupWriter has failed the step writer.beforeBackup() with error Lock file is already being held. It won't be used anymore in this job execution.
      

      and error:

      Error: Lock file is already being held
      

      This is a backup log for the first job

      On the same job 2 hours later I got the same errors, but on different VMs. Backup log

      It is always same 3 VMs that are failing during the first Job and then same 2 VMs during the second one

      ef45bc94-3565-4f67-a651-eb65c25cf581-image.png
      27707355-45a5-48c6-99b3-618add43b195-image.png

      I am not sure if there is a specific issue or I have to delete the orphaned logs.

      xo-server 5.113.0
      xo-web 5.116.1

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

        Hi,

        We need more info to be able to help: are you using XOA or XO from the sources? If from the sources, we need to know your commit number, as per https://xen-orchestra.com/docs/community.html#current-version

        B 1 Reply Last reply Reply Quote 0
        • B Offline
          berish.lohith @olivierlambert
          last edited by

          Hello @olivierlambert, sure!
          Xen Orchestra, commit fd2c7

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

            As explained here: https://xen-orchestra.com/docs/community.html#report-a-bug

            In a big yellow warning:

            f6d23bc3-56f5-4a20-9ac2-d8b51fbd2acc-image.png

            It is very important, because many fixes happened in few days 🙂

            B 1 Reply Last reply Reply Quote 0
            • B Offline
              berish.lohith @olivierlambert
              last edited by

              @olivierlambert Thank you! Updated to latest version of Xen Orchestra, commit b0e2e, and started backup again. Will update once it finishes. One thing that scares me is that now XOA is saying that XVA might be broken. 206f4cb2-9efc-424f-808b-cf55c0c03e4c-image.png

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