[Users] reload or refresh list of CT after move an already registered CT

Konstantin Khorenko khorenko at virtuozzo.com
Mon Jul 6 20:29:56 MSK 2020


On 07/06/2020 06:07 PM, Jehan Procaccia IMT wrote:
> Hello
>
> because I have a fail CT on a hardware node , cf
> https://lists.openvz.org/pipermail/users/2020-July/007928.html
>
> I moved manually the CT files (hdds, conf, etc ...) to another hardware
> node (HW) that doesn't seem to have the pb yet ( not updateded to OpenVZ
> release 7.0.14 (136))
>
> I did a rsync of /vz/private/CTID from HWsrc to HWdest  and created in
> /etc/vz/conf on HWdest the associated link to the conf file

Hope you did not tell rsync to make files sparse. (rsync -S)

> ln -s /vz/private/144dc737-b4e3-4c03-852c-25a6df06cee4/ve.conf
> 144dc737-b4e3-4c03-852c-25a6df06cee4.conf
>
> but still , a prctl list --all doesn't show that newly "moved" CT .
>
> How can I tell HWdest that there is a new CT on it ? I tried a register
> command
>
> # prlctl register /vz/private/144dc737-b4e3-4c03-852c-25a6df06cee4
> Register the virtual environment...
> Failed to register the virtual environment:
> PRL_ERR_VZCTL_OPERATION_FAILED (Details: Container is already registered
> with id 144dc737-b4e3-4c03-852c-25a6df06cee4
> Container registration failed: Container is already registered with id
> 144dc737-b4e3-4c03-852c-25a6df06cee4
> )
>
> but it is already registered .

https://virtuozzosupport.force.com/s/article/000014062
Might help.


--
Best regards,

Konstantin Khorenko,
Virtuozzo Linux Kernel Team

>
> is there a way to "reload/refresh" something to enable the run of that
> moved CT ?
>
> Thanks .
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://lists.openvz.org/mailman/listinfo/users
>


More information about the Users mailing list