apache / libcloud

Apache Libcloud is a Python library which hides differences between different cloud provider APIs and allows you to manage different cloud resources through a unified and easy to use API.
https://libcloud.apache.org
Apache License 2.0
2.04k stars 926 forks source link

Bad status code from gs display an error from s3 driver #1502

Open maingoh opened 4 years ago

maingoh commented 4 years ago

When using GoogleStorageDriver and getting a 502 we get a confusing error: <LibcloudError in <class 'libcloud.storage.drivers.s3.S3StorageDriver'> '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

stale[bot] commented 3 years ago

Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically marking is as stale. If this issue is not relevant or applicable anymore (problem has been fixed in a new version or similar), please close the issue or let us know so we can close it. On the contrary, if the issue is still relevant, there is nothing you need to do, but if you have any additional details or context which would help us when working on this issue, please include it as a comment to this issue.