libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Bennett (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (LIBCLOUD-384) Opsource driver doesn't put public ip in Nodes
Date Sun, 25 Aug 2013 19:59:51 GMT

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

Michael Bennett edited comment on LIBCLOUD-384 at 8/25/13 7:59 PM:
-------------------------------------------------------------------

I've attached a sample debug log and I've stripped out all irrelevant lines. As you can see,
the response contains a <publicIpAddress> element that contains the valid IP address
of my running node. Line 585 in the opsource driver simply returns an empty list and never
checks for the public IP. https://github.com/apache/libcloud/blob/trunk/libcloud/compute/drivers/opsource.py#L585

I've created a pull request with my changes and included a test (which also adds public IP
to the test fixture):
https://github.com/apache/libcloud/pull/136
                
      was (Author: bennettaur):
    I've attacked a sample debug log and I've stripped out all irrelevant lines. As you can
see, the response contains a <publicIpAddress> element that contains the valid IP address
of my running node. This line in the opsource driver simply returns an empty list and never
checks for the public IP.

I've created a pull request with my changes and included a test (which also adds public IP
to the test fixture):
https://github.com/apache/libcloud/pull/136
                  
> Opsource driver doesn't put public ip in Nodes
> ----------------------------------------------
>
>                 Key: LIBCLOUD-384
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-384
>             Project: Libcloud
>          Issue Type: Improvement
>          Components: Compute
>            Reporter: Michael Bennett
>            Priority: Trivial
>         Attachments: debug.txt
>
>
> When calling list_nodes() from an OpsourceNodeDriver instance, the nodes listed do not
contain a public IP ever. The public IP is available in the XML response from the API

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

Mime
View raw message