[lxc-users] live migration complaining about missing CRIU

Aleksandar Ivanisevic aleksandar at ivanisevic.de
Sat Oct 3 10:21:56 UTC 2020


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 <aleksandar at ivanisevic.de> 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
> 
>> On 5. Sep 2020, at 14:54, Aleksandar Ivanisevic <aleksandar.ivanisevic at 2e-systems.com <mailto: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 <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 <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.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!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20201003/ca08e97f/attachment.htm>


More information about the lxc-users mailing list