vRealize Orchestrator NSX Plug-in Troubleshooting06 Feb 2018
The NSX-V Plug-in for vRealize Orchestrator offers some great functionally, however creating custom workflows caused me some headaches.
When building some custom workflows using the vRO API explorer there are inconsistencies, I’ve learned to not rely on the vRO API explorer for NSX plug-in documentation and instead use www.vroapi.com which is more complete.
The NSX plug-in talks to NSX Manager via the REST API, so another avenue to follow is that you can enable HttpClient logging which captures the REST calls made by the Plug-in in real-time. After some searching I found vRealize Orchestrator uses Apache log4j.
We can edit the log4j configuration file
Within this configuration file we find section for the HttpClient org.apache.http
<category additivity="true" name="org.apache.http"> <priority value="INFO"/> </category>
We can enable HttpClient debugging by amending this to have value of DEBUG.
<category additivity="true" name="org.apache.http"> <priority value="DEBUG"/> </category>
Once the vRealize Orchestrator server services are restarted the logging level will change and events will be written to the following log file.
Using a combination of these methods has enabled resolution of all issues experienced up to now. To note putting a vRealize Orchestrator server into debug mode will slow down the vRealize Orchetrator server considerably. It is recommended to use DEBUG mode temporarily.