Skip to content

Commit 5d5ff82

Browse files
committed
Add config parameter 'live_migration_scheme' to live migration with tls guide
This patch adds the config option 'live_migration_scheme = tls' to the secure live migration guide. To let the live migration use the qemu native tls, some configuration of the compute nodes is needed. The guide describes this but misses the 'live_migration_scheme' config option. It is necessary to set 'live_migration_scheme' to tls to use the connection uri for encrypted traffic. Without this parameter everything seems to work, but the unencrypted tcp-connection is still used for the live migration. Closes-Bug: #1919357 Change-Id: Ia5130d411706bf7e1c983156158011a3bc6d5cd6
1 parent bde5995 commit 5d5ff82

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

doc/source/admin/secure-live-migration-with-qemu-native-tls.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,17 +120,26 @@ Performing the migration
120120

121121
(1) On all relevant compute nodes, enable the
122122
:oslo.config:option:`libvirt.live_migration_with_native_tls`
123-
configuration attribute::
123+
configuration attribute and set the
124+
:oslo.config:option:`libvirt.live_migration_scheme`
125+
configuration attribute to tls::
124126

125127
[libvirt]
126128
live_migration_with_native_tls = true
129+
live_migration_scheme = tls
127130

128131
.. note::
129132
Setting both
130133
:oslo.config:option:`libvirt.live_migration_with_native_tls` and
131134
:oslo.config:option:`libvirt.live_migration_tunnelled` at the
132135
same time is invalid (and disallowed).
133136

137+
.. note::
138+
Not setting
139+
:oslo.config:option:`libvirt.live_migration_scheme` to ``tls``
140+
will result in libvirt using the unencrypted TCP connection
141+
without displaying any error or a warning in the logs.
142+
134143
And restart the ``nova-compute`` service::
135144

136145
$ systemctl restart openstack-nova-compute

0 commit comments

Comments
 (0)