Closed mreiche closed 1 month ago
I've upgraded to Trident v23.04 via helm and got the following error in the trident-controller pod in main container:
trident-controller
main
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.
tridentctl
setentforce permissive
/var/lib/kubelet/pods/<pod-uuid>/volumes/kubernetes.io~empty-dir/socket-dir
trident-csi-node
Error creating: pods "trident-csi-" is forbidden: unable to validate against any security context constraint.
trident-node-linux
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
tridentctl install -n trident
This fix is in the 24.06 release: https://github.com/NetApp/trident/commit/9e0bc85a417fbcbe428a8561d67c3cc22e0b6753
I've upgraded to Trident v23.04 via helm and got the following error in the
trident-controller
pod inmain
container: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
setentforce permissive
/var/lib/kubelet/pods/<pod-uuid>/volumes/kubernetes.io~empty-dir/socket-dir
on the nodeDowngrade
trident-csi-node
wasn't running anymore:Another chance
Solution
trident-node-linux
andtrident-controller
from a working clusterUpgrade
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
tridentctl install -n trident