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

Tomaz Muraus commented on LIBCLOUD-288:
---------------------------------------

Just FYI, those changes introduced a regression and broke Gandi.net drivers.

{quote}
[19:24] <      hbetts> | [02:31:43] Trying to use the new Gandi DNS driver and 
I've been 
          getting an error with the constructed URL: http://pastie.org/6386225
[19:24] <      hbetts> | [02:32:05] It's coming back as https://True:443/xmlrpc/
[19:24] <      hbetts> | [02:32:36] Should be https://rpc.gandi.net:443/xmlrpc/
{/quote}

I assumed that this issue is related to the xmlrpclib changes and I was 
correct. I've pushed a fix in 
https://svn.apache.org/viewvc?view=revision&revision=r1452656.

In a nutshell, those changes changed the class inheritance hierarchy. 
Originally it was as GandiConnection -> ConnectionKey and now it is 
GandiConnection -> XMLRPCConnection -> Connection.

Previously calling super(GandiConnection, self).__init__(key) would work fine, 
because ConnectionKey constructor which excepts secret key as the first 
argument was called. With xmlrpclib changes this won't work because Connection 
constructor is called. This constructor expects username as first argument and 
not the secret key.
                
> Update libcloud xmlrpclib drivers to make better use of libcloud http layer
> ---------------------------------------------------------------------------
>
>                 Key: LIBCLOUD-288
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-288
>             Project: Libcloud
>          Issue Type: Bug
>            Reporter: John Carr
>            Assignee: Tomaz Muraus
>             Fix For: 0.12.1
>
>         Attachments: 92.diff, 93.diff
>
>
> Right now the xmlrpclib drivers make their own http calls and bypass any of 
> the nice features in libcloud httplib wrappers. For example, LIBCLOUD_DEBUG 
> doesn't work for xmlrpc drivers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to