前面测试Ceph的时候顺便测试了Rustfs,但是rustfs对新的aws SDK 还不兼容。
当时的错误如下
<?xml version="1.0" encoding="UTF-8"?><Error><Code>XAmzContentSHA256Mismatch</Code><Message>invalid header: x-amz-content-sha256</Message></Error>
https://github.com/rustfs/rustfs/issues/413
今天看一下了这个bug解决了,测试一下了 这下没有问题了
下载
curl -O https://dl.rustfs.com/artifacts/rustfs/release/rustfs-linux-x86_64-musl-latest.zip
unzip rustfs-linux-x86_64-musl-latest.zip
运行
./rustfs /opt/rustfs --address 0.0.0.0:9000 --access-key myaccesskey --secret-key mysecretkey --console-enable --console-address 0.0.0.0:9001
登录rustfs web 并创建bucket

创建访问密钥
在USC中添加s3

基于S3的视频存储 功能正常

