vatesfr / xen-orchestra

The global orchestration solution to manage and backup XCP-ng and XenServer.
https://xen-orchestra.com
Other
793 stars 265 forks source link

VDI_IN_USE(OpaqueRef:d525416f-65c7-48b6-ad1c-200e8b315014, destroy) #7956

Closed rtjdamen closed 2 months ago

rtjdamen commented 2 months ago

Are you using XOA or XO from the sources?

XOA

Which release channel?

latest

Provide your commit number

No response

Describe the bug

When running a backup sometimes error VDI_IN_USE(OpaqueRef:d525416f-65c7-48b6-ad1c-200e8b315014, destroy) does occur, the backup fails. A retry within the jobs run does not work. When u restart the job the vm is processed correct.

Error message

VDI_IN_USE(OpaqueRef:d525416f-65c7-48b6-ad1c-200e8b315014, destroy)

To reproduce

it's not easy to reproduce it just happens to some vms once in a while.

Expected behavior

No response

Screenshots

No response

Node

18.20.2

Hypervisor

XCP-Ng 8.2.1

Additional context

No response

olivierlambert commented 2 months ago

If I remember correctly, the function prototype is VDI_IN_USE(OpaqueRef:<ref>, <action>). So it's like we want to remove it while it's still used. But it could be interesting to know at which step exactly it happens, do you have the full log?

rtjdamen commented 2 months ago

I send it to you over email

rtjdamen commented 2 months ago

Fixed by fix for https://github.com/vatesfr/xen-orchestra/issues/7826