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

Arjit Chaudhary arjit.c at gmail.com
Mon May 27 15:40:05 MSK 2019


Hi,
That path with the UUID under /vz/private/ doesn't seem to exist at all on
my system,

[root at box conf]# ls -l | grep 2108
lrwxrwxrwx  1 root root   24 May  7 12:07 2108.conf ->
/vz/private/2108/ve.conf
-rw-r--r--  1 root root 1865 May 23 19:11 2108.conf.pre-vswap

[root at box conf]# prlctl list -a 2108
UUID                                    STATUS       IP_ADDR         T  NAME
{bb632556-4faf-4f36-9a64-f3f0d700c0da}  stopped      -               CT 2108

[root at box conf]# ls -l /vz/private/bb632556-4faf-4f36-9a64-f3f0d700c0da/
ls: cannot access /vz/private/bb632556-4faf-4f36-9a64-f3f0d700c0da/: No
such file or directory

prlctl list -a lists 1 VPS in total as Online and rest as offline (when I
check with prlctl list -a), while vzlist has them all online.

But also, there is no UUID named/type folder in my /vz/private for any
Container

On Mon, May 27, 2019 at 5:42 PM John <john at interserver.net> wrote:

> 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
>
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://lists.openvz.org/mailman/listinfo/users
>


-- 
Thanks,
Arjit Chaudhary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/users/attachments/20190527/be048410/attachment-0001.html>


More information about the Users mailing list