跳转到主内容

无法删除存储分段、并显示错误"Net::ReadTimeout (MgmtApi::LocalizedRuntimeError)"

Views:
1
Visibility:
Public
Votes:
0
Category:
storagegrid<a>2009315223.</a>
Specialty:
esg
Last Updated:

适用场景

NetApp StorageGRID 11.6.

问题描述

  • 在Tenant Manger上检查时、存储分段为空:

Bucket_empty.png

  • 无法删除存储分段、但出现错误 Net::ReadTimeout

Error_delete_bucket.png

  • /var/local/log/nms.log 运行删除的管理节点上、中显示了相关错误

MMM DD hh:mm:ss dc1-adm1 NMS: |YYYY-MM-DDThh:mm:ss.203| ERROR  Net::ReadTimeout (Net::ReadTimeout)
MMM DD hh:mm:ss dc1-adm1 NMS: |YYYY-MM-DDThh:mm:ss.203| ERROR   /usr/lib/ruby/2.5.0/net/protocol.rb:181:in `rbuf_fill'
MMM DD hh:mm:ss dc1-adm1 NMS: |YYYY-MM-DDThh:mm:ss.203| ERROR   /usr/lib/ruby/2.5.0/net/protocol.rb:157:in `readuntil'
MMM DD hh:mm:ss dc1-adm1 NMS: |YYYY-MM-DDThh:mm:ss.203| ERROR   /usr/lib/ruby/2.5.0/net/protocol.rb:167:in `readline'
MMM DD hh:mm:ss dc1-adm1 NMS: |YYYY-MM-DDThh:mm:ss.204| ERROR  Internal server error. The server encountered an error and could not complete your request. Try again. If the problem persists, contact support. Net::ReadTimeout (MgmtApi::LocalizedRuntimeError)
MMM DD hh:mm:ss dc1-adm1 NMS: |YYYY-MM-DDThh:mm:ss.204| ERROR   /usr/local/lib/site_ruby/mgmt-api/rest-client/resource.rb:730:in `handle_errors!'
MMM DD hh:mm:ss dc1-adm1 NMS: |YYYY-MM-DDThh:mm:ss.204| ERROR   /usr/local/lib/site_ruby/mgmt-api/containers/container.rb:407:in `handle_errors!'
MMM DD hh:mm:ss dc1-adm1 NMS: |YYYY-MM-DDThh:mm:ss.205| ERROR   /usr/local/lib/site_ruby/mgmt-api/rest-client/resource.rb:615:in `rescue in delete'
MMM DD hh:mm:ss dc1-adm1 NMS: |YYYY-MM-DDThh:mm:ss.205| ERROR   {"errors":[{"text":"Net::ReadTimeout","key":"error.i18n.validation"}],"message":{"text":"Internal server error. The server encountered an error and could not complete your request. Try again. If the problem persists, contact support.","key":"error.500"},"code":500,"status":"error","responseTime":"TZ","apiVersion":"3.3","data":{"type":"MgmtApi::LocalizedRuntimeError","trace":["/usr/local/lib/site_ruby/mgmt-api/rest-client/resource.rb:730:in `handle_errors!'","/usr/local/lib/site_ruby/mgmt-api/containers/container.rb:407:in `handle_errors!'","/usr/local/lib/site_ruby/mgmt-api/rest-client/resource.rb:615:in `rescue in delete'","/usr/local/lib/site_ruby/mgmt-api/rest-client/resource.rb:608:in `delete'","/usr/local/lib/site_ruby/mgmt-api/containers/container.rb:261:in `delete_for_account!'","/usr/local/mgmt-api/app/controllers/containers.rb:51:in `block in registered'","/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1635:in `call'","/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1635:in `block in compile!'","/usr/lib/ruby/vendor_ruby/sinatra/base.rb:992:in `block (3 levels) in route!'","/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1011:in `route_eval'","/usr/lib/ruby/vendor_ruby/sinatra/base.rb:992:in `block (2 levels) in route!'","/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1040:in `block in process_route'","/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1038:in `catch'","/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1038:in `process_route'","/usr/lib/ruby/vendor_ruby/sinatra/base.rb:990:in `block in route!'"]}}

  • 通过AWS CLI s3api删除存储分段失败、并显示错误BucketNotEmpty

# aws --endpoint-url https://dc1-sn1:18082 --no-verify-ssl --profile demo s3api delete-bucket --bucket <bucket_name> --cli-read-timeout 0
...
An error occurred (BucketNotEmpty) when calling the DeleteBucket operation: The bucket you tried to delete is not empty.

  • AWS CLI S3强制删除存储分段失败、并显示错误BucketNotEmpty

# aws --endpoint-url https://dc1-sn1:18082 --profile demo --no-verify-ssl s3 rb s3://<bucket_name> --cli-read-timeout 0 --force 
...
remove_bucket failed: s3://<bucket_name> An error occurred (BucketNotEmpty) when calling the DeleteBucket operation: The bucket you tried to delete is not empty.

 

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.