Skip to main content
Question

Virtual Server restore job Failed, yet shows Completed in Job Details

  • February 12, 2026
  • 0 replies
  • 13 views

Forum|alt.badge.img

Hi. We are using your api to automate our usage of commvault.

Commvault version 11.40, cvpysdk 11.40

A few days ago, we submitted a job to restore a VMWare virtual server, calling /v2/vsa/vm/{vm_uuid}/recover endpoint with the following arguments:

{

            'powerOnVmAfterRestore': True,

            'passUnconditionalOverride': True,

            'inPlaceRestore': True,

            'newName': {vm_name}

        }

 

The job is created, and then ultimately failed due to media agent misbehaving. Our internal resource is investigating that front, while I deal with the following issue.

In Command Center → vm detail → jobs section, we see that the job in question has the status of “Failed”:

 

Yet if we go into the job detail page by clicking on the job id, the status becomes “Completed”

And using cvpysdk to get the job, the returned object shows status being complete as well:

  1. Why is there a discrepancy?
  2. Apart from the almost-equivalent “/job?jobFilter=restore&clientId=4302” endpoint that we cannot use reliably because of inefficiency and pagination, Where in the API can we get the “Failed” status like shown in job list for a specific job?