Article ID: 119434, created on Dec 31, 2013, last review on Jul 4, 2014

  • Applies to:
  • Virtuozzo 6.0
  • Virtuozzo containers for Linux 4.7
  • Virtuozzo containers for Linux 4.6

Symptoms

Migration from 4.6 to PCS 6.0/6.5 fails with vzctl exited with code 3 on PCS versions older than 6.0.6-1992:

[root@pvcfl46 ~]# pmigrate  c 12345 c --keep-dst --online pcs6.myserver.tld -r no  --convert-vzfs

Actual result that you got : Checking external bind mounts
Check cluster ID
Checking keep dir for private area copy
Checking SLM-only mode
Checking CPT image version for online migration
Checking capabilities for online migration
Checking license restrictions
Checking technologies
Checking disk usage space
Checking templates for CT
Checking caches
Check target CT name: cloned logan.seanet.com
Checking RATE parameters in config
OfflineManagement CT#12345 ...
done
Suspending CT#12345 ...
done
Dumping CT#12345 ...
done
Syncing dump file...
done
/usr/sbin/vzctl exited with code 3
can not undump CT#12345 : /usr/sbin/vzctl exited with code 3
This CT can't be migrated online at the moment. Try offline migration.
Dumpfile /vz/dump/dumpfile.mDUu0u.saved saved
Can't move/copy CT#12345 -> CT#12345, [], [] : /usr/sbin/vzctl exited with code 3
Starting CT#12345 ...
vzctl : Container is already running
/usr/sbin/vzctl exited with code 32
Resuming CT#12345 ...
done

On destination server you may see similar messages in /var/log/messages:

Dec 31 12:51:24 pcs kernel: [424329.733838] CT: 12345: started
Dec 31 12:51:25 pcs kernel: [424329.819924] CPT ERR: ffff880866cbb000,12345 :rst_sockets: open_socket: -93
Dec 31 12:51:25 pcs kernel: [424329.819928] CPT ERR: ffff880866cbb000,12345 :rst_sockets: -93
Dec 31 12:51:25 pcs vzmdest[419225]: vzctl : Error pipe unexpectedly closed

For PCS version 6.0.6-1992 and higher:

1320 : Can not migrate: exec vzmsrc failed [13312] : Connection to destination node (10.250.0.13) is successfully established
Moving/copying CT#17211 -> CT#17211, [], [] ...
vzctl_conf_get_param(QUOTAUGIDLIMIT) return 10000
Checking external bind mounts
Check cluster ID
Checking keep dir for private area copy
Checking SLM-only mode
Checking CPT image version for online migration
Checking capabilities for online migration
Checking license restrictions
Checking technologies
Checking templates for CT
copy ez template area directories
/usr/sbin/vzctl exited with code 17
can not undump CT#17211 : /usr/sbin/vzctl exited with code 17
This CT can't be migrated online at the moment. Try offline migration.
Dumpfile /vz/dump/dumpfile.WH1W5i.saved saved
Can't move/copy CT#17211 -> CT#17211, [], [] : /usr/sbin/vzctl exited with code 17
Checking caches
Checking IP addresses on destination node
Tracker started
Syncing private area '/vz/private/17211'
done
OfflineManagement CT#17211 ...
done
Suspending CT#17211 ...
done
Dumping CT#17211 ...
done
Syncing dump file...
done
Syncing tracked files from '/vz/private/17211/fs'
done
Resuming CT#17211 ...
done
OfflineManagement CT#17211 ...
done

On destination server you may see similar messages in /var/log/messages:

Jul  3 01:09:52 vz401 kernel: [80402.296140] CT: 17211: started
Jul  3 01:09:52 vz401 kernel: [80402.686212] CPT ERR: ffff88009a6fc000,17211 :rst_sockets: open_socket(fm=4294967203, prot=16): 8
Jul  3 01:09:52 vz401 kernel: [80402.686218] CPT ERR: ffff88009a6fc000,17211 :rst_sockets: -93
Jul  3 01:09:53 vz401 vzmdest[88346]: vzctl : Cannot undump the file: Protocol not supported
Jul  3 01:09:53 vz401 vzmdest[88346]: vzctl : Error: rst_sockets: open_socket(fm=4294967203, prot=16): 8
Jul  3 01:09:53 vz401 vzmdest[88346]: vzctl : Error: rst_sockets: -93
Jul  3 01:09:53 vz401 vzmdest[88346]: vzctl : Failed to start the Container
Jul  3 01:09:53 vz401 vzmdest[88346]: vzctl : Container is not running

Cause

Migration fails due to inability to resume container migrated from a host running 2.6.18 kernel (PVCfL 4.0 / PVCfL 4.6) on a host with 2.6.32 kernel, when containers are running running user-space Broadcom driver.

 ~]# vzps -E 17065 axwwfl |grep iscsiuio
5     0 19348 15006  18   0 28624  604 stext  Ssl  ?          0:15  \_ brcm_iscsiuio

OR

 ~]# vzps -E 17211 axwwfl |grep iscsiuio
5     0 20486 15011  11 -10 28692 22544 stext S<Lsl ?         0:02  \_ iscsiuio

Resolution

It is needed to load scsi_transport_iscsi module on a destination (PCS) host:

[root@pcs ~]# modprobe scsi_transport_iscsi

That will allow migration to resume container state properly.

Search Words

PSBM-23726

scsi_transport_iscsi

/usr/sbin/vzctl exited with code 3

Error pipe unexpectedly closed

vzmigrate fails

Cannot undump the file

e8e50b42231236b82df27684e7ec0beb 2897d76d56d2010f4e3a28f864d69223 d02f9caf3e11b191a38179103495106f c62e8726973f80975db0531f1ed5c6a2 0dd5b9380c7d4884d77587f3eb0fa8ef 0c05f0c76fec3dd785e9feafce1099a9 36627b12981f68a16405a79233409a5e

Email subscription for changes to this article
Save as PDF