Telegraf Agent Last Operation Status Perpetually Uninstalling in Aria Operations
search cancel

Telegraf Agent Last Operation Status Perpetually Uninstalling in Aria Operations

book

Article ID: 395165

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

In Aria Operations UI, on the 'Manage Telegraf Agents' page you have a VM that has a constant spinning status of "Uninstall in Progress" which has been like this for a very long time.

If you manually click on Uninstall under 'Agent Actions' for this VM. the uninstall fails with blank error message in the UI.

On the end point linux VM in '/tmp/vmware-root/VMware-UCP_Bootstrap_Scriptsvmwar<int>/uaf'_bootstrap.log file you see message:

bash: /tmp/vmware-root_xxx/VMware-UCP_Bootstrap_ScriptsvmwareXX/uaf-bootstrap.sh: Permission denied

On the cloud proxy collector for this VM in the '/storage/vcops/log/adapters/APPOSUCPAdapter/APPOSUCPAdapter_XXX.log.' directory you see below logs:

2025-03-20T14:11:27,598+0000 WARN  [pool-8658-thread-2] (46) com.vmware.ucp.util.guestops.impl.RemoteGuestOperationImpl.warn - File '/tmp/vmware-root_974-2965579094/VMware-UCP_Bootstrap_Scriptsvmware150/uaf-bootstrap-results' not found, returning null
2025-03-20T14:11:27,599+0000 ERROR [pool-8658-thread-2] (46) com.vmware.ucp.util.guestoperations.impl.guest.VMUnBootstrapWaitOperation.error - UnBootstrap Failed for VM <UUID_vm-XXXX> with error message:

We see that the error message is blank like we see in the UI.

Environment

Aria Operations 8.x

Cause

Incorrect permission for /tmp directory (noexec) preventing execution of the bootstrap script.

Resolution

If all the symptoms are matching as mentioned in the Issue/Introduction section, Please refer to Telegraf agent installation fails with "Install Failed" and "Bootstrap failed with Timeout, but no error messages found on VM" errors in UI KB article and exec permissions to /tmp directory