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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Storage
    • 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

        1. LIBCLOUD-576.patch
          0.9 kB
          Zak Estrada

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: