Hi Amit

(re-titled thread with scoped topics)

As Matt has already referenced, [0] is a good starting place for using the
nova-lxd driver.

On Tue, 20 Feb 2018 at 11:13 Amit Kumar <ebiib...@gmail.com> 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*.
> *compute_driver = lxd.LXDDriver*

You only need the above part for nova-lxd (the below snippet is for the
libvirt/lxc driver)

> *[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.

Looking at your logs, it would appear a VIF plugging timeout occurred; was
your cloud functional with Libvirt/KVM before you made the switch to using
nova-lxd?  The neutron log files would be a good place to look so see what
went wrong.



[0] https://linuxcontainers.org/lxd/getting-started-openstack/
OpenStack-operators mailing list

Reply via email to