Running cleanup after a test recovery fails with an error.
Problem
Running cleanup after a test recovery might fail with an error. Error - Cannot unmount datastore 'datastore_name' from host 'hostname'. The operation is not allowed in the current state...
Cause
This problem occurs if the host has already unmounted the datastore before you run the cleanup operation.
Solution
Rerun the cleanup operation.