Container is not listed with prlctl command prlctl 不列出 ovz6中的容器
kevin.Zhu 发布于:2022-4-24 18:30 分类:文摘 有 17 人浏览,获得评论 0 条
https://www.webhostingtalk.com/showthread.php?t=1843038
https://virtuozzosupport.force.com/s/article/000017004
Is there any chance that the old node was OpenVZ6 and the new one is OpenVZ7?
Try this solution:
Symptoms
You migrated container from OpenVZ recently. Migration was successful and you are able to see it with vzlist:[root@mypcs ~]# vzlist 111
CTID NPROC STATUS IP_ADDR HOSTNAME
111 19 running - conainer.test
However you cannot see it neither with prlctl list:[root@mypcs ~]# prlctl list 111
UUID STATUS IP_ADDR T NAME
Failed to get VM config: The virtual machine could not be found. The virtual machine is not registered in the virtual machine directory on this server. Contact your Parallels Server administrator for assistance. nor with PVA management node
Cause
Number inside container configuration file is not the same with private area place:
[root@mypcs]# cat /vz/private/111/ve.conf | grep "VEID="
VEID="222"
Resolution
Set id 111 in container configuration file
register container vzctl register /vz/private/111/ 111
Now you should be able to see your container with prlctl:[root@mypcs ~]# prlctl list 111
UUID STATUS IP_ADDR T NAME
{6e699411-559b-4230-acf9-638d293434d1} running - CT 111