メインコンテンツまでスキップ

0 バイトのソースオブジェクトを含む PUT オブジェクトのコピーがハングすることがある

Views:
35
Visibility:
Public
Votes:
0
Category:
storagegrid
Specialty:
esg
Last Updated:

環境

StorageGRID 11.4

問題

  • CopyObject S3 API が 0 バイトのソースオブジェクトで失敗する。
  • CopyObject エラーポップアップなしでカールによるフリーズ:

$
...
curl -iksS -X PUT <url>/<destination-bucket>/<zero-byte-object-copy> -H content-length:0 -H x-amz-content-sha256:<content-sha256> -H x-amz-copy-source:/<source-bucket>/<zero-byte-object> -H x-amz-date:<YYYYmmddTHHMMSSZ> -H Authorization:AWS4-HMAC-SHA256 Credential=<credential>,SignedHeaders=<headers>,Signature=<signature>
^C << command hangs and is aborted manually
$

  • CopyObjectAWS コマンドラインでの実行が次のエラーで失敗 Read timeout on endpoint URLします。

$ aws s3api --debug --endpoint-url <url> --no-verify-ssl copy-object --bucket <destination-bucket> --key <zero-byte-object-copy> --copy-source /<source-bucket>/<zero-byte-object>
...
Read timeout on endpoint URL:
"<url>/<destination-bucket>/<zero-byte-object-copy>"
$

  • CopyObject 0 バイト以外のソースオブジェクトを使用してが成功する。
  • s3 cp 0 バイトのファイルを別の名前にコピーするコマンドを実行すると Read timed out 、エラーが発生します。

DEBUG - retry needed, retryable exception caught: HTTPSConnectionPool(host='hostname', port=xxx): Read timed out. (read timeout=xx)

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.