mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-9725 Failed to update VPC Network during N/w offering Upgrade which doesnt have ACL service Enabled.
check if acl service provider is configured when network is associated with a acl.
This commit is contained in:
parent
cd68e99148
commit
bbff9f1575
|
|
@ -2018,7 +2018,7 @@ public class NetworkServiceImpl extends ManagerBase implements NetworkService {
|
|||
//perform below validation if the network is vpc network
|
||||
if (network.getVpcId() != null && networkOfferingId != null) {
|
||||
Vpc vpc = _entityMgr.findById(Vpc.class, network.getVpcId());
|
||||
_vpcMgr.validateNtwkOffForNtwkInVpc(networkId, networkOfferingId, null, null, vpc, null, _accountMgr.getAccount(network.getAccountId()), null);
|
||||
_vpcMgr.validateNtwkOffForNtwkInVpc(networkId, networkOfferingId, null, null, vpc, null, _accountMgr.getAccount(network.getAccountId()), network.getNetworkACLId());
|
||||
}
|
||||
|
||||
// don't allow to update network in Destroy state
|
||||
|
|
|
|||
Loading…
Reference in New Issue