Fix bug LIBCLOUD-635 - openstack-swift auth v2#492
Closed
fifieldt wants to merge 1 commit intoapache:trunkfrom
Closed
Fix bug LIBCLOUD-635 - openstack-swift auth v2#492fifieldt wants to merge 1 commit intoapache:trunkfrom
fifieldt wants to merge 1 commit intoapache:trunkfrom
Conversation
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.
|
👍 |
Member
|
Thanks. I will look into it shortly. |
Contributor
Author
|
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 :) |
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
|
Also, fix merged into trunk. Thanks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.