Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

two node setup with kvm and lxc

Hi i have a minimal working deployment of openstack queens (on ubuntu 18.04 LTS) with 1 controller, 1 compute node (running kvm), 1 object storage node and 1 block storage node i want to add to this deployment another compute node running lxc as the hypervisor, i followed the instrucions of the oficial docs page, and installed nova-compute-lxc and already added the compute_driver = libvirt.LibvirtDriver and the virt_type = lxc on [libvirt] from the nova.conf file.

when i run

openstack compute service list --service nova-compute

the output is showing the added compute node

+----+--------------+----------+------+---------+-------+----------------------------+ | ID | Binary | Host | Zone | Status | State | Updated At | +----+--------------+----------+------+---------+-------+----------------------------+ | 9 | nova-compute | compute | nova | enabled | up | 2019-02-27T15:20:09.000000 | | 10 | nova-compute | nova-lxc | nova | enabled | up | 2019-02-27T15:20:12.000000 | +----+--------------+----------+------+---------+-------+----------------------------+

but i can't create or manage any lxc instance

How can i do it??

two node setup with kvm and lxc

Hi i have a minimal working deployment of openstack queens (on ubuntu 18.04 LTS) with 1 controller, 1 compute node (running kvm), 1 object storage node and 1 block storage node i want to add to this deployment another compute node running lxc as the hypervisor, i followed the instrucions of the oficial docs page, and installed nova-compute-lxc and already added the compute_driver = libvirt.LibvirtDriver and the virt_type = lxc on [libvirt] from the nova.conf file.

when i run

openstack compute service list --service nova-compute

the output is showing the added compute node

+----+--------------+----------+------+---------+-------+----------------------------+ | ID | Binary | Host | Zone | Status | State | Updated At | +----+--------------+----------+------+---------+-------+----------------------------+ | 9 | nova-compute | compute | nova | enabled | up | 2019-02-27T15:20:09.000000 | | 10 | nova-compute | nova-lxc | nova | enabled | up | 2019-02-27T15:20:12.000000 | +----+--------------+----------+------+---------+-------+----------------------------+

UPDATE:

I already added the image in the controller, but i can't create or manage any lxc force the instance

How can i do it??to be launched in the LXC compute node, i already made 2 separates host aggregates (one for the KVM and the other for LXC compute node)

root@controller /h/team# openstack aggregate list

+----+------------+-------------------+ | ID | Name | Availability Zone | +----+------------+-------------------+ | 2 | containers | None | | 3 | kvm | None | +----+------------+-------------------+

two node setup with kvm and lxc

Hi i have a minimal working deployment of openstack queens (on ubuntu 18.04 LTS) with 1 controller, 1 compute node (running kvm), 1 object storage node and 1 block storage node i want to add to this deployment another compute node running lxc as the hypervisor, i followed the instrucions of the oficial docs page, and installed nova-compute-lxc and already added the compute_driver = libvirt.LibvirtDriver and the virt_type = lxc on [libvirt] from the nova.conf file.

when i run

openstack compute service list --service nova-compute

the output is showing the added compute node

+----+--------------+----------+------+---------+-------+----------------------------+ | ID | Binary | Host | Zone | Status | State | Updated At | +----+--------------+----------+------+---------+-------+----------------------------+ +----+--------------+----------+------+---------+---- ---+----------------------------+ | 9 | nova-compute | compute | nova | enabled | up | 2019-02-27T15:20:09.000000 | | 10 | nova-compute | nova-lxc | nova | enabled | up | 2019-02-27T15:20:12.000000 | +----+--------------+----------+------+---------+-------+----------------------------+

UPDATE:

I already added the image in the controller, but i can't force the instance to be launched in the LXC compute node, i already made 2 separates host aggregates (one for the KVM and the other for LXC compute node)

root@controller /h/team# openstack aggregate list

+----+------------+-------------------+ | ID | Name | Availability Zone | +----+------------+-------------------+ | 2 | containers | None | | 3 | kvm | None | +----+------------+-------------------+

two node setup with kvm and lxc

Hi i have a minimal working deployment of openstack queens (on ubuntu 18.04 LTS) with 1 controller, 1 compute node (running kvm), 1 object storage node and 1 block storage node i want to add to this deployment another compute node running lxc as the hypervisor, i followed the instrucions of the oficial docs page, and installed nova-compute-lxc and already added the compute_driver = libvirt.LibvirtDriver and the virt_type = lxc on [libvirt] from the nova.conf file.

when i run

openstack compute service list --service nova-compute

the output is showing the added compute node

+----+--------------+----------+------+---------+-------+----------------------------+ | ID | Binary | Host | Zone | Status | State | Updated At | +----+--------------+----------+------+---------+---- ---+----------------------------+ | 9 | nova-compute | compute | nova | enabled | up | 2019-02-27T15:20:09.000000 | | 10 | nova-compute | nova-lxc | nova | enabled | up | 2019-02-27T15:20:12.000000 | +----+--------------+----------+------+---------+-------+----------------------------+

UPDATE:

I already added the an ubuntu image in the controller, controller node , but i can't force the instance to be launched in the LXC compute node, i already made 2 separates host aggregates (one for the KVM and the other for LXC compute node)