[
https://issues.apache.org/jira/browse/CLOUDSTACK-2333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sowmya Krishnan resolved CLOUDSTACK-2333.
-----------------------------------------
Resolution: Not A Problem
The issue was seen since the IP was acquired but were no rules created in the
tier and hence wasn't associated with any network.
Verified that after creating rules in the tier, listPublicIpAddresses with
associatedNetworkId returns the list of Pulbic IPs attached to that network.
Hence closing as non-issue
> listPublicIpAddresses returns empty response if used with associatedNetworkId
> param in VPC network
> --------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-2333
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2333
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: API
> Affects Versions: 4.2.0
> Environment: Master branch: Create VPC network with XS
> Reporter: Sowmya Krishnan
> Fix For: 4.2.0
>
>
> Create VPC with couple of tiers.
> Acquire public IPs in both the networks.
> Perform listPublicIpAddresses with the vpcid and associatedNetworkId as admin
> Result: No response although there are public IPs acquired in the network
> Perform listPublicIpAddresses with vpcid and without associatedNetworkId
> lists all the public IPs in that vpc across all the tiers
> Also affects UI since it uses associatedNetworkid of that tier when we click
> on ' View IP Addresses'
> Firebug Log when clicked on 'View IP Address'
> http://10.102.192.203:8080/client/api?command=listPublicIpAddresses&response=json&sessionkey=0HlXdwFpLGW%2B8gMhYvRABSViv7o%3D&listAll=true&page=1&pagesize=20&associatedNetworkId=009fe6f3-6de5-4baa-a26c-cd1f9b565628&vpcid=aa606c42-29ae-4aed-9a7b-38a3587dc0ab&_=1367822518704
> { "listpublicipaddressesresponse" : { } }
--
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