Repository: cloudstack Updated Branches: refs/heads/4.5 0c45c96ec -> f1361796b
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/f1361796 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/f1361796 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/f1361796 Branch: refs/heads/4.5 Commit: f1361796bf1fc73a65c47583dd0a5d6ef2dc3c27 Parents: 0c45c96 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:24:56 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/f1361796/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); } }