Removing the Product Managed Telegraf agents via the Operations > Applications > Manage Telegraf Agents page or via script results in Uninstall Failed.
Reviewing the failure reason shows "Failed to update VM bootstrap property. Error code: 400".
Needing exact internal API URL to execute to set any Resources' Bootstrap Status to "bootstrapStatus": "NOT_INSTALLED_AND_AGENT_UNINSTALL_SUCCESS"
Log entries like below are seen in telegraf-utils log
10/7/2025 3:56:10 PM ERROR Failed to update VM bootstrap status. Error code: 400
10/7/2025 3:56:10 PM ERROR StatusDescription:
10/7/2025 3:56:10 PM INFO Updating the bootstrap status using url : https://##.##.##.##/suite-api/internal/resources/bootstrapStatus and request body : {
"resourcesBootstrapStatuses": [
{
"resourceId": "",
"bootstrapStatus": "NOT_INSTALLED_AND_AGENT_UNINSTALL_SUCCESS"
}
]
}
Environment
VMware Aria Operations 8.18.x
Cause
The referenced resourceId used when removing the agent is blank.
Resolution
Use the Aria Operations Internal API to reset the bootstrapStatus for the VM
Log in to Aria Operations and navigate to Operations > Configurations > Inventory Management
Filter for the VM object that has the Uninstall Failed status in the Manage Telegraf Agents page
Right click the ID column and select Copy Cell
Note: If the ID column is not visible, use the Show Columns button in the status bar at the bottom of the screen to enable it.
Navigate to Home > Launchpad > Developer Center and click API Documentation
In the SwaggerUI header bar, use the Select a definition dropdown to select Internal APIs
Click the green Authorize button
Note: If you are presented with an Available authorizations dialog, click Logout to remove the expired previous authorization.
Provide the Username and Password of a user with administrative API privileges and click Authorize and then click Close
Type bootstrapStatus in the Search... field
Click on Internal Resources to expand
Click on PUT /internal/resources/bootstrapStatus to expand
Click Try it out
Review the Description for the X-Ops-API-use-unsupported boolean header and set to true
Replace the JSON in the resourceBootstrapStatuses field with the following content