Skip to content

Pvc Error 'Cannot set property ExecStopPost, or unknown property' #69

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
GalaSlE opened this issue Aug 23, 2023 · 4 comments
Open

Pvc Error 'Cannot set property ExecStopPost, or unknown property' #69

GalaSlE opened this issue Aug 23, 2023 · 4 comments

Comments

@GalaSlE
Copy link

GalaSlE commented Aug 23, 2023

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.

@vitalif
Copy link
Collaborator

vitalif commented Aug 29, 2023

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...

@0xHigos
Copy link

0xHigos commented Dec 14, 2023

Hello @vitalif do you have any plan to fix this issue?

@LuoYY
Copy link

LuoYY commented Jan 10, 2024

@vitalif it's still error when update with master fixed code
Cannot set property StopPost, or unknown property.

@jinjianming
Copy link

@vitalif用主修复代码更新时仍然错误 Cannot set property StopPost, or unknown property.

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants