use of com.sequenceiq.freeipa.sync.InterruptSyncingException in project cloudbreak by hortonworks.
the class NodeStatusJob method executeTracedJob.
@Override
protected void executeTracedJob(JobExecutionContext context) throws JobExecutionException {
Long stackId = getStackId();
Stack stack = stackService.getByIdWithListsInTransaction(stackId);
try {
if (flowLogService.isOtherFlowRunning(stackId)) {
LOGGER.debug("NodeStatusJob cannot run, because flow is running for freeipa stack: {}", stackId);
} else {
LOGGER.debug("No flows running, trying to check node status for freeipa");
checkNodeHealthReports(stack);
}
} catch (InterruptSyncingException e) {
LOGGER.info("Node status check was interrupted", e);
}
}
Aggregations