Replies: 3 comments
-
adding here log from dataset-operator during the dataset provisioning. .7109429499856966e+09 INFO controller_datasetinternal All good, proceed {"Request.Namespace": "dmitryp", "Request.Name": "s3-jfile"} |
Beta Was this translation helpful? Give feedback.
-
can be closed. worked as expected after another test |
Beta Was this translation helpful? Give feedback.
-
@karapuz50 apologies on missing out on this question. Was there anything you changed to make it work, or was it just a retry of the same test ? Your logs don't show any errors, so I am curious how the issue was resolved. (Please open an issue, if you come across more problems, as we don't look at the Discussion section for now) |
Beta Was this translation helpful? Give feedback.
-
Hi
I'm running with datashim-charts-0.4.0 and trying to define a volume as a folder from specific S3 bucket.
dataset object is:
Name: s3-jfile
Namespace: dmitryp
Labels:
Annotations: API Version: datashim.io/v1alpha1
Kind: Dataset
Metadata:
Creation Timestamp: 2024-03-20T08:15:14Z
Generation: 1
< truncated>
Manager: manager
Operation: Update
Subresource: status
Time: 2024-03-20T08:15:19Z
Resource Version: 61384766
UID: f2f9970f-92a9-41eb-af26-8904c85e3b70
Spec:
Local:
Bucket: jfile-eks-devops-us-east-2/jfile
Endpoint: https://s3.us-east-1.amazonaws.com
Provision: true
Readonly: false
Region: us-east-1
Secret - Name: s3secret
Secret - Namespace: dmitryp
Type: COS
Status:
Caching:
Info: No DLF caching plugins are installed
Status: Disabled
Provision:
Status: OK
Events:
Here is the log from csi-s3 DS running on the node where volume was mounted:
0320 08:24:48.044063 1 nodeserver.go:75] target /var/lib/kubelet/pods/43464474-fdab-480c-bdab-0764b7b89568/volumes/kubernetes.io
csi/pvc-1eac2e9a-7070-42df-825e-d2013e80e5e5/mountcsi/pvc-1eac2e9a-7070-42df-825e-d2013e80e5e5/mount]device
readonly false
volumeId pvc-1eac2e9a-7070-42df-825e-d2013e80e5e5
attributes map[mounter:goofys storage.kubernetes.io/csiProvisionerIdentity:1710922176654-8081-ch.ctrox.csi.s3-driver]
mountflags []
I0320 08:24:48.044179 1 mounter_goofys.go:26] Mounting using goofys volume pvc-1eac2e9a-7070-42df-825e-d2013e80e5e5
I0320 08:24:48.044191 1 mounter_goofys.go:53] Mounting using goofys!
I0320 08:24:48.044241 1 mounter.go:56] Mounting fuse with command: goofys and args: [--endpoint=https://s3.us-east-1.amazonaws.com --type-cache-ttl 1s --stat-cache-ttl 1s --dir-mode 0777 --file-mode 0777 --http-timeout 5m -o allow_other --profile=pvc-1eac2e9a-7070-42df-825e-d2013e80e5e5 --region us-east-1 jfile-eks-devops-us-east-2 /var/lib/kubelet/pods/43464474-fdab-480c-bdab-0764b7b89568/volumes/kubernetes.io
I0320 08:24:49.105045 1 nodeserver.go:144] s3: bucket jfile-eks-devops-us-east-2 successfuly mounted to /var/lib/kubelet/pods/43464474-fdab-480c-bdab-0764b7b89568/volumes/kubernetes.io~csi/pvc-1eac2e9a-7070-42df-825e-d2013e80e5e5/mount
I0320 08:25:35.801875 1 utils.go:97] GRPC call: /csi.v1.Node/NodeGetCapabilities
I0320 08:25:44.519060 1 utils.go:97] GRPC call: /csi.v1.Node/NodeGetCapabilities
here is screenshot of the s3 bucket's content:
as you see there is no folder 'jfile' inside and all files are created in the root of the bucket.
What I'm doing wrong? Please help.
Dmitry
Beta Was this translation helpful? Give feedback.
All reactions