Skip to main content
Question

Failed to delete client - Activity [ProcessRequest] for workflow [GetAndProcessAuthorization] failed

  • August 7, 2025
  • 3 replies
  • 78 views

Forum|alt.badge.img+1

Hi there, im having issue deleting a client, it fails at ProcessRequest in GetAndProcessAuthorization workflow, and im out of ideas why. 

Both account the requester and the one im accepting the request for deletion are part of master group.

 

Any help is appreciated.

3 replies

Forum|alt.badge.img+2
  • Vaulter
  • August 7, 2025

Hello Jeton,

Could you please share any error snippets or relevant log cuts to help us identify what might have gone wrong?

This will assist us in troubleshooting the issue more effectively.


Forum|alt.badge.img+1
  • Author
  • Bit
  • August 7, 2025

Hello orophile,

Thanks for your reply, hope this log cut helps.

 

9324  3104  08/07 12:03:09 ### RetireAgent::validateRetireAgentRequest() - Request to delete agent [106] name [Virtual Server] on client id [11] name [for_deletion], set forceDelete to [true].
9324  3104  08/07 12:03:12 ### ServerManagerInvoker::Invoke() - Response received from remote host [<?xml version="1.0" encoding="UTF-8" standalone="no" ?><Workflow_WorkflowCompletionResponse contextId="4f1ca612-bb9a-4d95-97f6-0aa79d073d19" endTime="1754560992" errorCode="0" errorMessage="" jobId="0" outputs="&lt;outputs>&lt;returnString />&lt;outputXML />&lt;returnCode>1&lt;/returnCode>&lt;/outputs>" startTime="1754560989" status="4" statusCode="0" version="3"><workflow workflowId="129" workflowName="DeleteAgentAuthorization"/></Workflow_WorkflowCompletionResponse>]
9324  3104  08/07 12:03:12 ### WorkflowControler::SendAnyWorkflowRequest() - clientId=[2], returnCode=[0]
9324  3104  08/07 12:03:12 ### BusinessLogicWorkflow::AnalyzeResponse() - Output of Messagehandler workflow[DeleteAgentAuthorization]: returnCode[1](1=PROCEED_WITH_INPUTXML,2=PROCEED_WITH_OUTPUTXML,3=DO_NOT_PROCEED), returnString[], outputXML[].
9324  3104  08/07 12:03:12 ### RetireAgent::handleRetireAgentRequest() - forceDelete:[true], skipRetireClientBLWorkflow[true]
9324  3104  08/07 12:03:12 ### RetireAgent::retireAgent() - Request to retire/delete the last agent apptype(s):[106] on client:[for_deletion] clientId: [11], retire client with forceDelete:[true], skipRetireClientBLWorkflow: [true]
9324  3104  08/07 12:03:12 ### RetireClient::handleRetireClientRequest() - InputXML:[<?xml version="1.0" encoding="UTF-8" standalone="no" ?><App_RetireClientRequest><processinginstructioninfo><attributes name="xmlFeature" value=""/><attributes name="webServerHttpRequest" value="1"/><attributes name="authCode" value="d9dfac24-f114-4229-96b3-1f401b82aa2f"/><attributes name="WorkflowApprover" value="6"/><user userId="1" userName=""/><locale localeId="0"/><formatFlags continueOnError="1" elementBased="1" skipIdToNameConversion="1"/></processinginstructioninfo><client _type_="3" clientId="11"/></App_RetireClientRequest>]
9324  30f8  08/07 12:03:13 ### JM Client  CVJobReq::getSessionFromPool(): Got host [commvault.dc.local] from server client name.
9324  3104  08/07 12:03:13 ### RetireClient::handleRetireClientRequest() - Caller requested force delete clients [11]
9324  3104  08/07 12:03:13 ### RetireClient::retirePseudoClients() - Kill running jobs for [1] pseudo client(s) before retiring.
9324  3104  08/07 12:03:13 ### Database   Successfully deleted cloud laptop jobs for client [11]
9324  3104  08/07 12:03:13 ### JM Client  CVJobReq::getSessionFromPool(): Got host [commvault.dc.local] from server client name.
9324  3104  08/07 12:03:13 ### EntityProperties::killRunningJobs() - Send command to force kill running jobs for clientId [11].
9324  3104  08/07 12:03:13 ### forceDeleteClient() - Delete client request, userid[1], clientid[11].
9324  3104  08/07 12:03:13 ### forceDeleteClient() - Release license request[<?xml version="1.0" encoding="UTF-8" standalone="no" ?><TMMsg_ReleaseLicenseReq forceDelete="0" isClientLevelOperation="1" submitUninstallJob="1"><processinginstructioninfo><user _type_="13" userId="1"/></processinginstructioninfo><clientEntity _type_="3" clientId="11"/><licenseTypes appType="0" licenseName="" licenseType="0"/></TMMsg_ReleaseLicenseReq>]
9324  3104  08/07 12:03:13 ### LibConfigAppClientProp::onMsgReleaseLicReq() - IsClientLevelOperation() [1]
9324  3104  08/07 12:03:14 ### LibConfigAppClientProp::onMsgReleaseLicReq() - This is a GUI request to release all licenses on client [for_deletion]
9324  3104  08/07 12:03:14 ### DeconfigureAgent() -  Found V2 VM Properties, It is a V2 VM client.
9324  3104  08/07 12:03:14 ### DeconfigureAgent() - Calling Licensing API to release licensetype [143]
9324  3104  08/07 12:03:16 ### CVCertificate::updateCertificates() - Certificates of client id=11 are being uninstalled.
9324  3104  08/07 12:03:18 ### LibConfigAppClientProp::onMsgReleaseLicReq() - Sent workqueue WORK_TOKEN_OSC for client [11] as part of release license operation.
9324  3104  08/07 12:03:18 ### forceDeleteClient() - Release license response[0][<?xml version="1.0" encoding="UTF-8" standalone="no" ?><CVGui_GenericResp errorCode="0" errorMessage="" warningCode="0" warningMessage=""/>]
9324  3104  08/07 12:03:18 ### forceDeleteClient() - Successfully released license of clientid[11].
9324  3104  08/07 12:03:18 ### removeSimPackageRecords() - Successfully removed sim packages records for Client:[11].
9324  3104  08/07 12:03:18 ### forceDeleteClient() - Not checking if data is available on client[11] as request is for forceDelete. Client request is of company which is marked to delete.
9324  3104  08/07 12:03:18 ### forceDeleteClient() - Delete client request[<?xml version="1.0" encoding="UTF-8" standalone="no" ?><App_DeleteClientRequest><processinginstructioninfo><attributes name="DeletedByRetireClientProcess" value="true"/><user _type_="13" userId="1"/></processinginstructioninfo><association><entity _type_="0" clientId="11" entityType="3"/></association></App_DeleteClientRequest>]
9324  3104  08/07 12:03:19 ### LibConfigAppClientProp::isAssociatedToRACInstance() - Is the client associated to RAC instance? [No]
9324  3104  08/07 12:03:19 ### LibConfigAppClientProp::reassociateSMControlHostInfo() - Error removing association for client [11], RetCode: [100]
9324  3104  08/07 12:03:19 ### LibConfigAppClientProp::deleteEachClient() - Kill running jobs for clientId [11] before deletion.
9324  3104  08/07 12:03:19 ### Database   Successfully deleted cloud laptop jobs for client [11]
9324  3104  08/07 12:03:19 ### JM Client  CVJobReq::getSessionFromPool(): Got host [commvault.dc.local] from server client name.
9324  3104  08/07 12:03:19 ### EntityProperties::killRunningJobs() - Send command to force kill running jobs for clientId [11].
9324  3104  08/07 12:03:21 ### ReplicationMgrDeletes.cpp[1520] -> ReplicationMgr::CleanupByClientId()
    Clean up for client id 11 was performed successfully...
9324  3104  08/07 12:03:21 ### AMCopyToApplications::deleteApplications() is called for clientId [11] appTypeId [0] instanceId [0] backupSetId [0] subclientId [0]
9324  3104  08/07 12:03:21 ### LibConfigAppClientProp::deleteClient() - client [11] is NOT a hypervisor.
9324  3104  08/07 12:03:21 ### ArMgrCS::deleteArchStuffForAppId() - Valid data for AppId [17] exist in worm storage and can not be deleted.
9324  3104  08/07 12:03:21 ### EntityProperties::deleteArchStuffForAppId() - Error deleting ArchStuffForAppId [92]
9324  3104  08/07 12:03:21 ### EntityProperties::removeAllAppIds() - Roll back transaction to delete appType [106] for clientId: [11].
9324  3104  08/07 12:03:21 ### LibConfigAppClientProp::deleteClient() - Failed to removeAllAppIds for m_clientId: [11].
9324  3104  08/07 12:03:21 ### LibConfigAppClientProp::deleteEachClient() - Failed to delete client, clientId: [11], errorCode: [587202723], errorMessage: [].
9324  3104  08/07 12:03:21 ### LibConfigAppClientProp::deleteClient() - Failure in Deleting Client [11] [for_deletion]
9324  3104  08/07 12:03:21 ### LibConfigAppClientProp::deleteClient() - Error Occurred.Dumping Response.
9324  3104  08/07 12:03:21 ### EntityProperties::dumpResponse() - Rolled back transaction
9324  3104  08/07 12:03:21 ### EntityProperties::dumpResponse() - Rolled back transaction
9324  3104  08/07 12:03:21 ### forceDeleteClient() - Delete client response[<?xml version="1.0" encoding="UTF-8" standalone="no" ?><App_DeleteClientResponse><processinginstructioninfo><attributes name="exitval" value="1"/></processinginstructioninfo><response errorCode="1" errorString="Failed to delete Client."><entity clientName="for_deletion"/></response></App_DeleteClientResponse>]
9324  3104  08/07 12:03:21 ### forceDeleteClient() - Error in Delete client, return code[1], delete client response[<?xml version="1.0" encoding="UTF-8" standalone="no" ?><App_DeleteClientResponse><processinginstructioninfo><attributes name="exitval" value="1"/></processinginstructioninfo><response errorCode="1" errorString="Failed to delete Client."><entity clientName="for_deletion"/></response></App_DeleteClientResponse>]
9324  3104  08/07 12:03:21 ### RetireClient::retirePseudoClients() - Failed to retire pseudo client [11], m_errorCode [1], m_errorMessage [Failed to delete Client.]
9324  3104  08/07 12:03:21 ### EntityProperties::dumpResponse() - Rolled back transaction
9324  3104  08/07 12:03:21 ### RetireClient::handleRetireClientRequest() - Total time to handle retire client request: [8.509940] seconds, number of clients: [1], Response XML:[<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<App_RetireClientResponse>

  <processinginstructioninfo>
    <attributes>
      <name>exitval</name>
      <value>1</value>
    </attributes>
  </processinginstructioninfo>

  <response>
    <errorString>Failed to delete Client.</errorString>
    <errorCode>1</errorCode>
  </response>

</App_RetireClientResponse>
]
9324  3104  08/07 12:03:21 ### RetireAgent::retireClientIfLastAppType() - Unable to retire client.
9324  3104  08/07 12:03:21 ### RetireAgent::handleRetireAgentRequest() - Retire/Delete agent failed. Please check logs
9324  3104  08/07 12:03:21 ### EntityProperties::dumpResponse() - Rolled back transaction
9324  3100  08/07 12:03:27 ### EvJob::EraseJobFromCompanyToActiveJobsMap() - job erased from cache. jobId[294955], companyId[0]
9324  30d0  08/07 12:03:55 ### PredictSLAAndSendAlert() - Entered PredictSLAAndSendAlert
9324  30fc  08/07 12:04:11 ### JM Client  CVJobReq::getSessionFromPool(): Got host [commvault.dc.local] from server client name.
 

 


Forum|alt.badge.img+2

Could you please check if there are any jobs available for that client and review the storage policy copy to see if the compliance lock is enabled?