跳转到主内容

用于存储使用的 StorageGRID API 因 HTTP 500 而失败 " URN 中的服务 S3 无效 "

Views:
17
Visibility:
Public
Votes:
0
Category:
storagegrid
Specialty:
sgrid
Last Updated:

适用于

  • StorageGRID 11.3
  • S3 平台服务

问题

  • StorageGRID 管理 API /grid/accounts/{id}/usage 因 HTTP 500 "" 而失败Invalid service s3 in URN
  • nms.log 在管理节点的中可以看到以下错误。

ERROR   Internal server error. The server encountered an error and could not complete your request. Please try again. If the problem persists, contact Technical Support. {"Error"=>{"Code"=>"InternalError", "Message"=>"We encountered an internal error. Please try again.", "Resource"=>"/?x-ntap-sg-usage", "RequestId"=>"<REQUESTID>"}} (MgmtApi::LocalizedRuntimeError)
ERROR   /usr/local/lib/site_ruby/mgmt-api/rest-client/resource.rb:717:in `handle_errors!'
ERROR   /usr/local/lib/site_ruby/mgmt-api/accounts/account.rb:448:in `usage'
ERROR   /usr/local/mgmt-api/app/controllers/accounts.rb:259:in `block in registered'
ERROR   
     {
     "errors": [
       {
       "text": "{\"Error\"=>{\"Code\"=>\"InternalError\", \"Message\"=>\"We encountered an internal error. Please try again.\", \"Resource\"=>\"/?x-ntap-sg-usage\", \"RequestId\"=>\"<REQUESTID>\"}}",
       "key": "error.i18n.validation"
       }
      ],
     "message": {
      "text": "Internal server error. The server encountered an error and could not complete your request. Please try again. If the problem persists, contact Technical Support.",
      "key": "error.500"
      },
     "code": 500,
     "status": "error",
     "responseTime": "<TIMESTAMP>",
     "apiVersion": "2.4",
     "deprecated": true,
     "data": {
      "type": "MgmtApi::LocalizedRuntimeError",
      "trace": [
       "/usr/local/lib/site_ruby/mgmt-api/rest-client/resource.rb:717:in `handle_errors!'",
       "/usr/local/lib/site_ruby/mgmt-api/accounts/account.rb:448:in `usage'",
       "/usr/local/mgmt-api/app/controllers/accounts.rb:259:in `block in registered'",
       "/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1611:in `call'",
       "/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1611:in `block in compile!'",
       "/usr/lib/ruby/vendor_ruby/sinatra/base.rb:975:in `block (3 levels) in route!'",
       "/usr/lib/ruby/vendor_ruby/sinatra/base.rb:994:in `route_eval'",
       "/usr/lib/ruby/vendor_ruby/sinatra/base.rb:975:in `block (2 levels) in route!'",
       "/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1015:in `block in process_route'",
       "/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1013:in `catch'",
       "/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1013:in `process_route'",
       "/usr/lib/ruby/vendor_ruby/sinatra/base.rb:973:in `block in route!'",
       "/usr/lib/ruby/vendor_ruby/sinatra/base.rb:972:in `each'",
       "/usr/lib/ruby/vendor_ruby/sinatra/base.rb:972:in `route!'",
       "/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1085:in `block in dispatch!'"
       ]
      }
     }

 

  • Invalid service s3 in URNbycast.log 在管理节点中检测到 "" 。

ERROR   0248 S3RQ:  Unknown exception (Invalid service s3 in URN: <URN>)
NOTICE   0162 S3RQ: S3 error response: RequestId=<REQUESTID>, Resource=/?x-ntap-sg-usage,  HTTP Status Code=500, ErrorMsg=InternalError, ErrorType=Internal, CustomErrorMessage={<none>}, Details={Invalid service s3 in URN: <URN>}

 

 

 

 

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.