跳转到主内容

是否可以检查日志以 403 或 404 形式回答的 S3 呼叫?

Views:
15
Visibility:
Internal
Votes:
0
Category:
storagegrid
Specialty:
sgrid
Last Updated:

适用场景

NetApp 存储网格

问题解答

  • 403404bycast-err.log/var/local/log 主管理节点上的中,可以检查以应答或应答的单个 S3 查询

示例:

Oct  6 07:32:01 AMS-ADM1 NMS: |2020-10-06T07:32:01.829| ERROR   Object 'multipart-upload/test.log' not found. (MgmtApi::LocalizedValidationError)
Oct  6 07:32:01 AMS-ADM1 NMS: |2020-10-06T07:32:01.829| ERROR   /usr/local/lib/site_ruby/mgmt-api/objects/metadata.rb:108:in `rescue in find'
Oct  6 07:32:01 AMS-ADM1 NMS: |2020-10-06T07:32:01.829| ERROR   /usr/local/lib/site_ruby/mgmt-api/objects/metadata.rb:99:in `find'
Oct  6 07:32:01 AMS-ADM1 NMS: |2020-10-06T07:32:01.829| ERROR   /usr/local/mgmt-api/app/controllers/objects.rb:29:in `block in registered'

  • 在 11.5 及更高版本中,可以在https://ADMIN_NODE/metrics/graph下的 Prometheus 指标页面()中查看 S3 响应( HTTP XXX )并绘制图形storagegrid_s3_requests_total

 

This is an internal KB article and its content should not be copy/pasted and shared with people outside of NetApp. Always seek Duty Manager authentication of caller for password reset requests. If you need further assistance post a question in Knowledge Xchange