mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-7843: sync Job Failures always reported as success on Event Bus
This commit is contained in:
parent
131c2f2014
commit
ca66062cd5
@ -253,7 +253,6 @@ public class AsyncJobManagerImpl extends ManagerBase implements AsyncJobManager,
|
|||||||
if (s_logger.isDebugEnabled()) {
|
if (s_logger.isDebugEnabled()) {
|
||||||
s_logger.debug("Publish async job-" + jobId + " complete on message bus");
|
s_logger.debug("Publish async job-" + jobId + " complete on message bus");
|
||||||
}
|
}
|
||||||
publishOnEventBus(job, "complete"); // publish before the instance type and ID are wiped out
|
|
||||||
|
|
||||||
if (s_logger.isDebugEnabled()) {
|
if (s_logger.isDebugEnabled()) {
|
||||||
s_logger.debug("Wake up jobs related to job-" + jobId);
|
s_logger.debug("Wake up jobs related to job-" + jobId);
|
||||||
@ -291,6 +290,8 @@ public class AsyncJobManagerImpl extends ManagerBase implements AsyncJobManager,
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
publishOnEventBus(job, "complete"); // publish before the instance type and ID are wiped out
|
||||||
|
|
||||||
//
|
//
|
||||||
// disable wakeup scheduling now, since all API jobs are currently using block-waiting for sub-jobs
|
// disable wakeup scheduling now, since all API jobs are currently using block-waiting for sub-jobs
|
||||||
//
|
//
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user