"Error code: 400. Failed to update VM bootstrap property" while installing Telegraf agent on Windows Server
search cancel

"Error code: 400. Failed to update VM bootstrap property" while installing Telegraf agent on Windows Server

book

Article ID: 403895

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

  • Telegraf agent installation on Windows fails with "Failed to update VM bootstrap property. Error code: 400"

  • The installation will fail with below errors in the uaf_bootstrap.log:

File "C:\VMware\UCP\downloads\config-utils.py", line 410, in run_orchestration
    stage_status = self.run_stage(stage)
  File "C:\VMware\UCP\downloads\config-utils.py", line 459, in run_stage
    stage_status = self.run_stage_action(stage, action, verify)
  File "C:\VMware\UCP\downloads\config-utils.py", line 469, in run_stage_action
    ret = action_cb()
  File "C:\VMware\UCP\downloads\config-utils.py", line 654, in configure_uaf_infra
    shutil.copy(src_path, dst_path)
  File "C:\VMware\UCP\salt\bin\lib\shutil.py", line 418, in copy
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "C:\VMware\UCP\salt\bin\lib\shutil.py", line 264, in copyfile
    with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: 'C:\\VMware\\UCP\\salt\\conf\\pki\\minion\\minion.pem'

ERROR: Can not delete output file : Access is denied. : .\salt\bin\Lib\site-packages\win32\win32net.pyd
80% 7249 . salt\bin\Lib\site-packages\win32\win32net.pyd

Environment

Aria Operations 8.x

Cause

Certain antivirus programs or Windows security features prevent the application from renaming or modifying directories or files.

Resolution

  • Deactivate the antivirus and real-time protection program on Windows server.
  • Install telegraf agent.

Install/Uninstall an Agent Using a Script on a Windows Platform

  • Post telegraf agent installation, activate the antivirus and real-time protection program on Windows server.

Additional Information

The Get-MpComputerStatus cmdlet gets the status of antimalware software installed on the server.

Refer the below screenshot for "Real-time protection".

During bootstrap, when the Telegraf folder is renamed to ucp-telegraf it can result in a failure because of a permission error Agent Install Fails on Windows with a Permission Denied Error