跳转到主内容

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

Views:
16
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>}

 

 

 

 

CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support