From f1361796bf1fc73a65c47583dd0a5d6ef2dc3c27 Mon Sep 17 00:00:00 2001 From: Damodar Date: Tue, 11 Nov 2014 18:16:06 +0530 Subject: [PATCH] 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 --- server/src/com/cloud/api/ApiServer.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/server/src/com/cloud/api/ApiServer.java b/server/src/com/cloud/api/ApiServer.java index e29ddd30512..2156d60e99c 100755 --- a/server/src/com/cloud/api/ApiServer.java +++ b/server/src/com/cloud/api/ApiServer.java @@ -304,11 +304,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); } }