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.
-
Access the target OpenVZ 7 node via SSH.
-
Create a backup of the original file:
# cp -a /usr/local/solusvm/scripts/ovztransfer.sh /root/
-
Execute the following command in order to remove all
--wait
from the script:# sed -i 's/--wait//g' /usr/local/solusvm/scripts/ovztransfer.sh
-
Restart the migration.
Comments
0 commentsPlease sign in to leave a comment.