sky created LIBCLOUD-941:
----------------------------
Summary: Backblaze storage broken? Potential workaround attached
Key: LIBCLOUD-941
URL: https://issues.apache.org/jira/browse/LIBCLOUD-941
Project: Libcloud
Issue Type: Bug
Components: Storage
Affects Versions: 0.15.0
Environment: python 2.7
Reporter: sky
Please note that this bug is on github.com libcloud version 2.2.0 I am not sure
which apache version # that is.
{code:none}
from libcloud.storage.types import Provider
from libcloud.storage.providers import get_driver
cls2 = get_driver(Provider.BACKBLAZE_B2)
driver = cls2('name', 'secret')
c = driver.list_containers() # fails with ConnectionError:
HTTPSConnectionPool(host='none', port=443): Max retries exceeded with url:...
{code}
Workaround: set connection to None
{code:none}
try:
if driver.connection.connection.host == 'https://None':
driver.connection.connection = None
except:
pass
c = driver.list_containers() # succeeds
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)