Scenario (6.1):
PVE1 host:
- no vm -
PVE2 host:
- VM100: on shared iSCSI, HA Enable
- VM101: on local LVM, HA Enable
PVE2 Fail, then VM100 go on PVE1 and work good, but VM101 appears on PVE1 but, of course, go in error state (because the storage is on PVE2).
Now the PVE2 go up and running fine, but i have problem to recovery VM because it appears on PVE1 but the disk is on PVE2 local lvm storage.
Any operation fail with this error:
2019-12-17 17:51:53 ERROR: Failed to sync data - command 'set -o pipefail && pvesm export local-lvm:vm-101-disk-0 raw+size - -with-snapshots 0 | /usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=pve2' root@192.168.4.82 -- pvesm import local-lvm:vm-101-disk-0 raw+size - -with-snapshots 0' failed: exit code 255
2019-12-17 17:51:53 aborting phase 1 - cleanup resources
2019-12-17 17:51:53 ERROR: found stale volume copy 'local-lvm:vm-101-disk-0' on node 'pve2'
2019-12-17 17:51:53 ERROR: migration aborted (duration 00:00:02): Failed to sync data - command 'set -o pipefail && pvesm export local-lvm:vm-101-disk-0 raw+size - -with-snapshots 0 | /usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=pve2' root@192.168.4.82 -- pvesm import local-lvm:vm-101-disk-0 raw+size - -with-snapshots 0' failed: exit code 255
TASK ERROR: migration aborted
Moving the disk is impossible. The scan do not show result. any ideas for unlock VM and reassign this VM to PVE2?
Thanks
PVE1 host:
- no vm -
PVE2 host:
- VM100: on shared iSCSI, HA Enable
- VM101: on local LVM, HA Enable
PVE2 Fail, then VM100 go on PVE1 and work good, but VM101 appears on PVE1 but, of course, go in error state (because the storage is on PVE2).
Now the PVE2 go up and running fine, but i have problem to recovery VM because it appears on PVE1 but the disk is on PVE2 local lvm storage.
Any operation fail with this error:
2019-12-17 17:51:53 ERROR: Failed to sync data - command 'set -o pipefail && pvesm export local-lvm:vm-101-disk-0 raw+size - -with-snapshots 0 | /usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=pve2' root@192.168.4.82 -- pvesm import local-lvm:vm-101-disk-0 raw+size - -with-snapshots 0' failed: exit code 255
2019-12-17 17:51:53 aborting phase 1 - cleanup resources
2019-12-17 17:51:53 ERROR: found stale volume copy 'local-lvm:vm-101-disk-0' on node 'pve2'
2019-12-17 17:51:53 ERROR: migration aborted (duration 00:00:02): Failed to sync data - command 'set -o pipefail && pvesm export local-lvm:vm-101-disk-0 raw+size - -with-snapshots 0 | /usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=pve2' root@192.168.4.82 -- pvesm import local-lvm:vm-101-disk-0 raw+size - -with-snapshots 0' failed: exit code 255
TASK ERROR: migration aborted
Moving the disk is impossible. The scan do not show result. any ideas for unlock VM and reassign this VM to PVE2?
Thanks
Last edited: