Solved

API v3 error 500 after PC reinstallation

  • 8 September 2020
  • 3 replies
  • 281 views

Badge +1

Hello
after reinstalling Prism Central (PC) from v.5.16.1.3 to v5.17.1.1, using the procedure for unregistering PC

Unregistering cluster from PC
https://portal.nutanix.com/page/documents/details?targetId=Prism-Central-Guide-Prism-v5_5:mul-vcenter-server-unregister-pc-t.html

we have some strange issues:


- A PC REST API query return 2 available cluster (one for PE and one for PC, with different uuid on metadata)

It is normal for API 3.1?

 

- On Nutaniy API Explorer a simle query of vms "POST /vms/list"

With small payload for "get_entities_request"

{
"kind": "vm",
"length": 10,
"offset": 0
}

returns
 

{
"api_version": "3.1",
"code": 500,
"message_list": [
{
"message": "Internal Server Error. Failed to get schema for cluster 000597eb-aa13-1c72-0000-000000029cf0",
"reason": "INTERNAL_ERROR"
}
],
"state": "ERROR"
}


Where the displayed uuid is the correct PE cluster uuid.

This is a lab cluster, then we have just one culster with < 50 Vms

Any suggestion?

Thanks
 

 

icon

Best answer by rahul.khandalkar 10 September 2020, 23:41

Kindly whitelist the CVM and Virtual IP of the PE on Prism Central.

View original

This topic has been closed for comments

3 replies

Userlevel 1
Badge +2

Kindly whitelist the CVM and Virtual IP of the PE on Prism Central.

Userlevel 1
Badge +2

Also correct portal doc for 5.17.x

https://portal.nutanix.com/page/documents/details?targetId=Prism-Central-Guide-Prism-v5_17:mul-vcenter-server-unregister-pc-t.html

Badge +1

Kindly whitelist the CVM and Virtual IP of the PE on Prism Central.


Hi Rahul,
you got the point. I have one internal proxy and I forget to add items to whitelist when the PC was reinstalled! Now works fine.

Thanks a lot.

-Piero