Hi On Fri, Mar 22, 2019 at 9:25 AM Rikimaru Honjo < honjo.rikimaru@po.ntt-tx.co.jp> wrote:
Hello,
I'm using the nova-lxd with the latest nova.
In my understanding, nova-lxd already supports live-migration. But,it didn't work when I tried it. Is there anyone who can do live-migration with nova-lxd?
I'm currently one of the maintainers of nova-lxd and I don't think that it supports live migration. I'm fairly certain migration is broken ( https://bugs.launchpad.net/nova-lxd/+bug/1818078) as it didn't work for me when I was testing. Live migration appears to be disabled in the tempest testing (legacy-tempest-dsvm-lxd-ovs test): setUpClass (tempest.api.compute.admin.test_live_migration.LiveMigrationTest) ... SKIPPED: LiveMigrationTest skipped as live-migration is not available
I think that the root cause is that the LXDLiveMigrateData object is not registered with nova-condcutor & compute.
I say "don't think it supports live migration" because I became a maintainer after that functionality appeared to be implemented; but I'm not entirely sure the work is complete (i.e. it returns an object that doesn't function with Nova as your mail indicates). Whether it's because nova changed and nova-lxd didn't notice (quite likely!) or it never worked properly, I don't know, sadly.
I wrote more information as a comment#2 in the following bug report. https://bugs.launchpad.net/nova-lxd/+bug/1711568
Thanks, I'll reference it in the bug I raised, too. In terms of getting it sorted out, it's not going to happen before the stein release, but I do want to get to it at the beginning of the next cycle. Thanks Alex.
Best regards, -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Rikimaru Honjo E-mail:honjo.rikimaru@po.ntt-tx.co.jp
-- Alex Kavanagh - Software Engineer OpenStack Engineering - Data Centre Development - Canonical Ltd