VMware Aria Automation Orchestrator

 View Only
  • 1.  Error while running script in VM

    Posted Jan 02, 2019 12:13 PM

    Hi,

    When I use "Run script in VM guest" workflow on one of my Windows server, I sometimes receive the following error:

    A general system error occurred: vix error codes = (3016, 0)

    I searched this error and found out it means that vmware tool is down.

    When I checked the server, the vmware tool was OK and started.

    I also tried to restart vmware tool service.

    However, the error still occurs when running this workflow.

    Any idea?

    Thanks!



  • 2.  RE: Error while running script in VM

    Broadcom Employee
    Posted Jan 02, 2019 12:41 PM

    Hi,

    When calls to vCenter API return such intermittent errors, usually there is not much that can be done from vRO point of view. One option is to locate where exactly in the workflow scripting code is the API call that returns this error, and add some retry logic if feasible.



  • 3.  RE: Error while running script in VM

    Posted Jan 02, 2019 01:09 PM

    That exactly what I have done.

    I added a loop retry, but this loop never finishes...



  • 4.  RE: Error while running script in VM

    Broadcom Employee
    Posted Jan 02, 2019 01:27 PM

    What is the exact item/line in the workflow where the error is thrown?



  • 5.  RE: Error while running script in VM

    Posted Jan 02, 2019 02:56 PM

    Error in (Workflow:Get processes from guest / Scriptable task (item1)#8) A general system error occurred: vix error codes = (3016, 0).

    This is line 8:

    var guestProcessInfo = processManager.listProcessesInGuest(vm , guestAuth , null);



  • 6.  RE: Error while running script in VM

    Posted Feb 13, 2023 09:07 AM

    Hi,

    I am facing the same issue in my environment. Could you please tell what you did to resolve this issue?