Datastore & Datastore Clusters view > Select the datastore cluster > Configure > Storage DRS > Change "Cluster automation level" > Select "Fully Automated". Task fails with the error:A specified parameter was not correct: podSelectionSpec.initialVmConfig.interVmRule/var/log/vmware/vpxd/vpxd.log, the following entries are seen:Added vm vm-12#### to interVms set because of rule <rule name>Added vm vm-12#### to intraVms seterror vpxd[1337629] [Originator@6876 sub=Default opID=########-####-####-####:############5-##] [VpxLRO] -- ERROR task-######## -- 12c#####-####-####-####-############(32b#####-####-####-####-############) -- StorageResourceManager -- vim.StorageResourceManager.configureStorageDrsForPod: :vmodl.fault.InvalidArgument--> Result:--> (vmodl.fault.InvalidArgument) {--> faultCause = (vmodl.MethodFault) null,--> faultMessage = <unset>,--> invalidProperty = "podSelectionSpec.initialVmConfig.interVmRule"--> msg = ""--> }--> Args:-->--> Arg pod:--> 'vim.StoragePod:########-####-####-####-############:group-p#####'--> Arg spec:--> (vim.storageDrs.ConfigSpec) {--> podConfigSpec = (vim.storageDrs.PodConfigSpec) {--> enabled = <unset>,--> ioLoadBalanceEnabled = <unset>,--> defaultVmBehavior = <unset>,--> loadBalanceInterval = <unset>,--> defaultIntraVmAffinity = <unset>,--> spaceLoadBalanceConfig = (vim.storageDrs.SpaceLoadBalanceConfig) null,--> ioLoadBalanceConfig = (vim.storageDrs.IoLoadBalanceConfig) null,--> automationOverrides = (vim.storageDrs.AutomationConfig) null,--> rule = (vim.cluster.RuleSpec) [--> (vim.cluster.RuleSpec) {--> operation = "remove",--> removeKey = <rule ID>,--> info = (vim.cluster.RuleInfo) null--> }--> ],--> option = <unset>--> },--> vmConfigSpec = <unset>--> }--> Arg modify:--> true
VMware vCenter Server 8.0.3
This behavior is by default and conflict happens when the same set of VMs are added to interVM AntiAffinity rule and intraVmAffinity rule.
To resolve the issue,remove all conflict interVms rules, or by removing all conflict intraVms rule overrides.
Log in to the vSphere Client and navigate to the Storage inventory view.
Select the target Datastore Cluster.
Select the Configure tab.
Under the Configuration section, select Rules.
Locate the specific VM anti-affinity or affinity rule in the list.
Click the Remove button.
Click OK to confirm the deletion.
Log in to the vSphere Client and navigate to the Storage inventory view.
Select the target Datastore Cluster.
Select the Configure tab.
Under the Configuration section, select Rules.
Locate the specific VMDK anti-affinity rule applied to the VM.
Click the Remove button.
Click OK to confirm.