When the VCFA / VIDB install flow successfully completes the VMSP deployment step but encounters a failure during the VCFA / VIDB product deployment
To get the download URL for a successfully deployed environment, rather than relying on the LCM UI.
Note: Before making any changes to the setup, this API should be used for any component deployment failure, such as:
API to generate log bundle for failed environment:
curl -X POST "https://<fleet-mgmt-appliance-fqdn>/lcm/lcops/api/environments/<environmentId>/products/<productId>/logs/bundle/failed?duration=2" -H "accept: application/json" -d ""
Sample Output:
"resultSet": "[{\"vmid\":\"<vmid_UUID>\",\"transactionId\":null,\"tenant\":\"default\",\"sourceOfTheRequest\":\"<Request_UUID>\",\"resultKey\":\"downloadUrl \",\"resultType\":\"java.lang.String\",\"resultText\":\"\\\"https://##.##.##.##/supportbundles/vidb-bundle-20250128T091346Z-20250130T091347Z-15820.tar.gz\\\"\",\"eventId\":\"<EventId_UUID>\",\"machineInstanceId\":\"<machineInstanceId_UUID>\"}]",
To download the bundle from Fleet Manager:
curl -k -u 'lcmadminuser:adminpassword' -X GET "https://
<fleet-mgmt-appliance-fqdn>
/lcm/lcops/api/environments/<environmentId>/products/<productId>/logs/bundle/download?downloadUrl=https://##.##.##.##/supportbundles/vidb-bundle-20250128T091346Z-20250130T091347Z-15820.tar.gz" -H "accept: */*" -o <outputPath ex:vidb-bundle-20250128T091346Z-20250130T091347Z-15820.tar.gz>