我们的 S3 Bucket 存储网格出现问题! 当我们尝试在 S3 上放置生命周期配置时,我们总是遇到相同的错误:
An error occurred (MalformedXML) when calling the PutBucketLifecycleConfiguration operation: Invalid XML node or node is at wrong location.
有时,当 JSON 文件不好时,我们会出错,他会尝试这样帮助我们:
Error parsing parameter '--lifecycle-configuration': Invalid JSON: Expecting ',' delimiter: line 3 column 17 (char 30) JSON received:
但是,当我们清除 JSON 文件并尝试放置 Licecycle 配置时,我们总是遇到相同的错误:
An error occurred (MalformedXML) when calling the PutBucketLifecycleConfiguration operation: Invalid XML node or node is at wrong location.
我搜索了又搜索,但没有找到解决我问题的答案...
有问题的 JSON 文件可以在下面找到:
{
"Rules": [
{
"ID": "rule1",
"Expiration": {
"ExpiredObjectDeleteMarker": true
},
"NoncurrentVersionExpiration": {
"NewerNoncurrentVersions": 10,
"NoncurrentDays": 30
},
"Status": "Enabled"
}
]
}
如果有人有问题或有想法来解决我的问题,欢迎您!!!
检查https://docs.netapp.com/us-en/storagegrid-115/s3/operations-on-buckets.html
它指出“StorageGRID 不支持这些操作: