Unable to cancel job in SnapCenter
Applies to
SnapCenter Server (SC)
Issue
Unable to cancel jobs in SC using powershell commands cancel-smjob
, stop-smjob
and remove-smjob
with error message:
Cancel-SmJob -JobID <job_ID> -Force
Cancel-SmJob
Job <job_ID> will be canceled. Do you want to continue?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y
Cancel-SmJob : Cannot cancel the job. Reason: Cancellation of job <job_ID>, of type Backup and status Completed with
RMAN cataloging pending is not supported.
At line:1 char:1
+ Cancel-SmJob -JobID <job_ID> -Force
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (SnapManager.Client.PSModule.CancelJob:CancelJob) [Cancel-SmJob], Exception
+ FullyQualifiedErrorId : Operation failed,SnapManager.Client.PSModule.CancelJob