Error while migrating an LXC from one node to another

Jun 11, 2019
41
2
13
52
Hi all,
this is what's happens while I'm migrating an LXC container from one node of my datacenter to another:

2020-03-02 22:20:13 starting migration of CT 101 to node 'vmhost00' (192.168.1.210)
2020-03-02 22:20:13 found local volume 'local:101/vm-101-disk-0.raw' (in current VM config)
Formatting '/var/lib/vz/images/101/vm-101-disk-0.raw', fmt=raw size=21474836480
packet_write_wait: Connection to 192.168.1.210 port 22: Broken pipe
command 'dd 'if=/var/lib/vz/images/101/vm-101-disk-0.raw' 'bs=4k'' failed: got signal 13
send/receive failed, cleaning up snapshot(s)..
2020-03-02 22:50:09 ERROR: command 'set -o pipefail && pvesm export local:101/vm-101-disk-0.raw raw+size - -with-snapshots 0 | /usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=vmhost00' root@192.168.1.210 -- pvesm import local:101/vm-101-disk-0.raw raw+size - -with-snapshots 0' failed: exit code 255
2020-03-02 22:50:09 aborting phase 1 - cleanup resources
2020-03-02 22:50:09 ERROR: found stale volume copy 'local:101/vm-101-disk-0.raw' on node 'vmhost00'
2020-03-02 22:50:09 start final cleanup
2020-03-02 22:50:09 ERROR: unable to open file '/etc/pve/nodes/vmhost01/lxc/101.conf.tmp.3077' - Permission denied
2020-03-02 22:50:09 ERROR: migration aborted (duration 00:29:56): command 'set -o pipefail && pvesm export local:101/vm-101-disk-0.raw raw+size - -with-snapshots 0 | /usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=vmhost00' root@192.168.1.210 -- pvesm import local:101/vm-101-disk-0.raw raw+size - -with-snapshots 0' failed: exit code 255
TASK ERROR: migration aborted


The error is repetitive.

I try to dig by myself what's happening but an help is appreciated.

TIA
Francesco
 
hi,

packet_write_wait: Connection to 192.168.1.210 port 22: Broken pipe
seems like the ssh connection between nodes is getting interrupted.

can you ssh between the nodes? it should work without any user interaction (try like ssh nodename or ssh nodeip from node1 -> node2 for example)
 
  • Like
Reactions: matrix

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!