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 <[email protected]>
(cherry picked from commit 50a3c0b2e30009579c3692e639d32ea608e9e8f9)
Signed-off-by: Rohit Yadav <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/ac371070
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/ac371070
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/ac371070

Branch: refs/heads/4.4
Commit: ac371070b47890f0e349af3c8d57d55094945b15
Parents: ab64ff1
Author: Damodar <[email protected]>
Authored: Tue Nov 11 18:16:06 2014 +0530
Committer: Rohit Yadav <[email protected]>
Committed: Thu Dec 11 20:33:20 2014 +0530

----------------------------------------------------------------------
 server/src/com/cloud/api/ApiServer.java | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ac371070/server/src/com/cloud/api/ApiServer.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/ApiServer.java 
b/server/src/com/cloud/api/ApiServer.java
index 800b782..19a183e 100755
--- a/server/src/com/cloud/api/ApiServer.java
+++ b/server/src/com/cloud/api/ApiServer.java
@@ -298,11 +298,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);
         }
     }
 

Reply via email to