You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/06/14 11:51:27 UTC
[GitHub] [cloudstack] saffronjam opened a new issue, #6456: Kubernetes cluster stuck in Stopping state
saffronjam opened a new issue, #6456:
URL: https://github.com/apache/cloudstack/issues/6456
##### ISSUE TYPE
* Bug Report
##### COMPONENT NAME
API
##### CLOUDSTACK VERSION
4.17.0 (cloud have occurred on 4.16.1)
##### CONFIGURATION
Single host running management server and database
##### OS / ENVIRONMENT
Ubuntu 20.04
##### SUMMARY
When attempting to delete a Kubernetes cluster, it gets stuck in Stopping state.

And every time a kubernetes-related API call is made, such as "deleteKubernetesCluster", error 530 appears

Investigating the cloudstack-management.service logs, there seem to be an unhandled null pointer exception when issuing some string operation (perhaps a toString() on a null reference). Looking into the source code, it appears to be the case.

##### STEPS TO REPRODUCE
Removing clusters was possible, but this time it appears as some reference was deleted in database, which nullified a field in a row in the table kubernetes_supported_version, or related table. Therefore, it would be hard to write steps to reproduce.
##### EXPECTED RESULTS
Friendlier error message, recoverable state. How can such a field become null?
##### ACTUAL RESULTS
Kubernetes clusters stuck in stopping state, refuses to be deleted, prompting multiple error code 530 messages
(every delete operation is ignored since a cluster cannot be deleted while in the stopping state)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] nvazquez closed issue #6456: Kubernetes cluster stuck in Stopping state
Posted by GitBox <gi...@apache.org>.
nvazquez closed issue #6456: Kubernetes cluster stuck in Stopping state
URL: https://github.com/apache/cloudstack/issues/6456
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] Pearl1594 commented on issue #6456: Kubernetes cluster stuck in Stopping state
Posted by GitBox <gi...@apache.org>.
Pearl1594 commented on issue #6456:
URL: https://github.com/apache/cloudstack/issues/6456#issuecomment-1155102145
@saffronjam is the Kubernetes binaries iso for the corresponding Kubernetes version available? Based on the NPE it appears that the iso for the Kubernetes version in question isn't available.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [cloudstack] saffronjam commented on issue #6456: Kubernetes cluster stuck in Stopping state
Posted by GitBox <gi...@apache.org>.
saffronjam commented on issue #6456:
URL: https://github.com/apache/cloudstack/issues/6456#issuecomment-1156122225
Thanks for the quick reply.
I think that was the case.
I resolved it by marking the entries in the database as removed.
You can close this issue :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org