Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-941

Backblaze storage broken? Potential workaround attached

Add voteWatch issue
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.15.0
    • None
    • Storage
    • python 2.7

    Description

      Please note that this bug is on github.com libcloud version 2.2.0 I am not sure which apache version # that is.

      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:...
      

      Workaround: set connection to None

      try:
          if driver.connection.connection.host == 'https://None':
      	driver.connection.connection = None
      except:
          pass
      c = driver.list_containers() # succeeds
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            skyusc sky

            Dates

              Created:
              Updated:

              Slack

                Issue deployment