How to switch from a KVM based openstack installation to LXC?

asked 2015-01-26 12:13:46 -0500

lmsilva gravatar image

updated 2015-01-26 12:14:32 -0500

Dear all,

We have an Havana Openstack development server that was setup to use KVM as the libvirt driver. I now want to move to LXC but I'm having trouble with it so I was hoping someone could clarify a few things for me.

Here are my questions:

  • in order to setup LXC, I changed the "virt_type" to lxc, installed lxc and restarted openstack-nova-compute on all my compute nodes. Is this all we need to do?

  • can I instantiate snapshot images that were created from KVM instances in LXC? Do I need to convert them first in any way? I also tried to instantiate the cirros image without success.

  • I'm getting an error message that states that "variable 'domain' referenced before assignment" popup in Horizon when I try to instantiate a VM. I found a known bug for a similar problem (apparently I can't post links so I'll just say it is nova bug #1326998) but I'm not 100% sure it is the same issue and I highly doubt that I have to upgrade to Icehouse to fix this? ...do I?

Any thoughts?

Thank you,

Luis Silva

edit retag flag offensive close merge delete