mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
CLOUDSTACK-1288: Fix regression on remove LB rules
It's a regression caused by:
commit 69d24545c4f0e316dba534b6d5d99308795db6d4
Author: Murali Reddy <murali.reddy@citrix.com>
Date: Fri Feb 8 18:50:18 2013 +0530
CLOUDSTACK-1208: Failed to shutdown guest network
Firewall manager was being used instead of LoadBalancingRules manager
while applying the load balancer rules in shut down network. Changing it
to LoadBalancingRules manager.
The parameter transferre to applyRules() should be lbRules, rather than the lbs
object.
This commit is contained in:
parent
d84a8601e5
commit
667a1d18a4
@ -3070,7 +3070,7 @@ public class NetworkManagerImpl extends ManagerBase implements NetworkManager, L
|
||||
}
|
||||
|
||||
try {
|
||||
if (!_lbMgr.applyRules(network, Purpose.LoadBalancing, lbs)) {
|
||||
if (!_lbMgr.applyRules(network, Purpose.LoadBalancing, lbRules)) {
|
||||
s_logger.warn("Failed to cleanup lb rules as a part of shutdownNetworkRules");
|
||||
success = false;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user