Ceph:调用 CreateBucket 操作时发生错误(InvalidRange):未知
Ceph: An error occurred (InvalidRange) when calling the CreateBucket operation: Unknown
我正在尝试使用 aws s3api 命令行工具在我的 Ceph 对象存储上创建一个 S3 存储桶。我以前成功地使用过这个命令,并且有其他 Ceph 对象存储(来自同一图像的虚拟机)我可以成功地 运行 命令反对。
我在我的对象存储上创建了一个空的 S3 用户,使用带有 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": []
}
但是尝试创建存储桶时,出现此错误:
[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 集群上的池列表,我从中确定了问题。
我正在尝试使用 aws s3api 命令行工具在我的 Ceph 对象存储上创建一个 S3 存储桶。我以前成功地使用过这个命令,并且有其他 Ceph 对象存储(来自同一图像的虚拟机)我可以成功地 运行 命令反对。
我在我的对象存储上创建了一个空的 S3 用户,使用带有 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": []
}
但是尝试创建存储桶时,出现此错误:
[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 集群上的池列表,我从中确定了问题。