Cadet 1st Class Cadet 1st Class
Cadet 1st Class
406 views

Operations Connector for Nutanix error

Good day !

We have difficulty using
"Operations Connector for Nutanix" (we use Nutanix version 5.10.0.2), we get an error in the logs.

2019-04-08 12:46:28 [ 3312] ERROR lua_plugin::lua_source_node - Retry count for request = /PrismGateway/services/rest/v1/vms is = 0
2019-04-08 12:46:28 [ 3312] ERROR lua_plugin::lua_source_node - Again pushing request in queue
2019-04-08 12:46:28 [ 3312] ERROR lua_plugin::lua_source_node - Again trying to do socket connection
2019-04-08 12:46:28 [ 3312] TRACE lua_plugin::lua_source_node - Inside handleConnect
2019-04-08 12:46:28 [ 3312] TRACE lua_plugin::lua_source_node - Inside doRequest
2019-04-08 12:46:28 [ 3312] TRACE lua_plugin::lua_source_node - http> Queueing HTTP request execution
2019-04-08 12:46:28 [ 3312] TRACE lua_plugin::lua_source_node - Exit handleConnect
2019-04-08 12:46:28 [ 3312] TRACE lua_plugin::lua_source_node - http> Successfully sent HTTP request to remote server
2019-04-08 12:46:28 [ 3312] TRACE lua_plugin::lua_source_node - http> Successfully parsed response HTTP header
2019-04-08 12:46:28 [ 3312] TRACE lua_plugin::lua_source_node - http> Attempting to read in HTTP response using given content-length
2019-04-08 12:46:28 [ 3312] TRACE lua_plugin::lua_source_node - http> Reading 19 bytes
2019-04-08 12:46:28 [ 3312] TRACE lua_plugin::lua_source_node - http> Invoking callback
2019-04-08 12:46:28 [ 3312] ERROR lua_plugin::lua_source_node - Failed to parse JSON!: json.lua:379: Unexpected character at Line 1 character 1: O (79) when reading object ({ or [ or ' or " or number or boolean or null expected)
Context:
Oops - Server error
^
2019-04-08 12:46:28 [ 3312] ERROR lua_plugin::lua_source_node - Request failed!: 400 - Bad Request The query "/ PrismGateway / services / rest / v1 / vms" is processed correctly if run from Insomnia. What advise you to do next, how to determine on what the script stumbles?

 

Labels (1)
0 Likes
3 Replies
Lieutenant Commander Lieutenant Commander
Lieutenant Commander

Hello, did you fix it?
0 Likes
Cadet 1st Class Cadet 1st Class
Cadet 1st Class

No, we wrote our own integration.

Lieutenant Commander Lieutenant Commander
Lieutenant Commander


Oh... I have some doubt hoping you can help me, please.

Were you able to get events, metrics and topology?
The way you integrated was via XML or Web Service requests?

Thanks for your value support.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.