Merge "Enable secure TUNNELLED mode for NFS"

This commit is contained in:
Zuul 2018-06-14 11:32:06 +00:00 committed by Gerrit Code Review
commit 76c8fe9d0a
1 changed files with 10 additions and 1 deletions

View File

@ -145,6 +145,11 @@ parameters:
description: Max number of consecutive build failures before the nova-compute will disable itself.
type: string
conditions:
enable_live_migration_tunnelled:
or:
- equals: [{get_param: NovaNfsEnabled}, true]
- equals: [{get_param: NovaEnableRbdBackend}, true]
resources:
NovaBase:
@ -228,7 +233,11 @@ outputs:
# In future versions of QEMU (2.6, mostly), danpb's native
# encryption work will obsolete the need to use TUNNELLED transport
# mode.
nova::migration::live_migration_tunnelled: {get_param: NovaEnableRbdBackend}
nova::migration::live_migration_tunnelled:
if:
- enable_live_migration_tunnelled
- true
- false
nova::compute::neutron::libvirt_vif_driver: {get_param: NovaComputeLibvirtVifDriver}
# NOTE: bind IP is found in hiera replacing the network name with the
# local node IP for the given network; replacement examples