If a request fails, you can retry the request to create an environment, upgrade vRealize Suite Lifecycle Manager, or download from my.vmware.com.

Prerequisites

Satisfy the following conditions before performing the tasks for this use case.

Procedure

  1. Retry a request with a request ID.
    curl -X POST "https://LCM-HostName/lcm/api/v1/request/retry/<Request-ID>" \
      -H "accept: application/json" -H "x-xenon-auth-token: $token" \
      -H "content-type: application/json" \
      -d "[ 
         { 
           "eventId": "<Retry-Event-ID>", 
           "messageId": "<Retry-Message-ID>", 
           "message": "Error Message", 
           "properties": {
             "retrykey": "newvalue"
           } 
         }
       ]" 
    

    Where the request body input parameters such as eventID, messageId, message, and properties with the retrykey list are retry parameters listed in the response to a status request. See Monitor a Request.

  2. Examine the response to track the retry request.

    The output of the request includes:

    • requestId = Retry Request ID

    • requestState = Retry Request State

    • requestType = Retry Request Type

  3. (Optional) Monitor the status of the request with the Retry Request ID from Step 2.
    curl -X GET "https://LCM-HostName/lcm/api/v1/request/status/<Retry-Request-ID>" -H "accept: application/json" -H "x-xenon-auth-token: $token"