Skip to content

Replication Cross-Cluster delete origin disk vm folderΒ #422

@depedro-ai

Description

@depedro-ai

Hey there! πŸ‘‹ Thanks for taking the time to report this bug β€” we appreciate it!

Please keep in mind: PegaProx is developed and maintained entirely by volunteers in our free time. We do our best, but we can't work magic πŸͺ„ β€” please be patient, we'll get to your issue as soon as we can.

Want to help keep PegaProx alive?

  • ⭐ Star the project β€” it's free and helps a lot!
  • πŸ’– Become a Sponsor β€” helps us dedicate more time to development
  • 🀝 Contributing code or docs is always welcome too!

Describe the bug

Replication Cross-Cluster delete origin disk vm folder.

Steps to Reproduce

  1. create a Replicatin Cross-Cluster job and start it
  2. When replicatin end, origin vm fail deleting snapshot
  3. VM appear bloked

Expected behavior

origin vm should be in production mode

Environment

  • PegaProx Version: Beta 0.9.10.2
  • Installation Method: CT Template
  • OS: Debian 13 LXC Container
  • Browser: Chromium 146.0.7680.22
  • Behind Reverse Proxy? No
  • UI? Corporate

Logs

snapshotting 'drive-scsi0' (netapp:105/vm-105-disk-0.qcow2) internal qemu snapshot TASK OK
creating a clone of VM 105 with ID 127
create full clone of drive scsi0 (netapp:105/vm-105-disk-0.qcow2)
Formatting '/mnt/pve/netapp/images/127/vm-127-disk-0.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off preallocation=off compression_type=zlib size=42949672960 lazy_refcounts=off refcount_bits=16
transferred 40.0 GiB of 40.0 GiB (100.00%) TASK OK
2026-05-15 14:10:12 remote: started tunnel worker 'UPID:pve04:00219114:0E7ADED2:6A070D24:qmtunnel:105:root@pam!xcrepl-7511d85d-47007:'
tunnel: -> sending command "version" to remote
tunnel: <- got reply
2026-05-15 14:10:13 local WS tunnel version: 2
2026-05-15 14:10:13 remote WS tunnel version: 2
2026-05-15 14:10:13 minimum required WS tunnel version: 2
websocket tunnel started
2026-05-15 14:10:13 starting migration of VM 127 to node 'pve04' (10.0.0.77)
tunnel: -> sending command "bwlimit" to remote
tunnel: <- got reply
2026-05-15 14:10:13 found local disk 'netapp:127/vm-127-disk-0.qcow2' (attached)
2026-05-15 14:10:13 copying local disk images
tunnel: -> sending command "disk-import" to remote
tunnel: <- got reply
tunnel: accepted new connection on '/run/pve/127.storage'
tunnel: requesting WS ticket via tunnel
tunnel: established new WS for forwarding '/run/pve/127.storage'
31847612416 bytes (32 GB, 30 GiB) copied, 272.496 s, 117 MB/s
tunnel: -> sending command "query-disk-import" to remote
tunnel: done handling forwarded connection from '/run/pve/127.storage'
tunnel: <- got reply
2026-05-15 14:14:46 disk-import: Formatting '/mnt/pve/replica/images/105/vm-105-disk-0.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off preallocation=metadata compression_type=zlib size=42949672960 lazy_refcounts=off refcount_bits=16
tunnel: -> sending command "query-disk-import" to remote
tunnel: <- got reply
2026-05-15 14:14:51 disk-import: 838+1954674 records in
tunnel: -> sending command "query-disk-import" to remote
tunnel: <- got reply
2026-05-15 14:14:52 disk-import: 838+1954674 records out
tunnel: -> sending command "query-disk-import" to remote
tunnel: <- got reply
2026-05-15 14:14:53 disk-import: 31847612416 bytes (32 GB, 30 GiB) copied, 276.456 s, 115 MB/s
tunnel: -> sending command "query-disk-import" to remote
tunnel: <- got reply
2026-05-15 14:14:55 volume 'netapp:127/vm-127-disk-0.qcow2' is 'replica:105/vm-105-disk-0.qcow2' on the target
2026-05-15 14:14:55 mapped: net2 from vmbr0 to vmbr0
2026-05-15 14:14:55 mapped: net1 from vmbr0 to vmbr0
2026-05-15 14:14:55 mapped: net0 from vmbr0 to vmbr0
tunnel: -> sending command "config" to remote
tunnel: <- got reply
tunnel: -> sending command "unlock" to remote
tunnel: <- got reply
tunnel: -> sending command "quit" to remote
tunnel: <- got reply
2026-05-15 14:14:57 migration finished successfully (duration 00:04:45)
TASK OK
TASK ERROR: VM 105 qmp command 'blockdev-snapshot-delete-internal-sync' failed - Failed to remove snapshot from snapshot list: Stale file handle

Screenshots

Checklist

  • I have searched existing issues to make sure this is not a duplicate
  • I am using the latest version of PegaProx

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions