mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-4442: Source NAT not applied when network starts up
fixing the buid break introduced with prev commit for this bug
(cherry picked from commit 255c8473db)
Signed-off-by: animesh <animesh@apache.org>
This commit is contained in:
parent
1cd53833d1
commit
ea738cb5fb
|
|
@ -2000,7 +2000,7 @@ public class VpcManagerImpl extends ManagerBase implements VpcManager, VpcProvis
|
|||
boolean success = false;
|
||||
try {
|
||||
//unassign ip from the VPC router
|
||||
success = _ntwkMgr.applyIpAssociations(_ntwkModel.getNetwork(networkId), true);
|
||||
success = _ntwkMgr.applyIpAssociations(_ntwkModel.getNetwork(networkId), true, false);
|
||||
} catch (ResourceUnavailableException ex) {
|
||||
throw new CloudRuntimeException("Failed to apply ip associations for network id=" + networkId +
|
||||
" as a part of unassigning ip " + ipId + " from vpc", ex);
|
||||
|
|
|
|||
Loading…
Reference in New Issue