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:
  • Parallels Cloud Server
  • Parallels Virtuozzo Containers for Linux
  • Parallels Server

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




ca05eaf5b843fbd53589c90d7228a6df 2897d76d56d2010f4e3a28f864d69223 909d99074e442b52ce54cc7b31cf065d eb0ea3b827d18de2329b6477e24c1d59 bf1c3a170005eae151f49ba2720abde9

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