Disabling LM PostCopy and AutoConverge for RT roles
It's not recommended to have NovaLiveMigrationPermitPostCopy and NovaLiveMigrationPermitAutoConverge enabled for realtime roles. Change-Id: I11584e5cf12bf654dd4e909dc50555003c576d1a
This commit is contained in:
parent
1f128e903d
commit
0d4a5f04f9
@ -1002,6 +1002,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]}, ""]
|
||||
@ -1106,7 +1111,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::live_migration_permit_auto_converge:
|
||||
@ -1116,7 +1121,7 @@ outputs:
|
||||
- {get_attr: [RoleParametersValue, value, nova_permit_auto_converge]}
|
||||
- ["TRUE", "true", "True"]
|
||||
- if:
|
||||
- reserved_huge_pages_set
|
||||
- live_migration_optimization_set
|
||||
- true
|
||||
- false
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user