IBM / ibm-object-csi-driver

Object storage plugin for IBM satellite
Apache License 2.0
3 stars 8 forks source link

Log fuse mount error #112

Closed ambiknai closed 5 months ago

ambiknai commented 5 months ago

Describe your changes

When there is any error while mounting bucket, logs shows only exit status. Reason for failure is not printed which makes it difficult to debug.

E0509 06:43:14.320134       1 server.go:158] GRPC error: fuseMount: cmd wait failed: <s3fs>
args: <[bha-test-m9 /var/data/kubelet/pods/3a8b6b40-df9f-487b-bd52-d43706bb2e12/volumes/kubernetes.io~csi/pvc-fd591a44-ec22-402b-9333-e0bba0b911c0/mount -o sigv2 -o use_path_request_style -o passwd_file=/var/lib/ibmc-s3fs/6ef3bbf5abef020239f77de54d8bf5f20d64d50daebfd14a64486d3da96570ff/.passwd-s3fs -o url=https://s3.direct.jp-osa.cloud-object-storage.appdomain.cloud/ -o endpoint=jp-osa-standard -o allow_other -o mp_umask=002 -o retries=5 -o kernel_cache -o upload_concurrency=30 -o low_level_retries=3 -o multipart_size=62 -o max_dirty_data=51200 -o parallel_count=8 -o max_stat_cache_size=100000 -o default_acl=private]>
error: <exit status 1>

After code change

  Warning  FailedMount  6s  kubelet  MountVolume.SetUp failed for volume "pvc-cb507f72-f113-4679-85d4-81e8cc295918" : rpc error: code = Unknown desc = fuseMount: cmd start failed: <s3fs>
args: <[bha-test-m9 /var/data/kubelet/pods/0c4c4327-ef5f-4bc8-8d8e-09bb9ef9afc6/volumes/kubernetes.io~csi/pvc-cb507f72-f113-4679-85d4-81e8cc295918/mount -o sigv2 -o use_path_request_style -o passwd_file=/var/lib/ibmc-s3fs/bf3deb8f76edabc08fd488387ba0fe24edb09ef1498deede6f3a6ae85454db27/.passwd-s3fs -o url=https://s3.direct.jp-osa.cloud-object-storage.appdomain.cloud -o endpoint=jp-osa-standard -o allow_other -o mp_umask=002 -o upload_concurrency=30 -o low_level_retries=3 -o multipart_size=62 -o max_dirty_data=51200 -o parallel_count=8 -o max_stat_cache_size=100000 -o retries=5 -o kernel_cache -o default_acl=private]>
error: <fuse: unknown option `upload_concurrency=30'
>

Issue ticket number and link

Checklist before requesting a review