<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body dir="auto">
<div>That is also my ultimate target, but do understand this project is not yet considered ready for production. If you don't have vSphere capabilities at the moment, then LXD is still a step forward as managing multiple hosts is much simpler, and copying offline
 containers between hosts works great. Hopefully my problem is a straightforward one.</div>
<div><br>
On 4 Nov 2015, at 15:50, Saint Michael <<a href="mailto:venefax@gmail.com">venefax@gmail.com</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div dir="ltr">
<div class="gmail_default" style="font-size:small">I am about to get rid of vmware ESX and use only Ubuntu + LXD +LXC, but I will hold a little longer.<br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Nov 4, 2015 at 8:48 AM, Jamie Brown <span dir="ltr">
<<a href="mailto:Jamie.Brown@mpec.co.uk" target="_blank">Jamie.Brown@mpec.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Greetings all.<br>
<br>
I’ve been using LXD in a development environment for a few weeks and so far very impressed,<br>
I can see a really bright future for this technology!<br>
<br>
However, today I thought I’d try out the live migration, based on the following guide;<br>
<a href="https://insights.ubuntu.com/2015/05/06/live-migration-in-lxd/" rel="noreferrer" target="_blank">https://insights.ubuntu.com/2015/05/06/live-migration-in-lxd/</a><br>
<br>
I believe I have followed the steps correctly, however when I run the move command, I<br>
receive the following output;<br>
<br>
# lxc move host1:test host2:test<br>
error: Error transferring container data: checkpoint failed:<br>
Problem accessing CRIU log: open /tmp/lxd_migration_899480871/dump.log: no such file or directory<br>
<br>
The file it is referring to above doesn't exist. However, there are other lxd_migration_*<br>
directories with different numbers appended. Each time I attempt the migration a new directory<br>
is created (e.g. lxd_migration_192965652), but there is no dump.log in there.<br>
<br>
The migration doesn't create a log file as per the guide above in;<br>
/var/log/lxd/test/migration_{dump|restore}_.log<br>
<br>
Steps I've taken;<br>
<br>
- Copied all profiles from host1 to host2<br>
- Added the migratable profile to the container<br>
- Removed lxcfs package (on both hosts)<br>
- Added the remote HTTPS hosts for both the local and remote hosts<br>
<br>
Both hosts are running Ubuntu 14.04.3 LTS (x64) with LXD version 0.21.<br>
<br>
The only difference I can tell between my hosts and the guide is that the 'migratable'<br>
profile (which came out-the-box with my LXD installation) doesn't contain the autostart<br>
entries as in the guide above;<br>
<br>
# lxc profile show migratable<br>
name: migratable<br>
config:<br>
  raw.lxc: |-<br>
    lxc.console = none<br>
    lxc.cgroup.devices.deny = c 5:1 rwm<br>
    lxc.seccomp =<br>
  security.privileged: "true"<br>
devices: {}<br>
<br>
<br>
Any help would be much appreciated!<br>
<br>
Thank you,<br>
<br>
Jamie<br>
<br>
_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a></blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>lxc-users mailing list</span><br>
<span><a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a></span><br>
<span><a href="http://lists.linuxcontainers.org/listinfo/lxc-users">http://lists.linuxcontainers.org/listinfo/lxc-users</a></span></div>
</blockquote>
</body>
</html>