aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2022-03-12 16:46:54 +0000
committerGerrit Code Review <review@openstack.org>2022-03-12 16:46:54 +0000
commit33415ed93ee241e666769b0353dee927552cd4d9 (patch)
tree98b08371401b008fca9e85e81bbf656ac60e3e2b /doc
parentf56f0701305fefb9e10abd0acbcfb9f00e22de62 (diff)
parentd2d4b53d47df3b1a250c21404a8ec140873d4ce5 (diff)
downloadkolla-ansible-33415ed93ee241e666769b0353dee927552cd4d9.tar.gz
kolla-ansible-33415ed93ee241e666769b0353dee927552cd4d9.zip
Merge "libvirt: support SASL authentication"
Diffstat (limited to 'doc')
-rw-r--r--doc/source/reference/compute/libvirt-guide.rst37
1 files changed, 29 insertions, 8 deletions
diff --git a/doc/source/reference/compute/libvirt-guide.rst b/doc/source/reference/compute/libvirt-guide.rst
index 3aae36690..6776c1f98 100644
--- a/doc/source/reference/compute/libvirt-guide.rst
+++ b/doc/source/reference/compute/libvirt-guide.rst
@@ -1,5 +1,3 @@
-.. libvirt-tls-guide:
-
====================================
Libvirt - Nova Virtualisation Driver
====================================
@@ -23,16 +21,39 @@ hardware virtualisation (e.g. Virtualisation Technology (VT) BIOS configuration
on Intel systems), ``qemu`` may be used to provide less performant
software-emulated virtualisation.
+SASL Authentication
+===================
+
+The default configuration of Kolla Ansible is to run libvirt over TCP,
+authenticated with SASL. This should not be considered as providing a secure,
+encrypted channel, since the username/password SASL mechanisms available for
+TCP are no longer considered cryptographically secure. However, it does at
+least provide some authentication for the libvirt API. For a more secure
+encrypted channel, use :ref`libvirt TLS <libvirt-tls>`.
+
+SASL is enabled according to the ``libvirt_enable_sasl`` flag, which defaults
+to ``true``.
+
+The username is configured via ``libvirt_sasl_authname``, and defaults to
+``kolla``. The password is configured via ``libvirt_sasl_password``, and is
+generated with other passwords using and stored in ``passwords.yml``.
+
+The list of enabled authentication mechanisms is configured via
+``libvirt_sasl_mech_list``, and defaults to ``["SCRAM-SHA-256"]`` if libvirt
+TLS is enabled, or ``["DIGEST-MD5"]`` otherwise.
+
+.. libvirt-tls:
+
Libvirt TLS
===========
The default configuration of Kolla Ansible is to run libvirt over TCP, with
-authentication disabled. As long as one takes steps to protect who can access
-the port this works well. However, in the case where you want live-migration to
-be allowed across hypervisors one may want to either add some level of
-authentication to the connections or make sure VM data is passed between
-hypervisors in a secure manner. To do this we can enable TLS for libvirt and
-make nova use it.
+SASL authentication. As long as one takes steps to protect who can access
+the network this works well. However, in a less trusted environment one may
+want to use encryption when accessing the libvirt API. To do this we can enable
+TLS for libvirt and make nova use it. Mutual TLS is configured, providing
+authentication of clients via certificates. SASL authentication provides a
+further level of security.
Using libvirt TLS
~~~~~~~~~~~~~~~~~