-
Notifications
You must be signed in to change notification settings - Fork 203
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
[BUG] redis cluster create error shardings.shard.phase Unsupported value: Abnormal #8941
Comments
roleProbe send event failed because Unauthorized, so pod has no role, and component & cluster status failed
|
serviceAccount has been unexpected deleted. Under the latest implementation, ServiceAccounts and RoleBindings should be at the engine-cmpd level and should not be associated with any specific cluster. However, currently the labels on the ServiceAccounts and RoleBindings are linked to a non-existent cluster, which may be the reason why ServiceAccounts are being unexpectedly deleted. |
I can't reproduce this problem locally. I'll look into it if such problem happen again. |
I think maybe this is because of a stale read. Suppose the following scenario:
I think it's fine to just remove the finalizer, since the function of a finalizer is to clean up resources the deleted object owned. But a SA doesn't own any other resource. EDIT: if we remove the finalizer, there's still a chance that an ownership would be assigned to a deleted component, causing serviceaccount to recreate. In such cases, pod will still use old sa tokens until it expires. |
Describe the bug
To Reproduce
Steps to reproduce the behavior:
describe cluster
logs kubeblocks
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: