mirror of https://github.com/apache/cloudstack.git
fixes a bug where management server has conflicts causes problems
This commit is contained in:
parent
e66baae84e
commit
e8e9bbccfb
|
|
@ -689,8 +689,15 @@ public class ClusterManagerImpl implements ClusterManager {
|
|||
s_logger.info("Starting cluster manager, msid : " + _msid);
|
||||
}
|
||||
|
||||
try {
|
||||
checkConflicts();
|
||||
} catch (ConfigurationException e1) {
|
||||
throw new CloudRuntimeException("Conflicts in management server configurations detected", e1);
|
||||
}
|
||||
|
||||
Transaction txn = Transaction.currentTxn();
|
||||
try {
|
||||
|
||||
txn.start();
|
||||
|
||||
final Class<?> c = this.getClass();
|
||||
|
|
@ -847,8 +854,6 @@ public class ClusterManagerImpl implements ClusterManager {
|
|||
throw new ConfigurationException("Unable to set current cluster service adapter");
|
||||
}
|
||||
|
||||
checkConflicts();
|
||||
|
||||
if(s_logger.isInfoEnabled()) {
|
||||
s_logger.info("Cluster manager is configured.");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue