Search

Language:  
Search for:

Available article translations:

Container migration fails: Connection reset by peer

Article ID: 120121, created on Feb 14, 2014, last review on Jul 3, 2015

APPLIES TO:
  • Virtuozzo
  • Virtuozzo containers for Linux
  • Virtuozzo hypervisor

Symptoms

A container migration attempt fails with the following errors:

vztar : /bin/vztar: -: Cannot write: Connection reset by peer
vztar : /bin/vztar: Error is not recoverable: exiting now
/bin/vztar exited with code 2

or

1391783367: Copy private area '/vz/private/1017' 
1391783367: write() : Broken pipe 
1391783367: vzsock_send() return 5 
1391783367: Can't move/copy CT#101 -> CT#101, [], [] : vzsock_send() return 5

The container has a large amount of inodes inside.

Cause

The allowed SSH inactivity period is insufficient and doesn't allow the migration to complete.

Resolution

Enable SSH client keep-alive probes on the source server:

# grep Alive /etc/ssh/ssh_config
    ServerAliveInterval 100
    ServerAliveCountMax 100

Search words:

vztar

ssh exited with code 2

rsync: --fdin: unknown option

exit code 66

migration

migration failing for container

migrate container failing

vzmigrate ssh exited with code 2

migration task failed vztar




a26b38f94253cdfbf1028d72cf3a498b 2897d76d56d2010f4e3a28f864d69223 d02f9caf3e11b191a38179103495106f e8e50b42231236b82df27684e7ec0beb 0dd5b9380c7d4884d77587f3eb0fa8ef

FEEDBACK
Was this article helpful?
Tell us how we may improve it.
Yes No
 
 
 
 
 
 
Server Virtualization
- Odin Cloud Server
- Odin Containers for Windows 6.0
- Odin Virtuozzo Containers
Automation
- Odin Automation
- Odin Automation for Cloud Infrastructure
- Odin Business Automation Standard
- Odin Virtual Automation
- Odin Plesk Panel Suite
- Web Presence Builder
- Odin Plesk Automation
- Odin Small Business Panel
- Value-added Services for Hosters
- Odin Partner Storefront
Services & Resources
- Cloud Acceleration Services
- Professional Services
- Support Services
- Training & Certification