install agents failed at Runtime user: arcuser is not having password-less privileges
search cancel

install agents failed at Runtime user: arcuser is not having password-less privileges

book

Article ID: 384534

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

1. When install the Telegraf Agent by following Install/Uninstall an Agent Using a Script on a Linux Platform, and after running the script for the install, the following error is shown:

    install agents failed at Runtime user: arcuser is not having password-less privileges. If runtime user was created manually, ensure required privileges are available. Also ensure that /etc/sudoers file has a line '#includedir /etc/sudoers.d'.

2. User Account Prerequisites is checked.

Environment

Aria Operations 8.18.x

Cause

An issue has been identified with the default script for the install/uninstall of the Telegraf Agent on Linux platforms.

This issue is currently under review.

Resolution

Workaround:

  • Delete the following lines in /etc/sudoers file, and run the installation script again:

Defaults:arcuser !requiretty
Cmnd_Alias VAPCOMMANDS=/usr/bin/systemctl * ucp-telegraf.service, !/usr/bin/systemctl * * ucp-telegraf.service, /bin/systemctl * ucp-telegraf.service, !/bin/systemctl * * ucp-telegraf.service, /usr/bin/systemctl * ucp-minion.service, !/usr/bin/systemctl * * ucp-minion.service, /bin/systemctl * ucp-minion.service, !/bin/systemctl * * ucp-minion.service, /usr/bin/systemctl * salt-minion.service, !/usr/bin/systemctl * * salt-minion.service, /bin/systemctl * salt-minion.service, !/bin/systemctl * * salt-minion.service, /usr/bin/systemctl * ucp-salt-minion.service, !/usr/bin/systemctl * * ucp-salt-minion.service, /bin/systemctl * ucp-salt-minion.service, !/bin/systemctl * * ucp-salt-minion.service, /usr/bin/netstat, /bin/netstat, /opt/vmware/ucp/tmp/telegraf_post_install_linux.sh, /opt/vmware/ucp/bootstrap/uaf-bootstrap.sh, /opt/vmware/ucp/content/runscript.sh, /opt/vmware/ucp/ucp-minion/bin/ucp-minion.sh, /usr/bin/systemd-run, /bin/systemd-run
arcuser ALL=(ALL) NOPASSWD: VAPCOMMANDS

  • If the issue continues after trying the above please steps edit the /etc/sudoers and add in @includedir /etc/sudoers.d underneath # See sudoers(5) for more information on "@include" directives section