NetApp / trident

Storage orchestrator for containers
Apache License 2.0
762 stars 222 forks source link

trident-controller main won't start with `chmod /plugin/: operation not permitted` #843

Closed mreiche closed 1 month ago

mreiche commented 1 year ago

I've upgraded to Trident v23.04 via helm and got the following error in the trident-controller pod in main container:

chmod /plugin/: operation not permitted

leaving the pod in CrashLoopBackOff.

The article [1] says it may be related to the helm chart and I should install via tridentctl.

First try

Trial and Error

Downgrade

Solution

Upgrade

Helm Upgrade

Possible reason

References

[1] https://kb.netapp.com/Cloud/Astra/Trident/Upgrade_of_Trident_fails_pod_communications_with_plug-in_dir_chmod_error [2] https://kb.netapp.com/Cloud/Astra/Trident/The_trident-csi_pods_are_not_rebuilt%2C_erroring_on_security_constraints_in_Openshift

Environment

torirevilla commented 1 month ago

This fix is in the 24.06 release: https://github.com/NetApp/trident/commit/9e0bc85a417fbcbe428a8561d67c3cc22e0b6753