OpenVZ 6 to OpenVZ 7 SolusVM migration hangs on 0%: Container start in progress, waiting ...

Have more questions? Submit a request

Applicable to:

  • SolusVM

Symptoms

When starting the migration from OpenVZ 6 to OpenVZ 7 SolusVM nodes, it hangs right at the beginning on 0%.

Cause

Migrator script is waiting for processes inside the container to be finished:

# ps aux | grep VMID
root 468050 0.0 0.0 25464 1408 ? Ss 03:30 0:00 vzctl start VMID --wait
root 468069 0.0 0.0 0 0 ? S 03:30 0:00
root 468444 0.0 0.0 25464 292 ? S 03:31 0:00 vzctl start VMID --wait
root 468445 0.0 0.0 25464 516 ? Ss 03:31 0:00 vzctl start VMID --wai

This is SolusVM bug with ID SVM-2945 that was fixed in SolusVM mainline version 1.24.12.

Resolution

Update SolusVM to the latest mainline version.

If update to the new version is not possible, apply workaround below.

Workaround
  1. Access the target OpenVZ 7 node via SSH.

  2. Create a backup of the original file:

    # cp -a /usr/local/solusvm/scripts/ovztransfer.sh /root/

  3. Execute the following command in order to remove all --wait from the script:

    # sed -i 's/--wait//g' /usr/local/solusvm/scripts/ovztransfer.sh

  4. Restart the migration.

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.