mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-7886: cloudstackoperations like deployvm,deleteNW are failing if CS fail to contact rabbit mq server. This is happening in case of Async API calls.
Signed-off-by: Koushik Das <koushik@apache.org>
(cherry picked from commit 50a3c0b2e3)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
bb81082e58
commit
12d1c945f2
|
|
@ -282,11 +282,8 @@ public class ApiServer extends ManagerBase implements HttpRequestHandler, ApiSer
|
|||
try {
|
||||
eventBus.publish(event);
|
||||
} catch (EventBusException evx) {
|
||||
String errMsg = "F" +
|
||||
"" +
|
||||
"ailed to publish async job event on the the event bus.";
|
||||
String errMsg = "Failed to publish async job event on the the event bus.";
|
||||
s_logger.warn(errMsg, evx);
|
||||
throw new CloudRuntimeException(errMsg);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue