cloudstack icon indicating copy to clipboard operation
cloudstack copied to clipboard

IP range cannot be deleted, but no valid reason is known

Open DaanHoogland opened this issue 2 years ago • 3 comments
trafficstars

ISSUE TYPE
  • Improvement Request
COMPONENT NAME
UI, API
CLOUDSTACK VERSION
any <4.19
CONFIGURATION
OS / ENVIRONMENT
SUMMARY

trying to delete a zone physical networks and IP ranges need to be deleted first. This can not when an address is in use, but there is no info on which address or what resource uses it. image

STEPS TO REPRODUCE

EXPECTED RESULTS
the error message would show which IP addresses are in use and preferably by which resources as well.
ACTUAL RESULTS

DaanHoogland avatar Oct 12 '23 08:10 DaanHoogland

@DaanHoogland The number of IPs in use can be a very high number. Listing all the resources would be difficult. IMO, it would be better to add a button to show all Allocated IPs belonging to the physicalnetwork.

vishesh92 avatar Feb 27 '24 05:02 vishesh92

@DaanHoogland The number of IPs in use can be a very high number. Listing all the resources would be difficult. IMO, it would be better to add a button to show all Allocated IPs belonging to the physicalnetwork.

I would expect this to be a problem only when a user expects to be ready to delete the network. That said, you are right. We could show a maximum of 5 and than a '...'. We can also go for something completely different as long as it is in a way a pointer to a solution for the user. As is it is a bit "computer says no".

DaanHoogland avatar Feb 27 '24 08:02 DaanHoogland

@DaanHoogland The number of IPs in use can be a very high number. Listing all the resources would be difficult. IMO, it would be better to add a button to show all Allocated IPs belonging to the physicalnetwork.

looks like a UI improvement it is already supported to list public ips by physical network.

weizhouapache avatar Feb 27 '24 11:02 weizhouapache

@DaanHoogland I have added two buttons to show all IP addresses by physical network & vlanid in this PR: https://github.com/apache/cloudstack/pull/8717

vishesh92 avatar Feb 28 '24 09:02 vishesh92

addressed in #8717

DaanHoogland avatar Feb 28 '24 10:02 DaanHoogland