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

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
3 participants
@fifieldt
Contributor

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.

Fix bug LIBCLOUD-635 - openstack-swift auth v2
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

This comment has been minimized.

Show comment
Hide comment

👍

@Kami

This comment has been minimized.

Show comment
Hide comment
@Kami

Kami Apr 1, 2015

Member

Thanks. I will look into it shortly.

Member

Kami commented Apr 1, 2015

Thanks. I will look into it shortly.

@fifieldt

This comment has been minimized.

Show comment
Hide comment
@fifieldt

fifieldt Apr 3, 2015

Contributor

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

Contributor

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

This comment has been minimized.

Show comment
Hide comment
@Kami

Kami Apr 4, 2015

Member

@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 :)

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

This comment has been minimized.

Show comment
Hide comment
@Kami

Kami Apr 4, 2015

Member

Also, fix merged into trunk. Thanks.

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