Skip to content

add mountpoint mounter #139

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
wants to merge 5 commits into
base: aws-s3mount
Choose a base branch
from
Open

add mountpoint mounter #139

wants to merge 5 commits into from

Conversation

minbaev
Copy link
Member

@minbaev minbaev commented Aug 31, 2024

Describe your changes

Issue ticket number and link

Checklist before requesting a review

  • I have performed a self-review of my code
  • If it is a core feature, I have added thorough tests.
  • I have made sure existing UTs are not impacted
  • I have executed all necessary linter and made sure internal pipeline/travis is not broken

Copy link
Member

@nkkashyap nkkashyap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code change looks good.
Please add unit tests

@Bhagyashreek8
Copy link
Collaborator

@minbaev Could you please add test results with the new mounter.

@Bhagyashreek8
Copy link
Collaborator

Adding on behalf of @minbaev the test results

~/ibm-object-csi-driver/pkg/mounter$ go test
I0910 04:42:48.737160   61553 mounter-mountpoint.go:38] -newMountpointMounter-
I0910 04:42:48.737201   61553 mounter-mountpoint.go:64] newMntS3Mounter args:
	bucketName: [test-bucket-name]
	objPath: [test-obj-path]
	endPoint: [test-endpoint]
I0910 04:42:48.737233   61553 mounter-mountpoint.go:38] -newMountpointMounter-
I0910 04:42:48.737238   61553 mounter-mountpoint.go:64] newMntS3Mounter args:
	bucketName: [test-bucket-name]
	objPath: [test-obj-path]
	endPoint: [test-endpoint]
I0910 04:42:48.737269   61553 mounter-mountpoint.go:38] -newMountpointMounter-
I0910 04:42:48.737277   61553 mounter-mountpoint.go:64] newMntS3Mounter args:
	bucketName: [test-bucket-name]
	objPath: [test-obj-path]
	endPoint: [test-endpoint]
I0910 04:42:48.737300   61553 mounter-mountpoint.go:38] -newMountpointMounter-
I0910 04:42:48.737305   61553 mounter-mountpoint.go:64] newMntS3Mounter args:
	bucketName: [test-bucket-name]
	objPath: [test-obj-path]
	endPoint: [test-endpoint]
I0910 04:42:48.737321   61553 mounter-mountpoint.go:85] -MountpointMounter Mount-
I0910 04:42:48.737328   61553 mounter-mountpoint.go:86] Mount args:
	source: <source>
	target: </tmp/test-mount>
I0910 04:42:48.737374   61553 mounter-mountpoint.go:38] -newMountpointMounter-
I0910 04:42:48.737380   61553 mounter-mountpoint.go:64] newMntS3Mounter args:
	bucketName: [test-bucket-name]
	objPath: []
	endPoint: [test-endpoint]
I0910 04:42:48.737386   61553 mounter-mountpoint.go:85] -MountpointMounter Mount-
I0910 04:42:48.737390   61553 mounter-mountpoint.go:86] Mount args:
	source: <source>
	target: </tmp/test-mount>
I0910 04:42:48.737413   61553 mounter-mountpoint.go:38] -newMountpointMounter-
I0910 04:42:48.737419   61553 mounter-mountpoint.go:64] newMntS3Mounter args:
	bucketName: [test-bucket-name]
	objPath: [test-obj-path]
	endPoint: [test-endpoint]
I0910 04:42:48.737424   61553 mounter-mountpoint.go:85] -MountpointMounter Mount-
I0910 04:42:48.737428   61553 mounter-mountpoint.go:86] Mount args:
	source: <source>
	target: </tmp/test-mount>
E0910 04:42:48.737438   61553 mounter-mountpoint.go:99] MountpointMounter Mount: Cannot create directory /var/lib/ibmc-mntS3/10d878e96c06bc5308c8eb255cda9880f1260676dac3c5f2c4be71075f7842b6: error creating mount path
I0910 04:42:48.737453   61553 mounter-mountpoint.go:38] -newMountpointMounter-
I0910 04:42:48.737458   61553 mounter-mountpoint.go:64] newMntS3Mounter args:
	bucketName: [test-bucket-name]
	objPath: [test-obj-path]
	endPoint: [test-endpoint]
I0910 04:42:48.737464   61553 mounter-mountpoint.go:85] -MountpointMounter Mount-
I0910 04:42:48.737468   61553 mounter-mountpoint.go:86] Mount args:
	source: <source>
	target: </tmp/test-mount>
I0910 04:42:48.737491   61553 mounter-mountpoint.go:38] -newMountpointMounter-
I0910 04:42:48.737496   61553 mounter-mountpoint.go:64] newMntS3Mounter args:
	bucketName: [test-bucket-name]
	objPath: [test-obj-path]
	endPoint: [test-endpoint]
I0910 04:42:48.737559   61553 mounter-mountpoint.go:119] -MountpointMounter Unmount-
I0910 04:42:48.737621   61553 mounter-mountpoint.go:38] -newMountpointMounter-
I0910 04:42:48.737627   61553 mounter-mountpoint.go:64] newMntS3Mounter args:
	bucketName: [test-bucket-name]
	objPath: [test-obj-path]
	endPoint: [test-endpoint]
I0910 04:42:48.737680   61553 mounter-mountpoint.go:119] -MountpointMounter Unmount-
I0910 04:42:48.737736   61553 mounter-rclone.go:164] Updated Options: [additional_option=value3 option1=value1 option2=value2]
I0910 04:42:48.737785   61553 mounter-rclone.go:54] -newRcloneMounter-
I0910 04:42:48.737792   61553 mounter-rclone.go:113] newRcloneMounter args:
	bucketName: [test-bucket-name]
	objPath: [test-obj-path]
	endPoint: [test-endpoint]
	locationConstraint: [test-loc-constraint]
	authType: [hmac]
I0910 04:42:48.737801   61553 mounter-rclone.go:138] No new mountOptions found. Using default mountOptions: [opt1=val1 opt2=val2]
I0910 04:42:48.737829   61553 mounter-rclone.go:54] -newRcloneMounter-
I0910 04:42:48.737835   61553 mounter-rclone.go:113] newRcloneMounter args:
	bucketName: [test-bucket-name]
	objPath: [test-obj-path]
	endPoint: [test-endpoint]
	locationConstraint: [test-loc-constraint]
	authType: [hmac]
I0910 04:42:48.737844   61553 mounter-rclone.go:138] No new mountOptions found. Using default mountOptions: [opt1=val1 opt2=val2]
I0910 04:42:48.737876   61553 mounter-rclone.go:54] -newRcloneMounter-
I0910 04:42:48.737882   61553 mounter-rclone.go:113] newRcloneMounter args:
	bucketName: [test-bucket-name]
	objPath: [test-obj-path]
	endPoint: [test-endpoint]
	locationConstraint: [test-loc-constraint]
	authType: [hmac]
I0910 04:42:48.737891   61553 mounter-rclone.go:138] No new mountOptions found. Using default mountOptions: [opt1=val1 opt2=val2]
I0910 04:42:48.737917   61553 mounter-rclone.go:54] -newRcloneMounter-
I0910 04:42:48.737923   61553 mounter-rclone.go:113] newRcloneMounter args:
	bucketName: [test-bucket-name]
	objPath: [test-obj-path]
	endPoint: [test-endpoint]
	locationConstraint: [test-loc-constraint]
	authType: [hmac]
I0910 04:42:48.737933   61553 mounter-rclone.go:151] Invalid mount option: upload_concurrency
I0910 04:42:48.737939   61553 mounter-rclone.go:164] Updated Options: [opt1=val1 opt2=val2]
I0910 04:42:48.737963   61553 mounter-rclone.go:54] -newRcloneMounter-
I0910 04:42:48.737969   61553 mounter-rclone.go:113] newRcloneMounter args:
	bucketName: [test-bucket-name]
	objPath: [test-obj-path]
	endPoint: [test-endpoint]
	locationConstraint: [test-loc-constraint]
	authType: [hmac]
I0910 04:42:48.737979   61553 mounter-rclone.go:138] No new mountOptions found. Using default mountOptions: [opt1=val1 opt2=val2]
I0910 04:42:48.738001   61553 mounter-rclone.go:170] -RcloneMounter Mount-
I0910 04:42:48.738005   61553 mounter-rclone.go:171] Mount args:
	source: <source>
	target: </tmp/test-mount>
I0910 04:42:48.738048   61553 mounter-rclone.go:54] -newRcloneMounter-
I0910 04:42:48.738055   61553 mounter-rclone.go:113] newRcloneMounter args:
	bucketName: [test-bucket-name]
	objPath: []
	endPoint: [test-endpoint]
	locationConstraint: [test-loc-constraint]
	authType: [hmac]
I0910 04:42:48.738063   61553 mounter-rclone.go:138] No new mountOptions found. Using default mountOptions: [opt1=val1 opt2=val2]
I0910 04:42:48.738073   61553 mounter-rclone.go:170] -RcloneMounter Mount-
I0910 04:42:48.738077   61553 mounter-rclone.go:171] Mount args:
	source: <source>
	target: </tmp/test-mount>
I0910 04:42:48.738106   61553 mounter-rclone.go:54] -newRcloneMounter-
I0910 04:42:48.738112   61553 mounter-rclone.go:113] newRcloneMounter args:
	bucketName: [test-bucket-name]
	objPath: [test-obj-path]
	endPoint: [test-endpoint]
	locationConstraint: [test-loc-constraint]
	authType: [hmac]
I0910 04:42:48.738120   61553 mounter-rclone.go:138] No new mountOptions found. Using default mountOptions: [opt1=val1 opt2=val2]
I0910 04:42:48.738129   61553 mounter-rclone.go:170] -RcloneMounter Mount-
I0910 04:42:48.738133   61553 mounter-rclone.go:171] Mount args:
	source: <source>
	target: </tmp/test-mount>
E0910 04:42:48.738143   61553 mounter-rclone.go:185] RcloneMounter Mount: Cannot create directory /var/lib/ibmc-rclone/10d878e96c06bc5308c8eb255cda9880f1260676dac3c5f2c4be71075f7842b6: error creating mount path
I0910 04:42:48.738160   61553 mounter-rclone.go:54] -newRcloneMounter-
I0910 04:42:48.738166   61553 mounter-rclone.go:113] newRcloneMounter args:
	bucketName: [test-bucket-name]
	objPath: [test-obj-path]
	endPoint: [test-endpoint]
	locationConstraint: [test-loc-constraint]
	authType: [hmac]
I0910 04:42:48.738174   61553 mounter-rclone.go:138] No new mountOptions found. Using default mountOptions: [opt1=val1 opt2=val2]
I0910 04:42:48.738183   61553 mounter-rclone.go:170] -RcloneMounter Mount-
I0910 04:42:48.738187   61553 mounter-rclone.go:171] Mount args:
	source: <source>
	target: </tmp/test-mount>
E0910 04:42:48.738197   61553 mounter-rclone.go:192] RcloneMounter Mount: Cannot create rclone config file error creating ConfigFile
I0910 04:42:48.738214   61553 mounter-rclone.go:54] -newRcloneMounter-
I0910 04:42:48.738219   61553 mounter-rclone.go:113] newRcloneMounter args:
	bucketName: [test-bucket-name]
	objPath: [test-obj-path]
	endPoint: [test-endpoint]
	locationConstraint: [test-loc-constraint]
	authType: [hmac]
I0910 04:42:48.738229   61553 mounter-rclone.go:138] No new mountOptions found. Using default mountOptions: [opt1=val1 opt2=val2]
I0910 04:42:48.738238   61553 mounter-rclone.go:170] -RcloneMounter Mount-
I0910 04:42:48.738241   61553 mounter-rclone.go:171] Mount args:
	source: <source>
	target: </tmp/test-mount>
I0910 04:42:48.738272   61553 mounter-rclone.go:54] -newRcloneMounter-
I0910 04:42:48.738278   61553 mounter-rclone.go:113] newRcloneMounter args:
	bucketName: [test-bucket-name]
	objPath: [test-obj-path]
	endPoint: [test-endpoint]
	locationConstraint: [test-loc-constraint]
	authType: [hmac]
I0910 04:42:48.738288   61553 mounter-rclone.go:138] No new mountOptions found. Using default mountOptions: [mountOption1 mountOption2]
I0910 04:42:48.738330   61553 mounter-rclone.go:223] -RcloneMounter Unmount-
I0910 04:42:48.738379   61553 mounter-rclone.go:54] -newRcloneMounter-
I0910 04:42:48.738385   61553 mounter-rclone.go:113] newRcloneMounter args:
	bucketName: [test-bucket-name]
	objPath: [test-obj-path]
	endPoint: [test-endpoint]
	locationConstraint: [test-loc-constraint]
	authType: [hmac]
I0910 04:42:48.738409   61553 mounter-rclone.go:138] No new mountOptions found. Using default mountOptions: [mountOption1 mountOption2]
I0910 04:42:48.738453   61553 mounter-rclone.go:223] -RcloneMounter Unmount-
I0910 04:42:48.738510   61553 mounter-rclone.go:164] Updated Options: [option1=value1 option2=value2 additional_option=value3]
I0910 04:42:48.738561   61553 mounter-s3fs.go:46] -newS3fsMounter-
I0910 04:42:48.738572   61553 mounter-s3fs.go:92] newS3fsMounter args:
	bucketName: [test-bucket-name]
	objPath: [test-obj-path]
	endPoint: [test-endpoint]
	locationConstraint: [test-loc-constraint]
	authType: [iam]
	kpRootKeyCrn: [test-kp-root-key-crn]
I0910 04:42:48.738589   61553 mounter-s3fs.go:218] No new mountOptions found. Using default mountOptions: map[opt1:val1 opt2:val2]
I0910 04:42:48.738605   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [opt1=val1]
I0910 04:42:48.738609   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [opt2=val2]
I0910 04:42:48.738614   61553 mounter-s3fs.go:260] S3fsMounter Options: [opt1=val1 opt2=val2]
I0910 04:42:48.738635   61553 mounter-s3fs.go:46] -newS3fsMounter-
I0910 04:42:48.738641   61553 mounter-s3fs.go:92] newS3fsMounter args:
	bucketName: [test-bucket-name]
	objPath: [test-obj-path]
	endPoint: [test-endpoint]
	locationConstraint: [test-loc-constraint]
	authType: [hmac]
	kpRootKeyCrn: [test-kp-root-key-crn]
I0910 04:42:48.738652   61553 mounter-s3fs.go:218] No new mountOptions found. Using default mountOptions: map[opt1:val1 opt2:val2]
I0910 04:42:48.738666   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [opt1=val1]
I0910 04:42:48.738670   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [opt2=val2]
I0910 04:42:48.738675   61553 mounter-s3fs.go:260] S3fsMounter Options: [opt1=val1 opt2=val2]
I0910 04:42:48.738695   61553 mounter-s3fs.go:46] -newS3fsMounter-
I0910 04:42:48.738700   61553 mounter-s3fs.go:92] newS3fsMounter args:
	bucketName: [test-bucket-name]
	objPath: [test-obj-path]
	endPoint: [test-endpoint]
	locationConstraint: [test-loc-constraint]
	authType: [iam]
	kpRootKeyCrn: [test-kp-root-key-crn]
I0910 04:42:48.738712   61553 mounter-s3fs.go:218] No new mountOptions found. Using default mountOptions: map[opt1:val1 opt2:val2]
I0910 04:42:48.738724   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [opt1=val1]
I0910 04:42:48.738729   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [opt2=val2]
I0910 04:42:48.738734   61553 mounter-s3fs.go:260] S3fsMounter Options: [opt1=val1 opt2=val2]
I0910 04:42:48.738741   61553 mounter-s3fs.go:104] -S3FSMounter Mount-
I0910 04:42:48.738745   61553 mounter-s3fs.go:105] Mount args:
	source: <source>
	target: </tmp/test-mount>
I0910 04:42:48.738775   61553 mounter-s3fs.go:46] -newS3fsMounter-
I0910 04:42:48.738781   61553 mounter-s3fs.go:92] newS3fsMounter args:
	bucketName: [test-bucket-name]
	objPath: [test-obj-path]
	endPoint: [test-endpoint]
	locationConstraint: [test-loc-constraint]
	authType: [hmac]
	kpRootKeyCrn: [test-kp-root-key-crn]
I0910 04:42:48.738793   61553 mounter-s3fs.go:218] No new mountOptions found. Using default mountOptions: map[opt1:val1 opt2:val2]
I0910 04:42:48.738806   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [opt1=val1]
I0910 04:42:48.738810   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [opt2=val2]
I0910 04:42:48.738815   61553 mounter-s3fs.go:260] S3fsMounter Options: [opt1=val1 opt2=val2]
I0910 04:42:48.738820   61553 mounter-s3fs.go:104] -S3FSMounter Mount-
I0910 04:42:48.738824   61553 mounter-s3fs.go:105] Mount args:
	source: <source>
	target: </tmp/test-mount>
I0910 04:42:48.738860   61553 mounter-s3fs.go:46] -newS3fsMounter-
I0910 04:42:48.738866   61553 mounter-s3fs.go:92] newS3fsMounter args:
	bucketName: [test-bucket-name]
	objPath: []
	endPoint: [test-endpoint]
	locationConstraint: [test-loc-constraint]
	authType: [iam]
	kpRootKeyCrn: [test-kp-root-key-crn]
I0910 04:42:48.738877   61553 mounter-s3fs.go:218] No new mountOptions found. Using default mountOptions: map[opt1:val1 opt2:val2]
I0910 04:42:48.738889   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [opt1=val1]
I0910 04:42:48.738894   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [opt2=val2]
I0910 04:42:48.738904   61553 mounter-s3fs.go:260] S3fsMounter Options: [opt1=val1 opt2=val2]
I0910 04:42:48.738908   61553 mounter-s3fs.go:104] -S3FSMounter Mount-
I0910 04:42:48.738912   61553 mounter-s3fs.go:105] Mount args:
	source: <source>
	target: </tmp/test-mount>
I0910 04:42:48.738935   61553 mounter-s3fs.go:46] -newS3fsMounter-
I0910 04:42:48.738941   61553 mounter-s3fs.go:92] newS3fsMounter args:
	bucketName: [test-bucket-name]
	objPath: []
	endPoint: [test-endpoint]
	locationConstraint: [test-loc-constraint]
	authType: [iam]
	kpRootKeyCrn: [test-kp-root-key-crn]
I0910 04:42:48.738953   61553 mounter-s3fs.go:218] No new mountOptions found. Using default mountOptions: map[mountOption1:mountOption1 mountOption2:mountOption2]
I0910 04:42:48.738964   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [mountOption1]
I0910 04:42:48.738969   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [mountOption2]
I0910 04:42:48.738974   61553 mounter-s3fs.go:260] S3fsMounter Options: [mountOption1 mountOption2]
I0910 04:42:48.738978   61553 mounter-s3fs.go:104] -S3FSMounter Mount-
I0910 04:42:48.738982   61553 mounter-s3fs.go:105] Mount args:
	source: <source>
	target: </tmp/test-mount>
I0910 04:42:48.739013   61553 mounter-s3fs.go:46] -newS3fsMounter-
I0910 04:42:48.739019   61553 mounter-s3fs.go:92] newS3fsMounter args:
	bucketName: [test-bucket-name]
	objPath: []
	endPoint: [test-endpoint]
	locationConstraint: [test-loc-constraint]
	authType: [iam]
	kpRootKeyCrn: [test-kp-root-key-crn]
I0910 04:42:48.739031   61553 mounter-s3fs.go:218] No new mountOptions found. Using default mountOptions: map[opt1:val1 opt2:val2]
I0910 04:42:48.739043   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [opt1=val1]
I0910 04:42:48.739047   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [opt2=val2]
I0910 04:42:48.739051   61553 mounter-s3fs.go:260] S3fsMounter Options: [opt1=val1 opt2=val2]
I0910 04:42:48.739056   61553 mounter-s3fs.go:104] -S3FSMounter Mount-
I0910 04:42:48.739060   61553 mounter-s3fs.go:105] Mount args:
	source: <source>
	target: </tmp/test-mount>
E0910 04:42:48.739070   61553 mounter-s3fs.go:121] S3FSMounter Mount: Cannot create directory /var/lib/ibmc-s3fs/10d878e96c06bc5308c8eb255cda9880f1260676dac3c5f2c4be71075f7842b6: error creating mount path
I0910 04:42:48.739086   61553 mounter-s3fs.go:46] -newS3fsMounter-
I0910 04:42:48.739091   61553 mounter-s3fs.go:92] newS3fsMounter args:
	bucketName: [test-bucket-name]
	objPath: []
	endPoint: [test-endpoint]
	locationConstraint: [test-loc-constraint]
	authType: [iam]
	kpRootKeyCrn: [test-kp-root-key-crn]
I0910 04:42:48.739102   61553 mounter-s3fs.go:218] No new mountOptions found. Using default mountOptions: map[opt1:val1 opt2:val2]
I0910 04:42:48.739114   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [opt1=val1]
I0910 04:42:48.739119   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [opt2=val2]
I0910 04:42:48.739123   61553 mounter-s3fs.go:260] S3fsMounter Options: [opt1=val1 opt2=val2]
I0910 04:42:48.739127   61553 mounter-s3fs.go:104] -S3FSMounter Mount-
I0910 04:42:48.739131   61553 mounter-s3fs.go:105] Mount args:
	source: <source>
	target: </tmp/test-mount>
E0910 04:42:48.739141   61553 mounter-s3fs.go:128] S3FSMounter Mount: Cannot create file /var/lib/ibmc-s3fs/10d878e96c06bc5308c8eb255cda9880f1260676dac3c5f2c4be71075f7842b6/.passwd-s3fs: error creating PWFile
I0910 04:42:48.739169   61553 mounter-s3fs.go:46] -newS3fsMounter-
I0910 04:42:48.739175   61553 mounter-s3fs.go:92] newS3fsMounter args:
	bucketName: [test-bucket-name]
	objPath: []
	endPoint: [test-endpoint]
	locationConstraint: [test-loc-constraint]
	authType: [iam]
	kpRootKeyCrn: [test-kp-root-key-crn]
I0910 04:42:48.739186   61553 mounter-s3fs.go:218] No new mountOptions found. Using default mountOptions: map[opt1:val1 opt2:val2]
I0910 04:42:48.739202   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [opt1=val1]
I0910 04:42:48.739207   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [opt2=val2]
I0910 04:42:48.739212   61553 mounter-s3fs.go:260] S3fsMounter Options: [opt1=val1 opt2=val2]
I0910 04:42:48.739216   61553 mounter-s3fs.go:104] -S3FSMounter Mount-
I0910 04:42:48.739220   61553 mounter-s3fs.go:105] Mount args:
	source: <source>
	target: </tmp/test-mount>
I0910 04:42:48.739249   61553 mounter-s3fs.go:46] -newS3fsMounter-
I0910 04:42:48.739255   61553 mounter-s3fs.go:92] newS3fsMounter args:
	bucketName: [test-bucket-name]
	objPath: []
	endPoint: [test-endpoint]
	locationConstraint: [test-loc-constraint]
	authType: [iam]
	kpRootKeyCrn: [test-kp-root-key-crn]
I0910 04:42:48.739266   61553 mounter-s3fs.go:218] No new mountOptions found. Using default mountOptions: map[opt1:val1 opt2:val2]
I0910 04:42:48.739278   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [opt1=val1]
I0910 04:42:48.739282   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [opt2=val2]
I0910 04:42:48.739287   61553 mounter-s3fs.go:260] S3fsMounter Options: [opt1=val1 opt2=val2]
I0910 04:42:48.739323   61553 mounter-s3fs.go:172] -S3FSMounter Unmount-
I0910 04:42:48.739372   61553 mounter-s3fs.go:46] -newS3fsMounter-
I0910 04:42:48.739378   61553 mounter-s3fs.go:92] newS3fsMounter args:
	bucketName: [test-bucket-name]
	objPath: []
	endPoint: [test-endpoint]
	locationConstraint: [test-loc-constraint]
	authType: [iam]
	kpRootKeyCrn: [test-kp-root-key-crn]
I0910 04:42:48.739390   61553 mounter-s3fs.go:218] No new mountOptions found. Using default mountOptions: map[opt1:val1 opt2:val2]
I0910 04:42:48.748545   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [opt1=val1]
I0910 04:42:48.748553   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [opt2=val2]
I0910 04:42:48.748560   61553 mounter-s3fs.go:260] S3fsMounter Options: [opt1=val1 opt2=val2]
I0910 04:42:48.748611   61553 mounter-s3fs.go:172] -S3FSMounter Unmount-
I0910 04:42:48.748672   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [option2=value2]
I0910 04:42:48.748679   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [tmpdir=/tmp]
I0910 04:42:48.748683   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [use_cache=true]
I0910 04:42:48.748687   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [gid=1001]
I0910 04:42:48.748690   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [uid=1001]
I0910 04:42:48.748694   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [additional_option=value3]
I0910 04:42:48.748697   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [option1=value1]
I0910 04:42:48.748702   61553 mounter-s3fs.go:260] S3fsMounter Options: [option2=value2 tmpdir=/tmp use_cache=true gid=1001 uid=1001 additional_option=value3 option1=value1]
I0910 04:42:48.748743   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [tmpdir=/tmp]
I0910 04:42:48.748749   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [use_cache=true]
I0910 04:42:48.748754   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [gid=1001]
I0910 04:42:48.748758   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [uid=1001]
I0910 04:42:48.748763   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [additional_option=value3]
I0910 04:42:48.748772   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [option1=value1]
I0910 04:42:48.748777   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [option2=value2]
I0910 04:42:48.748781   61553 mounter-s3fs.go:260] S3fsMounter Options: [tmpdir=/tmp use_cache=true gid=1001 uid=1001 additional_option=value3 option1=value1 option2=value2]
I0910 04:42:48.748810   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [option1=value1]
I0910 04:42:48.748815   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [option2=value2]
I0910 04:42:48.748820   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [tmpdir=/tmp]
I0910 04:42:48.748824   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [use_cache=true]
I0910 04:42:48.748829   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [gid=1001]
I0910 04:42:48.748833   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [uid=1001]
I0910 04:42:48.748837   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [value3]
I0910 04:42:48.748842   61553 mounter-s3fs.go:260] S3fsMounter Options: [option1=value1 option2=value2 tmpdir=/tmp use_cache=true gid=1001 uid=1001 value3]
I0910 04:42:48.748868   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [option1=value1]
I0910 04:42:48.748873   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [option2=value2]
I0910 04:42:48.748877   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [tmpdir=/tmp]
I0910 04:42:48.748882   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [use_cache=true]
I0910 04:42:48.748887   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [gid=1001]
I0910 04:42:48.748891   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [uid=1001]
I0910 04:42:48.748896   61553 mounter-s3fs.go:260] S3fsMounter Options: [option1=value1 option2=value2 tmpdir=/tmp use_cache=true gid=1001 uid=1001]
I0910 04:42:48.748921   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [tmpdir=/tmp]
I0910 04:42:48.748926   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [use_cache=true]
I0910 04:42:48.748931   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [gid=1001]
I0910 04:42:48.748935   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [uid=1001]
I0910 04:42:48.748939   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [additional_option=value3]
I0910 04:42:48.748944   61553 mounter-s3fs.go:260] S3fsMounter Options: [tmpdir=/tmp use_cache=true gid=1001 uid=1001 additional_option=value3]
I0910 04:42:48.748978   61553 mounter-s3fs.go:232] Invalid mount option: additional=option=value3
I0910 04:42:48.748993   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [tmpdir=/tmp]
I0910 04:42:48.749001   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [use_cache=true]
I0910 04:42:48.749006   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [gid=1001]
I0910 04:42:48.749010   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [uid=1001]
I0910 04:42:48.749015   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [option1=value1]
I0910 04:42:48.749020   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [option2=value2]
I0910 04:42:48.749025   61553 mounter-s3fs.go:260] S3fsMounter Options: [tmpdir=/tmp use_cache=true gid=1001 uid=1001 option1=value1 option2=value2]
I0910 04:42:48.749086   61553 mounter.go:29] -NewMounter-
I0910 04:42:48.749091   61553 mounter-s3fs.go:46] -newS3fsMounter-
I0910 04:42:48.749098   61553 mounter-s3fs.go:92] newS3fsMounter args:
	bucketName: [test-bucket-name]
	objPath: [test-obj-path]
	endPoint: [test-endpoint]
	locationConstraint: [test-loc-constraint]
	authType: [iam]
	kpRootKeyCrn: [test-kp-root-key-crn]
I0910 04:42:48.749125   61553 mounter-s3fs.go:218] No new mountOptions found. Using default mountOptions: map[opt1:val1]
I0910 04:42:48.749147   61553 mounter-s3fs.go:257] newS3fsMounter mountOption: [opt1=val1]
I0910 04:42:48.749152   61553 mounter-s3fs.go:260] S3fsMounter Options: [opt1=val1]
I0910 04:42:48.749176   61553 mounter.go:29] -NewMounter-
I0910 04:42:48.749181   61553 mounter-rclone.go:54] -newRcloneMounter-
I0910 04:42:48.749187   61553 mounter-rclone.go:113] newRcloneMounter args:
	bucketName: [test-bucket-name]
	objPath: [test-obj-path]
	endPoint: [test-endpoint]
	locationConstraint: [test-loc-constraint]
	authType: [hmac]
I0910 04:42:48.749199   61553 mounter-rclone.go:138] No new mountOptions found. Using default mountOptions: [opt1=val1 opt2=val2]
I0910 04:42:48.749243   61553 mounter.go:29] -NewMounter-
I0910 04:42:48.749249   61553 mounter-mountpoint.go:38] -newMountpointMounter-
I0910 04:42:48.749255   61553 mounter-mountpoint.go:64] newMntS3Mounter args:
	bucketName: [test-bucket-name]
	objPath: [test-obj-path]
	endPoint: [test-endpoint]
I0910 04:42:48.749278   61553 mounter.go:29] -NewMounter-
I0910 04:42:48.749283   61553 mounter-s3fs.go:46] -newS3fsMounter-
I0910 04:42:48.749288   61553 mounter-s3fs.go:92] newS3fsMounter args:
	bucketName: [test-bucket-name]
	objPath: [test-obj-path]
	endPoint: [test-endpoint]
	locationConstraint: [test-loc-constraint]
	authType: [hmac]
	kpRootKeyCrn: [test-kp-root-key-crn]
I0910 04:42:48.749299   61553 mounter-s3fs.go:218] No new mountOptions found. Using default mountOptions: map[]
I0910 04:42:48.749304   61553 mounter-s3fs.go:260] S3fsMounter Options: []
PASS
ok  	github.com/IBM/ibm-object-csi-driver/pkg/mounter	0.015s

minbaev and others added 3 commits September 14, 2024 00:53
Signed-off-by: Alexander <[email protected]>
Signed-off-by: Alexander Minbaev <[email protected]>
Signed-off-by: Alexander Minbaev <[email protected]>
Signed-off-by: Alexander Minbaev <[email protected]>
@minbaev minbaev changed the base branch from main to aws-s3mount April 8, 2025 15:44
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

Successfully merging this pull request may close these issues.

3 participants