Repository: cloudstack Updated Branches: refs/heads/master 5c388a5c8 -> 50a3c0b2e
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 <kous...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/50a3c0b2 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/50a3c0b2 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/50a3c0b2 Branch: refs/heads/master Commit: 50a3c0b2e30009579c3692e639d32ea608e9e8f9 Parents: 5c388a5 Author: Damodar <damoder.re...@citrix.com> Authored: Tue Nov 11 18:16:06 2014 +0530 Committer: Koushik Das <kous...@apache.org> Committed: Wed Nov 12 10:12:15 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/50a3c0b2/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 e29ddd3..2156d60 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); } }