Amazon web services Ceph:调用CreateBucket操作时发生错误(InvalidRange):未知
我正在尝试使用aws s3api命令行工具在我的Ceph对象存储上创建一个S3 bucket。我以前成功地使用过这个命令,并且有其他Ceph对象存储(来自同一映像的vm),我可以成功地运行该命令 我已经在我的对象存储上创建了一个空的S3用户,使用带有Amazon web services Ceph:调用CreateBucket操作时发生错误(InvalidRange):未知,amazon-web-services,amazon-s3,bucket,ceph,Amazon Web Services,Amazon S3,Bucket,Ceph,我正在尝试使用aws s3api命令行工具在我的Ceph对象存储上创建一个S3 bucket。我以前成功地使用过这个命令,并且有其他Ceph对象存储(来自同一映像的vm),我可以成功地运行该命令 我已经在我的对象存储上创建了一个空的S3用户,使用带有AWS configure的键配置了AWS CLI,我相信这些键是正确的,因为我可以运行: [root@localhost ] ~> aws s3api --endpoint=https://10.254.2.130:7480 list-buc
AWS configure
的键配置了AWS CLI,我相信这些键是正确的,因为我可以运行:
[root@localhost ] ~> aws s3api --endpoint=https://10.254.2.130:7480 list-buckets --no-verify-ssl
/usr/lib/fence-agents/bundled/botocore/vendored/requests/packages/urllib3/connectionpool.py:768: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
InsecureRequestWarning)
{
"Owner": {
"DisplayName": "s3user",
"ID": "s3user"
},
"Buckets": []
}
但是,尝试创建一个bucket时,我遇到以下错误:
[root@localhost ] ~> aws s3api --endpoint=https://10.254.2.130:7480 create-bucket --bucket newbucket --no-verify-ssl
/usr/lib/fence-agents/bundled/botocore/vendored/requests/packages/urllib3/connectionpool.py:768: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
InsecureRequestWarning)
An error occurred (InvalidRange) when calling the CreateBucket operation: Unknown
我正在努力寻找关于错误的有用信息(AWS文档几乎没有提到)。有人对如何进一步调试这个问题有什么建议吗?我尝试了--debug标志,但没有成功
我意识到--no-verify ssl的使用也不是很好,我们已经有了一个解决方案
感谢阅读。这是因为我们的S3存储桶缺少Ceph数据池
ceph osd lspools
打印出ceph集群上的池列表,我从中发现了问题