API v3 error 500 after PC reinstallation | Nutanix Community
Skip to main content
Solved

API v3 error 500 after PC reinstallation

  • September 8, 2020
  • 3 replies
  • 1873 views

Piero
Forum|alt.badge.img+2
  • Trailblazer
  • 14 replies

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
 

 

Best answer by rahul.khandalkar

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

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

3 replies

Forum|alt.badge.img+3

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


Forum|alt.badge.img+3

Piero
Forum|alt.badge.img+2
  • Author
  • Trailblazer
  • 14 replies
  • September 11, 2020
rahul.khandalkar wrote:

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