Telegraf agent installation fails with "Install Failed" and "Bootstrap failed with Timeout, but no error messages found on VM" errors in UI
book
Article ID: 312521
calendar_today
Updated On:
Products
VMware Aria Suite
Issue/Introduction
Installation fails with errors "Install Failed" and "Bootstrap failed with Timeout, but no error messages found on VM."
UI error: "Bootstrap failed with Timeout, but no error messages found on VM."
/tmp/vmware-root_xxxx-xxxxxxxxxx/VMware-UCP_Bootstrap_Scriptsvmware10/uaf_bootstrap.log Log file error in Linux VM: "bash: /tmp/vmware-root_xxxx-xxxxxxxxxx/VMware-UCP_Bootstrap_Scriptsvmware10/uaf-bootstrap.sh: Permission denied"
Environment
Aria Operations 8.x
Cause
Incorrect permission for /tmp directory (noexec) prevented execution of the bootstrap script.
Resolution
Verify the permission of /tmp directory:
Use the 'findmnt -n -o OPTIONS /tmp' or 'mount' command to verify current permissions of the /tmp direcroty.
If /tmp has 'noexec' permission then change /tmp permission from 'noexec' to 'exec':
Execute the 'mount -o remount,exec /tmp' command to update or change /tmp permission from 'noexec' to 'exec' and use the findmnt command to verify the changes.
The 'noexec' permission is not listed which means the /tmp directory has 'exec' permission.
Restart the daemon service using 'systemctl daemon-reload' command.
If the service restart does not reflect the 'exec' permission in /etc/fstab for /tmp then Reboot the VM for changes to take effect.
OR
Backup the fstab file using "cp /etc/fstab /etc/fstab.bak" command and Edit /etc/fstab and remove the 'noexec' option and add 'exec' for the /tmp mount point.
Restart the daemon service using 'systemctl daemon-reload' command.
If the service restart does not reflect the exec permission in /etc/fstab for /tmp then Reboot the VM for changes to take effect.
Reinstall Telegraf agent:
Remove older Telegraf instances from /tmp and /opt directories (if any) of the Linux VM where telegraf installation attempt was made.