Thank you for your work on the flexvolume driver! I just wanted to take the time to share that it does not work with OpenShift Container Platform 4 and Red Hat CoreOS. Mainly because Python is not installed there.
The error looks as follows (in case someone Googles it)
$ oc describe pod <pod>
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled <unknown> default-scheduler Successfully assigned foo/cifs-app-1-h2kt8 to ocp4-tk9v5-worker-8c6fr
Warning FailedMount 9s (x6 over 25s) kubelet, ocp4-tk9v5-worker-8c6fr MountVolume.SetUp failed for volume "cifs" : invalid character '/' looking for beginning of value
There is an alternative script on GitHub that uses jq instead of Python and apparently works just fine on RHCOS.
Hi there,
Thank you for your work on the flexvolume driver! I just wanted to take the time to share that it does not work with OpenShift Container Platform 4 and Red Hat CoreOS. Mainly because Python is not installed there.
https://github.com/sabre1041/openshift-flexvolume-cifs/blob/62bd24be902bee56f818c5e5d96602756390b88e/flexvolume-driver/cifs#L14
The error looks as follows (in case someone Googles it)
There is an alternative script on GitHub that uses jq instead of Python and apparently works just fine on RHCOS.