Sentry不要将DSYMs文件上传到S3文件存储后端,并给我例外:NoSuchKey:发生错误(NoSuchKey)

问题描述 投票:0回答:1

我正在OpenShift中使用本地哨兵。我希望能够使用S3存储桶上传dsym文件。尝试使用以下命令从sentry-cli上传dsym文件时,出现错误:

sentry-cli upload-dif -t dsym --project service-level-reporting --log-level debug 

哨兵日志:

 [ERROR] celery.worker.job: Task sentry.tasks.assemble.assemble_dif[01205ec8-fb54-4cc0-ae48-ce75bb96f880] raised unexpected: NoSuchKey(u'An error occurred (NoSuchKey) when calling the GetObject operation: Unknown',) (data={u'hostname': 'celery@sentry-worker-42-mw42p', u'name': 'sentry.tasks.assemble.assemble_dif', u'args': '[]', u'internal': False, u'kwargs': "{'chunks': ['7f91f5edfe5ce6650448c3edf6cdea6bed5a3699'], 'checksum': '7f91f5edfe5ce6650448c3edf6cdea6bed5a3699', 'project_id': 7L, 'name': 'libswiftos.dylib'}", u'id': '01205ec8-fb54-4cc0-ae48-ce75bb96f880'})

我已经检查了吊舱,可以访问目标S3存储桶。有人可以帮助我们解决此问题吗?

amazon-s3 openshift sentry ceph
1个回答
0
投票

似乎您没有为哨兵cli设置aws密钥,或者您使用错误的密钥请求S3。如果您没有为aws键配置sentry-cli,则可能可以帮助您:https://github.com/getsentry/sentry-docs/pull/956/files?short_path=b1d11e7#diff-b1d11e7d8a13bff13c9b3012f58e0b71

© www.soinside.com 2019 - 2024. All rights reserved.