diff --git a/deployment/nova/nova-compute-container-puppet.yaml b/deployment/nova/nova-compute-container-puppet.yaml index 7e17cb0688..c02078a064 100644 --- a/deployment/nova/nova-compute-container-puppet.yaml +++ b/deployment/nova/nova-compute-container-puppet.yaml @@ -997,6 +997,11 @@ conditions: - equals: [{get_param: [RoleParameters, NovaReservedHugePages]}, ""] - equals: [{get_param: NovaReservedHugePages}, []] + live_migration_optimization_set: + and: + - not: {equals: [{get_param: [RoleParameters, TunedProfileName]}, 'realtime-virtual-host']} + - reserved_huge_pages_set + ovs_dpdk_socket_memory_not_set: and: - equals: [{get_param: [RoleParameters, OvsDpdkSocketMemory]}, ""] @@ -1101,7 +1106,7 @@ outputs: - {get_attr: [RoleParametersValue, value, nova_permit_post_copy]} - ["TRUE", "true", "True"] - if: - - reserved_huge_pages_set + - live_migration_optimization_set - true - false nova::migration::libvirt::live_migration_permit_auto_converge: @@ -1111,7 +1116,7 @@ outputs: - {get_attr: [RoleParametersValue, value, nova_permit_auto_converge]} - ["TRUE", "true", "True"] - if: - - reserved_huge_pages_set + - live_migration_optimization_set - true - false