[lxc-users] live migration complaining about missing CRIU
Aleksandar Ivanisevic
aleksandar at ivanisevic.de
Sat Sep 5 13:12:53 UTC 2020
it is in /usr/sbin and it is in the lxd’s path. I have tried symlinking to /usr/bin but still the same
[root at alexlm ~]# pgrep lxd
1484
[root at alexlm ~]# xargs -0 < /proc/1484/cmdline
lxd --logfile /var/snap/lxd/common/lxd/logs/lxd.log --group lxd
[root at alexlm ~]# xargs -0n1 < /proc/1484/environ | grep ^PATH
PATH=/snap/lxd/current/zfs-0.8/bin:/run/bin:/snap/lxd/16926/usr/sbin:/snap/lxd/16926/usr/bin:/snap/lxd/16926/sbin:/snap/lxd/16926/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/lxd/current/bin
[root at alexlm ~]# which criu
/usr/sbin/criu
> On 5. Sep 2020, at 15:00, Serge E. Hallyn <serge at hallyn.com> wrote:
>
> On Sat, Sep 05, 2020 at 02:55:42PM +0200, Aleksandar Ivanisevic wrote:
>> they both have it, the first version command was a ssh to alexsv
>>
>> [root at alexlm ~]# ssh alex at alexsv criu --version
>> Version: 3.14
>> [root at alexlm ~]# criu --version
>> Version: 3.12
>
> What is the path to criu on the dest server? lxd just uses
> exec.LookPath("criu"), so maybe criu isn't in lxd's patch?
>
>>> On 5. Sep 2020, at 14:54, Aleksandar Ivanisevic <aleksandar.ivanisevic at 2e-systems.com> wrote:
>>>
>>> they both have it, the first command was a ssh to alexsv
>>>
>>> [root at alexlm ~]# ssh alex at alexsv criu --version
>>> Version: 3.14
>>> [root at alexlm ~]# criu --version
>>> Version: 3.12
>>>
>>>> On 5. Sep 2020, at 14:52, Serge E. Hallyn <serge at hallyn.com <mailto:serge at hallyn.com>> wrote:
>>>>
>>>> On Fri, Sep 04, 2020 at 06:24:12PM +0200, Aleksandar Ivanisevic wrote:
>>>>> Hi,
>>>>>
>>>>>
>>>>> [root at alexlm ~]# lxc move test2 alexsv:
>>>>> Error: Unable to perform container live migration. CRIU isn't installed on the destination server
>>>>> [root at alexlm ~]# lxc move --mode push test2 alexsv:
>>>>> Error: Unable to perform container live migration. CRIU isn't installed on the destination server
>>>>> [root at alexlm ~]# ssh alex at alexsv criu --version
>>>>> Version: 3.14
>>>>> [root at alexlm ~]# criu --version
>>>>> Version: 3.12
>>>>>
>>>>> what am I missing? Adding —verbose and —debug just dumps the lxd API requests
>>>>>
>>>>> thanks,
>>>>
>>>> alexlm has crio, but does alexsv have it?
>>>> _______________________________________________
>>>> lxc-users mailing list
>>>> lxc-users at lists.linuxcontainers.org <mailto:lxc-users at lists.linuxcontainers.org>
>>>> http://lists.linuxcontainers.org/listinfo/lxc-users
>>>
>>> --
>>> Aleksandar Ivanisevic
>>> Head of Operations and Support
>>> 2e Systems
>>>
>>> Tel: +49 - 6196 - 950 58 14
>>> Fax: +49 - 6196 - 950 58 94
>>> E-mail: Aleksandar.Ivanisevic at 2e-systems.com <mailto:Aleksandar.Ivanisevic at 2e-systems.com>
>>>
>>> Address: 2e Systems GmbH, Koenigsteiner Str. 107, 65812 Bad Soden am Taunus
>>> Company registration: Amtsgericht Koenigstein (Germany), HRB 7303
>>> Director: Philip Douglas
>>>
>>> http://www.2e-systems.com - making your business fly!
>>>
>>>
>>
>>
>
>> _______________________________________________
>> lxc-users mailing list
>> lxc-users at lists.linuxcontainers.org
>> http://lists.linuxcontainers.org/listinfo/lxc-users
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
More information about the lxc-users
mailing list