[Openstack-operators] [openstack][openstack-nova][openstack-operators] Query regarding LXC instantiation using nova

Amit Kumar ebiibe82 at gmail.com
Tue Feb 20 11:13:45 UTC 2018


 Hello,

I have a running OpenStack Ocata setup on which I am able to launch VMs.
But I want to move to LXC instantiation instead of VMs. So, for this, I
installed nova-compute-lxd on my compute node (Ubuntu 16.04).
*/etc/nova/nova-compute.conf* on my compute nodes was changed to contain
the following values for *compute_driver* and* virt_type*.

*[DEFAULT]*
*compute_driver = lxd.LXDDriver*
*[libvirt]*
*virt_type = lxc*

After this, I restarted the nova-compute service and launched an instance,
launch failed after some time (4-5 mins remain in spawning state) and gives
the following error:
[Error: No valid host was found. There are not enough hosts
available.]. Detailed
nova-compute logs are attached with this e-mail.

Could you please guide what else is required to launch container on
OpenStack setup? What other configurations will I need to configure LXD and
my nova user to see the LXD daemon.

Regards,
Amit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20180220/8f87e2a4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nova-compute.log
Type: application/octet-stream
Size: 17730 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20180220/8f87e2a4/attachment.obj>


More information about the OpenStack-operators mailing list