Skip to content

listPublicIpAddresses API lists the (unallocated) reserved public IPs of other account, and resulting in UI to show other account's public IPs while acquire new IPs in the network #4723

@sureshanaparti

Description

@sureshanaparti

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
  • Bug Report
COMPONENT NAME
Network
CLOUDSTACK VERSION
4.14.0   4.15.0.0
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
  1. Create a zone with advanced network
  2. Add two different public IP ranges in the Public Network and reserve them to two different accounts, say account01 and account02.
  3. Login with account01, and create a network, say network01
  4. 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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions