-
Notifications
You must be signed in to change notification settings - Fork 554
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
[RBAC] Helm Chart 3.10.0: csi-rbdplugin container enters CrashLoopBackoff with failed to get node error #4306
Comments
@remisauvat The linked pr should solve the issue. We'll include the fix in v3.10.1 soon. As a workaround, can you please add required clusterrole in provisioner rbac too ? |
The linked PR will not solve the issue because it only adds The provisioner service account is linked only to a Role which cannot I manually patched a clusterrole for the provisioner and also patched for #4297 and now it works. I am in a lab cluster so I will revert to v3.9.0 and wait for a chart version that can fix this. I am sorry I am not able to provide a PR for this. |
The latest commit in that pr moves the code to run only in nodeserver which will solve the issue. |
Oh I didn't get that. Then you are right it should solve the issue. Thank you |
Here is a single line command to fix the issue for now
#4302 will fix this. |
Describe the bug
Hello,
After upgrading the helm chart from 3.9.0 to 3.10.0, the container
csi-rbdplugin
crashes in a loop with a permissions error to fetch the nodes resources.This is probably related to changes from #4165, but the RBAC rules for the service account do not match the new requirement to fetch the nodes labels.
Environment details
fuse
orkernel
. for rbd itskrbd
orrbd-nbd
) :Steps to reproduce
Steps to reproduce the behavior:
rbac.create: true
is set in values.yamlActual results
Pod
csi-rbd-provisioner
is in CrashLoopBackup state due to failure incsi-rbdplugin
containerExpected behavior
The container and pod should not crash
Logs
csi-rbdplugin:
Additional context
I don't think it's the same issue as #4298. Setting
readAffinity.enabled
totrue
orfalse
doesn't change the issue.The text was updated successfully, but these errors were encountered: