mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
CLOUDSTACK-5938 Failing add host in security group enabled zone, when CSP is not installed
This commit is contained in:
parent
f999a01837
commit
4b3784a98e
@ -4986,6 +4986,13 @@ public abstract class CitrixResourceBase implements ServerResource, HypervisorRe
|
||||
|
||||
if (_securityGroupEnabled) {
|
||||
_canBridgeFirewall = can_bridge_firewall(conn);
|
||||
if (!_canBridgeFirewall) {
|
||||
String msg = "Failed to configure brige firewall";
|
||||
s_logger.warn(msg);
|
||||
s_logger.warn("Check host " + _host.ip +" for CSP is installed or not and check network mode for bridge");
|
||||
return new SetupAnswer(cmd, msg);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
String result = callHostPluginPremium(conn, "heartbeat", "host", _host.uuid, "interval", Integer.toString(_heartbeatInterval));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user