You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by "Michael Bennett (JIRA)" <ji...@apache.org> on 2013/08/25 21:57:52 UTC

[jira] [Comment Edited] (LIBCLOUD-384) Opsource driver doesn't put public ip in Nodes

    [ 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:57 PM:
-------------------------------------------------------------------

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
                
      was (Author: bennettaur):
    I've stripped out all irrelevant lines.
                  
> 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