On 2/20/2018 5:13 AM, Amit Kumar wrote:
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
_______________________________________________
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
The nova libvirt driver configured to use lxc is not the same as the
nova-lxd driver, it's a completely different virt driver, not using libvirt.
https://linuxcontainers.org/lxd/getting-started-openstack/
https://docs.openstack.org/charm-guide/latest/openstack-on-lxd.html
--
Thanks,
Matt
_______________________________________________
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators