Error! 500 when attempting to generate a heap dump in Aria Orchestrator control center interface.
search cancel

Error! 500 when attempting to generate a heap dump in Aria Orchestrator control center interface.

book

Article ID: 314859

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:
  • Attempts to generate a heap dump from the Orchestrator control center, results in an "Error! 500" message.
  • The body of the message contains a 'no such file or directory' error similar to the screenshot below:
../app-server/logs/tomcat.pid (No such file or directory)

image.png


Environment

VMware vRealize Orchestrator 8.x

Cause

Due to architecture changes in the 8.x release the Orchestrator heap dumps can no longer be collected from the Control Center interface.

Resolution

The issue is pending a resolution.

Workaround:

The heap dump can be manually collected with the following steps:

  1. SSH into the one of the Orchestrator appliance nodes as the root user.
  2.  Execute the following command to generate the heap dump:

"VCO_APP_PODS=$(kubectl get pod -n prelude -l app=vco-app -o jsonpath="{.items[*].metadata.name}"); for VCO_APP in $VCO_APP_PODS; do kubectl -n prelude exec -it $VCO_APP -c vco-server-app -- bash -c "jcmd 1 GC.heap_dump /var/log/collected-logs/heapdump-$( date '+%Y-%m-%d_%H:%M' ).hprof"; done"

The head dumps are available in the '/services-logs/prelude/vco-app/file-logs/' directory on each of the nodes, and will also be collected in log bundles.


Additional Information

Impact/Risks:

Users are unable to generate the heap dump from control center.