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

Storage_Provider.OPENSTACK_SWIFT does not locate endpoints when regions have lowercase characters

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Storage
    • Labels:
      None

      Description

      I kept getting

      libcloud.common.types.LibcloudError: <LibcloudError in None 'Could not find specified endpoint'>
      

      When trying to connect to my swift installation. I then discovered that lines 127 and 199 of libcloud/storage/drivers/cloudfiles.py indiscriminately convert the region to upper case. I will create a pull request for the trivial change to fix this.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              zestrada Zak Estrada
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: