k8s-csi-s3
k8s-csi-s3 copied to clipboard
Pvc Error 'Cannot set property ExecStopPost, or unknown property'
When following the tutorial to Create a test pod which mounts my volume, pod stuck at the ContainerCreating status and
run kubectl logs -l app=csi-s3 -c csi-s3
got logs as below
I0823 07:18:58.868856 1 utils.go:97] GRPC call: /csi.v1.Node/NodeGetCapabilities
I0823 07:18:58.871259 1 utils.go:97] GRPC call: /csi.v1.Node/NodeGetCapabilities
I0823 07:18:58.871626 1 utils.go:97] GRPC call: /csi.v1.Node/NodeGetCapabilities
I0823 07:18:58.872031 1 utils.go:97] GRPC call: /csi.v1.Node/NodeStageVolume
I0823 07:18:58.873757 1 geesefs.go:150] Starting geesefs using systemd: /var/lib/kubelet/plugins/ru.yandex.s3.csi/geesefs -f -o allow_other --endpoint http://192.168.80.80:9000 --setuid 65534 --setgid 65534 --memory-limit 1000 --dir-mode 0777 --file-mode 0666 persistent-storage:pvc-62a54ef5-3ef6-42e8-9786-009600435302 /var/lib/kubelet/plugins/kubernetes.io/csi/ru.yandex.s3.csi/3c9ab471f9539ae64ab85831ce0cd5457c795efa42a6458cc5815a28a73b34d1/globalmount
E0823 07:18:58.875577 1 utils.go:101] GRPC error: Error starting systemd unit geesefs-persistent_2dstorage_2fpvc_2d62a54ef5_2d3ef6_2d42e8_2d9786_2d009600435302.service on host: Cannot set property ExecStopPost, or unknown property.
The StorageClass is bound and I can see a new bucket has been create from Minio UI.
systemctl --version
systemd 219
+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 -SECCOMP +BLKID +ELFUTILS +KMOD +IDN
Please help.
Same as #56. I looked at systemd code and it seems this property was renamed from StopPost to ExecStopPost in systemd v237. So current csi-s3 seems to work correctly only with systemd >= 237... I'll make a fix and I'll also try to make a version with a different "external mounting" method based on starting geesefs in separate pods...
Hello @vitalif do you have any plan to fix this issue?
@vitalif it's still error when update with master fixed code
Cannot set property StopPost, or unknown property.
@vitalif用主修复代码更新时仍然错误
Cannot set property StopPost, or unknown property.
+1