NSX|V: ensure that the DRS is 'should' and not 'must'
The host-group rules may conflicts with a NSX anti-affinity rule. This may occur if there are 3 or less hosts in the cluster. Change-Id: I5592b48e305a34e3609fcdbf3f5559fb0f1f0bea
This commit is contained in:
parent
801e59ad99
commit
4c9b717e9a
|
@ -528,7 +528,7 @@ class DvsManager(object):
|
|||
policy_class = 'ns0:ClusterVmHostRuleInfo'
|
||||
rules_info = client_factory.create(policy_class)
|
||||
rules_info.enabled = True
|
||||
rules_info.mandatory = True
|
||||
rules_info.mandatory = False
|
||||
rules_info.name = name
|
||||
rules_info.vmGroupName = vm_group_name
|
||||
rules_info.affineHostGroupName = host_group_name
|
||||
|
|
Loading…
Reference in New Issue