Skip to content

[LIBCLOUD-766] Unique node.public_ips returned by CloudStack ex_get_nodes and list_nodes#626

Closed
atsaki wants to merge 1 commit intoapache:trunkfrom
atsaki:766_unique_node_public_ips
Closed

[LIBCLOUD-766] Unique node.public_ips returned by CloudStack ex_get_nodes and list_nodes#626
atsaki wants to merge 1 commit intoapache:trunkfrom
atsaki:766_unique_node_public_ips

Conversation

@atsaki
Copy link
Copy Markdown
Contributor

@atsaki atsaki commented Nov 7, 2015

This fixes the issue node's public_ips have duplicate values.

https://issues.apache.org/jira/browse/LIBCLOUD-766

@Kami
Copy link
Copy Markdown
Member

Kami commented Nov 7, 2015

Thanks.

The change looks good to me, but I will wait on @Runseb or someone else with more CloudStack experience :)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious - so the issue only exists for public, but not private ips?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The issue only exists for public ips because private ips are not passed with argument.
The issue occurs when an ip is included in both data['nic'] and argument public_ips.

@Kami
Copy link
Copy Markdown
Member

Kami commented Nov 8, 2015

Would appreciate if you can sync this branch with latest trunk so I can apply patch directly (I've merged 767 first and now there are conflicts).

@atsaki atsaki force-pushed the 766_unique_node_public_ips branch from 996ec1b to ab5d095 Compare November 10, 2015 14:40
@atsaki
Copy link
Copy Markdown
Contributor Author

atsaki commented Nov 10, 2015

I rebased the branch to the latest trunk.

@asfgit asfgit closed this in 455a279 Nov 10, 2015
@Kami
Copy link
Copy Markdown
Member

Kami commented Nov 10, 2015

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants