Another task is already in progress"vSphere DRS functionality was impacted due to unhealthy state vSphere Cluster Services caused by the unavailability of vSphere Cluster Service VMs. vSphere Cluster Service VMs are required to maintain the health of vSphere DRS" /var/run/log/settingsd.log similar error as below is seenYYYY-MM-DDTHH:MM:SS In(14) settingsd[2099308]: info [ConfigStore:19443d2700] esx/infravisor_pods/vcls hostAPI=VCLS_POD_CRX(ENABLED)YYYY-MM-DDTHH:MM:SS In(14) settingsd[2099308]: debug [ConfigStore:19443d2700] [GetTaskId]: Generated task uuid <id>YYYY-MM-DDTHH:MM:SS In(14) settingsd[2099308]: info [ConfigStore:19443d2700] [WriteToFile] Creating directory /var/vmware/lifecycleYYYY-MM-DDTHH:MM:SSEr(11) settingsd[2099308]: error [ConfigStore:19443d2700] [WriteToFile] Failed to create directory /var/vmware/lifecycle: boost::filesystem::create_directories: File exists [system:17]: "/var/vmware/lifecycle", "/var/vmware"YYYY-MM-DDTHH:MM:SS Er(11) settingsd[2099308]: error [ConfigStore:19443d2700] [_CheckTaskContention]: Failed to write to the task sync file in task <id>: std::exception, 0 retries leftYYYY-MM-DDTHH:MM:SS Er(11) settingsd[2099308]: error [ConfigStore:19443d2700] Method failedThis issue occurs when the scratch location is on /tmp which is non-persistent and is instead located on the /tmp RAMdisk
To workaround this issue
/var shows a broken symlink./tmp/_osdata####
cachecorestorelockersettingsd service using the command /etc/init.d/settingsd restart to recreate the subfolders.To avoid this issue, Set the Scratch Partition from the vSphere Client