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 Dec 18, 2014

APPLIES TO:
  • Virtuozzo
  • Virtuozzo containers for Linux

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 following errors appear in "/var/log/messages" log on the destination server:

Feb 6 20:40:48 vz vzmdest[4694]: recv_str : timeout (3600 sec) 
Feb 6 20:40:48 vz vzmdest[4694]: vzsock_recv() return 4

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

migration task failed vztar




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