mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
bug 12488: Netscaler - Invalid error message presented to the user when deployVm fails to implement network becasue of insuffucient capacity in Netscaler.
status 12488: resolved fixed
This commit is contained in:
parent
a665f9bf50
commit
8fbdd2919e
@ -166,8 +166,7 @@ public class NetscalerElement extends ExternalLoadBalancerDeviceManagerImpl impl
|
||||
try {
|
||||
return manageGuestNetworkWithExternalLoadBalancer(true, guestConfig);
|
||||
} catch (InsufficientCapacityException capacityException) {
|
||||
// TODO: handle out of capacity exception gracefully in case of multple providers available
|
||||
return false;
|
||||
throw new ResourceUnavailableException("There are no NetScaler load balancer devices with the free capacity for implementing this network", DataCenter.class, guestConfig.getDataCenterId());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user