Skip to content

Fix bug LIBCLOUD-635 - openstack-swift auth v2#492

Closed
fifieldt wants to merge 1 commit intoapache:trunkfrom
fifieldt:trunk
Closed

Fix bug LIBCLOUD-635 - openstack-swift auth v2#492
fifieldt wants to merge 1 commit intoapache:trunkfrom
fifieldt:trunk

Conversation

@fifieldt
Copy link
Contributor

@fifieldt fifieldt commented Apr 1, 2015

As reported by James in LIBCLOUD-635
https://issues.apache.org/jira/browse/LIBCLOUD-635

OpenStack-Swift authentication is broken from at least
0.16. I confirmed the bug in 0.17 and master.

the code here tries to perform operations on a
OpenStackServiceCatalogEntryEndpoint that cannot
be performed on this class.

Since get_endpoint() will return an endpoint with
a URL (not 3 different URLs: publicURL/internalURL/
adminURL) or error, it should be safe to test for
existence and use the url. However, review very
welcome!

This fix has been tested against OpenStack Juno.

As reported by James in LIBCLOUD-635
https://issues.apache.org/jira/browse/LIBCLOUD-635

OpenStack-Swift authentication is broken from at least
 0.16. I confirmed the bug in 0.17 and master.

the code here tries to perform operations on a
OpenStackServiceCatalogEntryEndpoint that cannot
be performed on this class.

Since get_endpoint() will return an endpoint with
a URL (not 3 different URLs: publicURL/internalURL/
adminURL) or error, it should be safe to test for
existence and use the url. However, review very
welcome!

This fix has been tested against OpenStack Juno.
@porterjamesj
Copy link

👍

@Kami
Copy link
Member

Kami commented Apr 1, 2015

Thanks. I will look into it shortly.

@fifieldt
Copy link
Contributor Author

fifieldt commented Apr 3, 2015

Thanks! At the moment at OpenStack upstream we're writing a guide (I think you're going to like it!) which relies on libcloud, including the swift bits, so getting this in soon-ish would be handy :)

@Kami
Copy link
Member

Kami commented Apr 4, 2015

@fifieldt Awesome, great to hear that :)

Do let us know if there is anything we can to do make the experience better / more pleasant. And as always, contributions are welcome :)

@asfgit asfgit closed this in 06cdd4e Apr 4, 2015
@Kami
Copy link
Member

Kami commented Apr 4, 2015

Also, fix merged into trunk. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants