curve icon indicating copy to clipboard operation
curve copied to clipboard

[curvefs]mds:improve check s3info when create fs

Open Cyber-SiKu opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)

Currently, curvefs will check whether the s3 information is available through headbuck when creating fs (s3 type). However, sometimes some s3 service providers will disable this interface for security reasons, resulting in failure to create fs. Please consider how to optimize the related experience.

Describe the solution you'd like (描述你期望的解决方法)

Describe alternatives you've considered (描述你想到的折衷方案)

Additional context/screenshots (更多上下文/截图)

Cyber-SiKu avatar Jun 29 '23 06:06 Cyber-SiKu

We can put the uuid or fsid object into bucket. And use headObject to check the filesystem instead of headbucket? If limitting one bucket for one filesystem, the object name can be "curvefs_fsid", If we want to keep the same behavior, we can use fsid as the object name. @Cyber-SiKu

201341 avatar Jun 30 '23 09:06 201341

@Cyber-SiKu

caoxianfei1 avatar Jul 30 '23 11:07 caoxianfei1