Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
LeoPhat opened this issue Jan 26, 2021 · 2 comments

Comments

@LeoPhat
Copy link

LeoPhat commented Jan 26, 2021

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

@sahithi
Copy link
Collaborator

sahithi commented Jan 26, 2021

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
Copy link
Collaborator

sahithi commented Jan 26, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants