Message: Host is out of compliance with desired configurationSetting: /profile/esx/storage/paths/iqn.1998-01.com.vmware:<host-fqdn-or-ip>:1409364661,<iqn-name-target>:<target-name>,t,1-<lun-id>Host value: ConfiguredCluster value: Not ConfiguredVMware vCenter Server 8.0.x
VMware vCenter Server 9.0.x
The action to disable and enable LUN path will write the path status into configstore of ESXi host. However the default state of configstore will not contain path of storage. This will cause drift between the original state and the host on storage path.
To fix the issue with either below options:
IMPORT FROM HOST" under Draft. See Import a Configuration Document or a Configuration from a Reference Host Into an Existing Draft Configuration.APPLY CHANGES. Hosts in the cluster will be remediated with the configuration of the reference host. configstore of the ESXi host if don't want to apply the change to the whole cluster. configstore:/bin/configstorecli config current get -c esx -g storage -k paths[ { "path": "iqn.1998-01.com.vmware:<host-fqdn-or-ip>:1409364661,<iqn-name-target>:<target-name>,t,1-<lun-id>, "state": "ACTIVE" }]
configstore:/bin/configstorecli config current delete -c esx -g storage -k paths --allDelete: completed successfully.