(/var/log/vmware/vpxd/vpxd.log) shows similar entries to the following:
<SNIP>
########-####-#### info vpxd[07007] [Originator@6876 sub=vpxLro opID=ProcessScheduledTaskFiring-6d3e5b43] [VpxLRO] -- FINISH task-2041
########-####-#### error vpxd[07007] [Originator@6876 sub=Default opID=ProcessScheduledTaskFiring-6d3e5b43] [VpxLRO] -- ERROR task-2041 -- 52####d1-60db-c66b-ce3b-2f3#####525d -- StorageResourceManager -- vim.StorageResourceManager.configureStorageDrsForPod: :vmodl.fault.ManagedObjectNotFound
<SNIP>
vim.StorageResourceManager.configureStorageDrsForPod: :vmodl.fault.ManagedObjectNotFound
--> Result:
--> (vmodl.fault.ManagedObjectNotFound) {
--> faultCause = (vmodl.MethodFault) null,
--> faultMessage = <unset>,
--> obj = 'vim.StoragePod:########-####-####-####-########:group-p1004'
--> msg = ""
--> }
--> Args:
-->
--> Arg pod:
--> 'vim.StoragePod:########-####-####-####-########:group-p1004'
vCenter Server Appliance 7x
vCenter Server Appliance 8x
NOTE: This KB describes a specific issue with a stale scheduled task. To verify you are hitting this issue:
/opt/vmware/vpostgres/current/bin/psql -d VCDB -U postgres -c "select pod_id from vpx_sdrs_pod_config;"
Verify the Stale ID (Optional but recommended):
Select your current Datastore Cluster in the vSphere Client.
Look at the URL in your browser. It will end in something like ...%3Agroup-p5555.
Compare this ID (group-p5555) with the ID in your error message. They will likely match names but have different IDs.
Log in to the MOB:
Open a web browser to: https://<vcenter-fqdn>/mob
Login with [email protected].
Locate the Scheduled Task Manager:
Click on Content (Value: ServiceInstance -> ServiceContent).
Scroll down to the row scheduledTaskManager and click the link (e.g., scheduledTaskManager).
Find the "Configure Storage DRS" Task:
Click the more... link in the value column for the scheduledTask property to expand the list.
You will see a list of IDs like schedule-101, schedule-102.
Click on each ID to check its info -> name property until you find the one named "Configure Storage DRS" (or the specific task name failing).
Delete the Task:
Once you have identified the correct schedule-ID (e.g., schedule-205):
Copy the ID or go back to the scheduledTaskManager page.
At the bottom of the scheduledTaskManager page, locate the method: RemoveScheduledTask.
Click the link RemoveScheduledTask.
In the pop-up window, replace the task value MOID with the ID you found (e.g., schedule-205).
Click Invoke Method.
Result should be "void".
Verification:
Refresh the vSphere Client. The stuck task should be gone.
You can now create a new Storage DRS schedule if needed against the current valid object.