Commit 8d8a0eb
Likitha Shetty
CLOUDSTACK-2105.
While releasing an IP range from an acount if any of the Public IPs in the range is a source nat ip then the IP is not disassociated.
During the check CS also checks if the network the IP is associted with is not null. This results in an NPE for an account that has VPC s
because the public IP of a VPC domain router is common to all VPC tiers and not associated with a network
Remove the check to find the network associted with a source nat IP for both ReleasePublicIpRange and DeleteVlanPublicIpRange1 parent ff4a487 commit 8d8a0eb
1 file changed
Lines changed: 4 additions & 5 deletions
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2673 | 2673 | | |
2674 | 2674 | | |
2675 | 2675 | | |
2676 | | - | |
2677 | | - | |
2678 | | - | |
| 2676 | + | |
| 2677 | + | |
| 2678 | + | |
2679 | 2679 | | |
2680 | 2680 | | |
2681 | 2681 | | |
| |||
2829 | 2829 | | |
2830 | 2830 | | |
2831 | 2831 | | |
2832 | | - | |
2833 | | - | |
| 2832 | + | |
2834 | 2833 | | |
2835 | 2834 | | |
2836 | 2835 | | |
| |||
0 commit comments