Bad status code from gs display an error from s3 driver
Open
stale
- Dominant language
- Python
- Stars
- 2.1k
- Forks
- 931
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 4
Description
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
Contributor guide
Research direction
Start with the GoogleStorageDriver inheritance and the BaseS3StorageDriver code linked at libcloud/storage/drivers/s3.py around line 141. Reproduce a Google Storage 502 and trace the resulting error text; done means the Google Storage failure no longer reports a confusing S3-driver error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, gcp, python
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100