Article ID: 124360, created on Feb 2, 2015, last review on Jun 17, 2016

  • Applies to:
  • Virtuozzo 6.0

Symptoms

  1. Live virtual machine/container migration fails with error:

    The CPUs on the source and destination servers are not compatible
    

    However related article is not applicable as CPUs are identical on soure and destination nodes.

  2. Correct error message can be seen in logs - "Error: foreign process inside":

    Jan 29 13:23:29 pcs10 vzmsrc[475794]: Checking CPT image version for online migration
    Jan 29 13:23:29 pcs10 vzmsrc[475794]: Checking capabilities for online migration
    Jan 29 13:23:29 pcs10 vzmsrc[475794]: vztestcaps : Error: foreign process 5431/475680(vzctl) inside CT (e.g. vzctl enter or vzctl exec).
    Jan 29 13:23:29 pcs10 vzmsrc[475794]: vztestcaps : Error: foreign process 5432/475681(bash) inside CT (e.g. vzctl enter or vzctl exec).
    Jan 29 13:23:29 pcs10 vzmsrc[475794]: vztestcaps : Error: foreign process 5451/475730(ping) inside CT (e.g. vzctl enter or vzctl exec).
    Jan 29 13:23:29 pcs10 vzmsrc[475794]: /usr/libexec/vztestcaps exited with code 2
    Jan 29 13:23:29 pcs10 vzmsrc[475794]: CT has unsupported features
    Jan 29 13:23:29 pcs10 vzmsrc[475794]:
    This CT can't be migrated online at the moment. Try offline migration.
    

Cause

Online migartion is not possible while there is open vzctl enter or prlctl enter or vzctl exec session to the container/virtual machine, e.g.:

4     0  475673  475611  20   0  29520  1612 poll_s S+   pts/1      0:00  |       \_ /usr/sbin/vzctl enter 143
0     0  475681  475680  20   0 108304  1760 wait   Ss   /vz/root/143/dev/pts/0   0:00  |               \_ -bash
4     0  475730  475681  20   0 109580   996 poll_s S+   /vz/root/143/dev/pts/0   0:01  |                   \_ ping 8.8.8.8

The issue with incorrect error reporting is known as a bug PSBM-26223.

Resolution

Close any running sessions to the container/VM and retry the migration.

The error reporting issue is fixed in Virtuozzo 6 update 9.

Search Words

You cannot migrate this virtual machine using the live mode

The CPUs on the source and destination servers are not compatible

vztestcaps exited with code 2

CPUs on the source and destination servers are not compatible

This CT can't be migrated online at the moment. Try offline migration.

caea8340e2d186a540518d08602aa065 614fd0b754f34d5efe9627f2057b8642 5356b422f65bdad1c3e9edca5d74a1ae 2554725ed606193dd9bbce21365bed4e c62e8726973f80975db0531f1ed5c6a2 2897d76d56d2010f4e3a28f864d69223 0dd5b9380c7d4884d77587f3eb0fa8ef

Email subscription for changes to this article
Save as PDF