Non-Terminating error in PowerShell script leads to a failure in the Puppet resource creation for a Windows deployment
search cancel

Non-Terminating error in PowerShell script leads to a failure in the Puppet resource creation for a Windows deployment

book

Article ID: 325913

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:
  • An informational message is redirected to the error stream in the PowerShell script, causing it to be considered a non-terminating error.
  • Puppet resource creation fails if there are any messages in the error.txt file located at C:\Users\Administrator\AppData\Local\Temp\vmware\provider\user_defined_script on the host machine, or if the exit code is non-zero at the time of script completion.


Environment

VMware vRealize Automation 8.x

Cause

The vRA PowerShell script on the Windows machine encounters an environmental issue, printing an INFO message and redirecting it to the error stream during puppet agent installation.

Resolution

This issue is resolved in VMware Aria Automation 8.12 and SaaS April release.


Workaround:
No workaround is available currently.

Additional Information

Impact/Risks:
Deployment is marked as failed even though the puppet agent has been installed successfully and the puppet run is complete.