[Users] Containers list as online in vzlist but not under prlctl list

John john at interserver.net
Mon May 27 15:10:01 MSK 2019


This error probably is something in /etc/vz/conf

Normally there is a symlink like: 74eb4c58-1325-484c-950c-a4084d6f51ff.conf -> /vz/private/74eb4c58-1325-484c-950c-a4084d6f51ff/ve.conf

You might have have 2108.conf as a file in /etc/vz/conf and need to symlink 74eb4c58-1325-484c-950c-a4084d6f51ff  to 2108.conf
________________________________
From: users-bounces at openvz.org <users-bounces at openvz.org> on behalf of Konstantin Khorenko <khorenko at virtuozzo.com>
Sent: Monday, May 27, 2019 6:24:20 AM
To: OpenVZ users
Cc: Igor Sukhih
Subject: Re: [Users] Containers list as online in vzlist but not under prlctl list

On 05/27/2019 01:15 AM, Arjit Chaudhary wrote:
> Hello,
> Been facing this odd issue where the container lists as "stopped" under prlctl list but lists as online under vzlist at the same time, for example,
>
> [root at box ~]# vzlist -a 2108
>                                 CTID      NPROC STATUS    IP_ADDR         HOSTNAME
>                                 2108        100       running      192.168.0.10        -
>
> [root at box ~]# prlctl list 2108
> UUID                                    STATUS       IP_ADDR         T  NAME
> {74eb4c58-1325-484c-950c-a4084d6f51ff}  stopped      -               CT 2108
> [root at box ~]#
>
>
> When I try to boot it via prlctl start,
>
> [root at box ~]# prlctl start 2108
> Starting the CT...
> Failed to start the CT: The virtual machine could not be found. The virtual machine is not registered in the virtual machine directory on this server. Contact your Virtuozzo
> administrator for assistance.
> [root at box ~]#
>
> prlctl version 7.0.173.2
>
> Any help would be very appreciated.

Hi,

please file a bug at bugs.openvz.org
and post additionally the following information:

# prlctl list -i 2108

# cat /etc/vz/conf/2108.conf

--
Best regards,

Konstantin Khorenko,
Virtuozzo Linux Kernel Team

_______________________________________________
Users mailing list
Users at openvz.org
https://lists.openvz.org/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/users/attachments/20190527/8aef4679/attachment.html>


More information about the Users mailing list