You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@libcloud.apache.org by "Dave King (Created) (JIRA)" <ji...@apache.org> on 2012/03/13 20:38:41 UTC
[dev] [jira] [Created] (LIBCLOUD-165) Rackspace LB/DNS Drivers: Support
Auth 2.0 Methods
Rackspace LB/DNS Drivers: Support Auth 2.0 Methods
--------------------------------------------------
Key: LIBCLOUD-165
URL: https://issues.apache.org/jira/browse/LIBCLOUD-165
Project: Libcloud
Issue Type: New Feature
Reporter: Dave King
Priority: Minor
Currently the Rackspace Loadbalancer and DNS providers are not returned by the Rackspace Auth Service Catalog, so we do not support them with auth 2.0 authentication.
This adds a workaround to allow these drivers to work with auth 2.0 -- we should remove this workaround once these are properly returned by the service catalog.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[dev] [jira] [Updated] (LIBCLOUD-165) Rackspace LB/DNS Drivers: Support
Auth 2.0 Methods
Posted by "Dave King (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LIBCLOUD-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave King updated LIBCLOUD-165:
-------------------------------
Attachment: libcloud-165-attempt-2.patch
Update patch to trunk.
I also updated the tests to use the new connection kwargs in the driver args.
> Rackspace LB/DNS Drivers: Support Auth 2.0 Methods
> --------------------------------------------------
>
> Key: LIBCLOUD-165
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-165
> Project: Libcloud
> Issue Type: New Feature
> Reporter: Dave King
> Priority: Minor
> Attachments: libcloud-165-attempt-2.patch, libcloud-165.patch
>
>
> Currently the Rackspace Loadbalancer and DNS providers are not returned by the Rackspace Auth Service Catalog, so we do not support them with auth 2.0 authentication.
> This adds a workaround to allow these drivers to work with auth 2.0 -- we should remove this workaround once these are properly returned by the service catalog.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[dev] [jira] [Commented] (LIBCLOUD-165) Rackspace LB/DNS Drivers: Support
Auth 2.0 Methods
Posted by "Tomaz Muraus (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LIBCLOUD-165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232417#comment-13232417 ]
Tomaz Muraus commented on LIBCLOUD-165:
---------------------------------------
Ran the tests and they fail:
======================================================================
ERROR: test_gets_auth_2_0_endpoint_defaults_to_ord_region (test.loadbalancer.test_rackspace.RackspaceUKLBTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/w/lc/trunk/test/loadbalancer/test_rackspace.py", line 88, in test_gets_auth_2_0_endpoint_defaults_to_ord_region
driver.connection._populate_hosts_and_request_paths()
File "/w/lc/trunk/libcloud/common/openstack.py", line 404, in _populate_hosts_and_request_paths
osa.authenticate()
File "/w/lc/trunk/libcloud/common/openstack.py", line 113, in authenticate
return self.authenticate_2_0_with_password()
File "/w/lc/trunk/libcloud/common/openstack.py", line 187, in authenticate_2_0_with_password
return self.authenticate_2_0_with_body(reqbody)
File "/w/lc/trunk/libcloud/common/openstack.py", line 193, in authenticate_2_0_with_body
method='POST')
File "/w/lc/trunk/libcloud/common/base.py", line 562, in request
headers=headers)
File "/w/lc/trunk/test/__init__.py", line 161, in request
meth = getattr(self, meth_name)
AttributeError: 'RackspaceLBMockHttp' object has no attribute '_v2_0_tokens'
Probably just need to re-sync your branch with trunk and re-create the patch.
> Rackspace LB/DNS Drivers: Support Auth 2.0 Methods
> --------------------------------------------------
>
> Key: LIBCLOUD-165
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-165
> Project: Libcloud
> Issue Type: New Feature
> Reporter: Dave King
> Priority: Minor
> Attachments: libcloud-165.patch
>
>
> Currently the Rackspace Loadbalancer and DNS providers are not returned by the Rackspace Auth Service Catalog, so we do not support them with auth 2.0 authentication.
> This adds a workaround to allow these drivers to work with auth 2.0 -- we should remove this workaround once these are properly returned by the service catalog.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[dev] [jira] [Updated] (LIBCLOUD-165) Rackspace LB/DNS Drivers: Support
Auth 2.0 Methods
Posted by "Dave King (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LIBCLOUD-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave King updated LIBCLOUD-165:
-------------------------------
Attachment: libcloud-165.patch
First attempt at a patch.
> Rackspace LB/DNS Drivers: Support Auth 2.0 Methods
> --------------------------------------------------
>
> Key: LIBCLOUD-165
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-165
> Project: Libcloud
> Issue Type: New Feature
> Reporter: Dave King
> Priority: Minor
> Attachments: libcloud-165.patch
>
>
> Currently the Rackspace Loadbalancer and DNS providers are not returned by the Rackspace Auth Service Catalog, so we do not support them with auth 2.0 authentication.
> This adds a workaround to allow these drivers to work with auth 2.0 -- we should remove this workaround once these are properly returned by the service catalog.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[dev] [jira] [Resolved] (LIBCLOUD-165) Rackspace LB/DNS Drivers: Support
Auth 2.0 Methods
Posted by "Tomaz Muraus (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LIBCLOUD-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomaz Muraus resolved LIBCLOUD-165.
-----------------------------------
Resolution: Fixed
Merged, thanks.
> Rackspace LB/DNS Drivers: Support Auth 2.0 Methods
> --------------------------------------------------
>
> Key: LIBCLOUD-165
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-165
> Project: Libcloud
> Issue Type: New Feature
> Reporter: Dave King
> Priority: Minor
> Attachments: libcloud-165-attempt-2.patch, libcloud-165.patch
>
>
> Currently the Rackspace Loadbalancer and DNS providers are not returned by the Rackspace Auth Service Catalog, so we do not support them with auth 2.0 authentication.
> This adds a workaround to allow these drivers to work with auth 2.0 -- we should remove this workaround once these are properly returned by the service catalog.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[dev] [jira] [Updated] (LIBCLOUD-165) Rackspace LB/DNS Drivers: Support
Auth 2.0 Methods
Posted by "Tomaz Muraus (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LIBCLOUD-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomaz Muraus updated LIBCLOUD-165:
----------------------------------
Fix Version/s: 0.9.1
> Rackspace LB/DNS Drivers: Support Auth 2.0 Methods
> --------------------------------------------------
>
> Key: LIBCLOUD-165
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-165
> Project: Libcloud
> Issue Type: New Feature
> Reporter: Dave King
> Priority: Minor
> Fix For: 0.9.1
>
> Attachments: libcloud-165-attempt-2.patch, libcloud-165.patch
>
>
> Currently the Rackspace Loadbalancer and DNS providers are not returned by the Rackspace Auth Service Catalog, so we do not support them with auth 2.0 authentication.
> This adds a workaround to allow these drivers to work with auth 2.0 -- we should remove this workaround once these are properly returned by the service catalog.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira