listPublicIpAddresses API lists the (unallocated ) reserved public IPs of other account (when allocatedonly=false and account is passed in the API), and it is resulting in UI to show other account's public IPs while acquire new IPs in the network.
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
UI show the list of reserved public IPs of other account while acquire new IPs in the network
STEPS TO REPRODUCE
- Create a zone with advanced network
- Add two different public IP ranges in the Public Network and reserve them to two different accounts, say account01 and account02.
- Login with account01, and create a network, say network01
- Try to acquire new IP in the network01, which lists the reserved IPs for account02.
(or) Call listPublicIpAddresses API with account=account01 and allocatedonly=false.
EXPECTED RESULTS
The reserved public IPs of other account shouldn't be listed while acquiring new IP.
ACTUAL RESULTS
The reserved public IPs of other account are listed while acquiring new IP.