For posterity, after giving up on this, I found a solution by accident: criu 
must be enabled in lxd for this to work

snap set lxd criu.enable=true

now live migrate does not complain about missing criu, but fails with various 
other errors, but that’s another problem ;)



> On 5. Sep 2020, at 14:55, Aleksandar Ivanisevic <aleksan...@ivanisevic.de> 
> wrote:
> 
> they both have it, the first version command was a ssh to alexsv
> 
> [root@alexlm ~]# ssh alex@alexsv criu --version
> Version: 3.14
> [root@alexlm ~]# criu --version
> Version: 3.12
> 
>> On 5. Sep 2020, at 14:54, Aleksandar Ivanisevic 
>> <aleksandar.ivanise...@2e-systems.com 
>> <mailto:aleksandar.ivanise...@2e-systems.com>> wrote:
>> 
>> they both have it, the first command was a ssh to alexsv
>> 
>> [root@alexlm ~]# ssh alex@alexsv criu --version
>> Version: 3.14
>> [root@alexlm ~]# criu --version
>> Version: 3.12
>> 
>>> On 5. Sep 2020, at 14:52, Serge E. Hallyn <se...@hallyn.com 
>>> <mailto:se...@hallyn.com>> wrote:
>>> 
>>> On Fri, Sep 04, 2020 at 06:24:12PM +0200, Aleksandar Ivanisevic wrote:
>>>> Hi,
>>>> 
>>>> 
>>>> [root@alexlm ~]# lxc move test2 alexsv:
>>>> Error: Unable to perform container live migration. CRIU isn't installed on 
>>>> the destination server
>>>> [root@alexlm ~]# lxc move --mode push test2 alexsv:
>>>> Error: Unable to perform container live migration. CRIU isn't installed on 
>>>> the destination server
>>>> [root@alexlm ~]# ssh alex@alexsv criu --version
>>>> Version: 3.14
>>>> [root@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@lists.linuxcontainers.org 
>>> <mailto:lxc-users@lists.linuxcontainers.org>
>>> http://lists.linuxcontainers.org/listinfo/lxc-users 
>>> <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.ivanise...@2e-systems.com 
>> <mailto:aleksandar.ivanise...@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 <http://www.2e-systems.com/> - making your 
>> business fly!
>> 
>> 
> 
> 

-- 
Aleksandar Ivanisevic
Head of Operations and Support
2e Systems

Tel: +49 - 6196 - 950 58 14
Fax: +49 - 6196 - 950 58 94
E-mail: aleksandar.ivanise...@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@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to