[ 
https://issues.apache.org/jira/browse/LIBCLOUD-576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14025755#comment-14025755
 ] 

Zak Estrada edited comment on LIBCLOUD-576 at 6/9/14 9:16 PM:
--------------------------------------------------------------

The request only changes line 127 since apparently all rackspace regions are 
uppercase and changing that line breaks unit tests (and potentially users who 
rely on the automatic conversion).


was (Author: zestrada):
Pull request #311 submitted https://github.com/apache/libcloud/pull/311

Pull request only changes line 127 since apparently all rackspace regions are 
uppercase and changing that line breaks unit tests (and potentially users who 
rely on the automatic conversion).

> Storage_Provider.OPENSTACK_SWIFT does not locate endpoints when regions have 
> lowercase characters
> -------------------------------------------------------------------------------------------------
>
>                 Key: LIBCLOUD-576
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-576
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Storage
>            Reporter: Zak Estrada
>
> I kept getting 
> {noformat}
> libcloud.common.types.LibcloudError: <LibcloudError in None 'Could not find 
> specified endpoint'>
> {noformat}
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to