kolla-ansible/doc/source/reference
Mark Goddard d2d4b53d47 libvirt: support SASL authentication
In Kolla Ansible OpenStack deployments, by default, libvirt is
configured to allow read-write access via an unauthenticated,
unencrypted TCP connection, using the internal API network.  This is to
facilitate migration between hosts.

By default, Kolla Ansible does not use encryption for services on the
internal network (and did not support it until Ussuri). However, most
other services on the internal network are at least authenticated
(usually via passwords), ensuring that they cannot be used by anyone
with access to the network, unless they have credentials.

The main issue here is the lack of authentication. Any client with
access to the internal network is able to connect to the libvirt TCP
port and make arbitrary changes to the hypervisor. This could include
starting a VM, modifying an existing VM, etc. Given the flexibility of
the domain options, it could be seen as equivalent to having root access
to the hypervisor.

Kolla Ansible supports libvirt TLS [1] since the Train release, using
client and server certificates for mutual authentication and encryption.
However, this feature is not enabled by default, and requires
certificates to be generated for each compute host.

This change adds support for libvirt SASL authentication, and enables it
by default. This provides base level of security. Deployments requiring
further security should use libvirt TLS.

[1] https://docs.openstack.org/kolla-ansible/latest/reference/compute/libvirt-guide.html#libvirt-tls

Depends-On: https://review.opendev.org/c/openstack/kolla/+/833021
Closes-Bug: #1964013
Change-Id: Ia91ceeb609e4cdb144433122b443028c0278b71e
2022-03-10 16:57:16 +00:00
..
bare-metal Enable Ironic iPXE support by default 2022-02-25 23:02:42 +01:00
compute libvirt: support SASL authentication 2022-03-10 16:57:16 +00:00
containers docs: Add magnum guide 2020-11-23 13:51:31 +00:00
databases Remove haproxy,keepalived groups 2021-09-16 13:41:13 +02:00
deployment-and-bootstrapping Drop enable_host_ntp 2021-10-22 12:25:34 +00:00
deployment-config add ulimit support for kolla_docker 2019-01-24 10:54:14 +08:00
high-availability Merge "Add way to change weight of haproxy backend per service" 2021-09-28 12:22:55 +00:00
logging-and-monitoring Switch default images source to quay.io 2021-09-16 17:27:39 +00:00
message-queues Merge "Use more RMQ flags for less busy wait" 2021-08-19 18:20:13 +00:00
networking Merge "openvswitch: add option to set hw offload" 2022-01-26 10:55:02 +00:00
orchestration-and-nfv [docs] Mark init-runonce properly 2021-12-20 18:08:34 +00:00
rating Add missing CloudKitty documentation. 2021-10-04 09:50:30 +00:00
shared-services horizon: Support custom themes 2022-01-31 14:34:24 +00:00
storage Deploy Zun with Cinder Ceph support 2022-02-02 19:15:51 +00:00
index.rst Add missing CloudKitty documentation. 2021-10-04 09:50:30 +00:00
kollanet.png Rearrange existing documentation to fit the new standard layout 2017-09-06 17:43:56 +02:00