MetroCluster check run job stale entry showing "in-progress" state is preventing new check job execution
Applies to
- MetroCluster Systems
Issue
-
metrocluster check run
job just fails:
cluster02::> metrocluster check run
The operation has been started and is running in the background. Wait for
it to complete and run "metrocluster check show" to view the results. To
check the status of the running metrocluster check operation, use the command,
"metrocluster operation history show -job-id 2754"
cluster02::> metrocluster operation history show -job-id 2754
Operation State Start Time End Time
----------------------------- -------------- ---------------- ----------------
check failed 6/24/2021 10:59:30 6/24/2021 10:59:30
-
metrocluster
operations history show
displays a previous job as stillin-progress
state and all subsequently run check jobs as failed:
cluster02::> metrocluster operation history show
Operation State Start Time End Time
----------------------------- -------------- ---------------- ----------------
check failed 6/24/2021 11:17:18 6/24/2021 11:17:18
check failed 6/24/2021 11:08:38 6/24/2021 11:08:38
switchover-simulate successful 6/20/2021 12:26:29 6/20/2021 12:26:33
switchover-simulate successful 6/20/2021 12:25:49 6/20/2021 12:25:53
check in-progress 6/15/2021 02:15:00 -
- The jobs can be filtered by status:
cluster02::> metrocluster operation history show -state in-progress
Operation State Start Time End Time
----------------------------- -------------- ---------------- ----------------
check in-progress 6/15/2021 02:15:00 -
- The job ID can be found by:
cluster02::> metrocluster operation history show -state in-progress -fields job-id
operation-uuid job-id
------------------------------------ ------
46b73643-9b7e-11e7-968c-00a098995bf1 2259