container-service-extension icon indicating copy to clipboard operation
container-service-extension copied to clipboard

Could not query cluster info when cluster in SUSPENDED status : The remote server returned an error: (500) Internal Server Error.

Open LeoPhat opened this issue 3 years ago • 2 comments

Hi all, I couldn't query the cluster info in SUSPENDED status to delete it (CSE 3.0.1). The detail error is below. How could I solve this issue? Thank you for your support. Br, Phat

Cluster status is SUSPENDED 1

Cluster status is POWER_ON 2

LeoPhat avatar Jan 26 '21 08:01 LeoPhat

Hi LeoPhat,

Looks like a bug.

It seems NFS node is down and CSE server failed to execute a script on NFS node to get the list of exports. I looked at the code and we are safely catching the exception. Not sure, how it resulted in 500?

Can you please share the stack trace from cse_server_debug.log?

sahithi avatar Jan 26 '21 19:01 sahithi

By the way, you could still attempt to delete the cluster and it should go through.

If the deletion fails for any reason, use this workaround listed on the Known issues page

Workaround:

  1. Delete the defined entity

POST https:///cloudapi/1.0.0/entities//resolve DEL https:///cloudapi/1.0.0/entities/

  1. Delete the cluster vApp.

Retrieve the vApp ID. vApp Id is same as the externalID value in the corresponding defined entity GET https:///cloudapi/1.0.0/entities/ Delete the corresponding cluster vApp

sahithi avatar Jan 26 '21 19:01 sahithi