apache / apache/libcloud

Bad status code from gs display an error from s3 driver

未关闭
#1,502 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
stale
主要语言
Python
星标
2.1k
派生
931
平均合并
1 天 2 小时
30 天内合并 PR
4

描述

When using GoogleStorageDriver and getting a 502 we get a confusing error:
` 'Unknown error. Status code: 502'>`

Probably due to the fact that `GoogleStorageDriver` inherit from `BaseS3StorageDriver`
https://github.com/apache/libcloud/blob/881d5fb0b8973a0f1037e0aa0d3538b407f57d26/libcloud/storage/drivers/s3.py#L141

贡献指南

打开贡献指南

调研方向

从 GoogleStorageDriver 的继承关系以及 libcloud/storage/drivers/s3.py 约第 141 行链接的 BaseS3StorageDriver 代码入手。复现一个 Google Storage 502 错误,并跟踪随后产生的错误文本;当 Google Storage 故障不再报告令人困惑的 S3 驱动程序错误时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
aws, gcp, python
领域
cloud
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。