Helm Chart 3.10.0: csi-rbdplugin
container enters CrashLoopBackoff
with invalid boolean value
error
#4297
Labels
bug
Something isn't working
component/deployment
Helm chart, kubernetes templates and configuration Issues/PRs
Describe the bug
Greetings! 👋
I recently tried upgrading my installations of the
ceph-csi-rbd
andceph-csi-cephfs
Helm charts from3.9.0
to3.10.0
. With the same configuration specified in thevalues.yaml
file, thecsi-rbdplugin
containers enter aCrashLoopBackoff
state with the following error in the logs:My quick examination of the code makes me think that this is related to the read affinity feature added in commit 7e26beb. I think the intent was for the default value to be set to
false
on this line but as it stands it's not set to anything and is getting coerced into an empty string or other non-boolean value.Interestingly, the
helm-install.sh
script choosestrue
as a default value during the installation according to this line.My workaround for now is to explicitly set
readAffinity.enabled
totrue
in myvalues.yaml
file, but my feeling is that the chart should have a correct boolean default set. 😄Environment details
3.10.0
3.10.0
5.15.138
fuse
orkernel
. for rbd itskrbd
orrbd-nbd
) :1.27.7
18.2.0
Steps to reproduce
Install the
3.10.0
charts with a minimalvalues.yaml
file:Ceph is deployed as part of Proxmox.
Actual results
csi-rbdplugin
container entersCrashLoopBackoff
with an error:invalid boolean value "" for -enable-read-affinity: parse error
Expected behavior
csi-rbdplugin
continues to work fine and not crash as usual. 😄Additional context
Explicitly setting a boolean value for
readAffinity.enabled
in myvalues.yaml
file works around the issue.The text was updated successfully, but these errors were encountered: