{"action":"created","issue":{"url":"https://api.github.com/repos/apache/cloudstack/issues/857","labels_url":"https://api.github.com/repos/apache/cloudstack/issues/857/labels{/name}","comments_url":"https://api.github.com/repos/apache/cloudstack/issues/857/comments","events_url":"https://api.github.com/repos/apache/cloudstack/issues/857/events","html_url":"https://github.com/apache/cloudstack/pull/857","id":107445500,"number":857,"title":"Cloudstack-8885 added blocked connection listener for rabbitmqeventbus ","user":{"login":"karuturi","id":186833,"avatar_url":"https://avatars.githubusercontent.com/u/186833?v=3","gravatar_id":"","url":"https://api.github.com/users/karuturi","html_url":"https://github.com/karuturi","followers_url":"https://api.github.com/users/karuturi/followers","following_url":"https://api.github.com/users/karuturi/following{/other_user}","gists_url":"https://api.github.com/users/karuturi/gists{/gist_id}","starred_url":"https://api.github.com/users/karuturi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karuturi/subscriptions","organizations_url":"https://api.github.com/users/karuturi/orgs","repos_url":"https://api.github.com/users/karuturi/repos","events_url":"https://api.github.com/users/karuturi/events{/privacy}","received_events_url":"https://api.github.com/users/karuturi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-21T05:06:07Z","updated_at":"2015-09-21T05:09:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/cloudstack/pulls/857","html_url":"https://github.com/apache/cloudstack/pull/857","diff_url":"https://github.com/apache/cloudstack/pull/857.diff","patch_url":"https://github.com/apache/cloudstack/pull/857.patch"},"body":"When rabbitmq connections are blocked(for example when rabbitmq is\r\nserver is out of space), all the cloudstack threads which does any\r\naction and publishes to rabbitmq(for example login, launch vm etc.) are\r\nall blocked.\r\n\r\nAdded a blocked connection listener to handle this and unblock the\r\nparent thread.\r\n\r\nalso updated rabbitmq amqp client to 3.5.4 from 3.4.2 \r\n\r\nTesting:\r\nI didnt find a way to write tests for this change as of now. \r\nmanually tested that login and other cloudstack apis work when the configured rabbitmq server goes out of space and publish actions are blocked."},"comment":{"url":"https://api.github.com/repos/apache/cloudstack/issues/comments/141879282","html_url":"https://github.com/apache/cloudstack/pull/857#issuecomment-141879282","issue_url":"https://api.github.com/repos/apache/cloudstack/issues/857","id":141879282,"user":{"login":"asfbot","id":5243949,"avatar_url":"https://avatars.githubusercontent.com/u/5243949?v=3","gravatar_id":"","url":"https://api.github.com/users/asfbot","html_url":"https://github.com/asfbot","followers_url":"https://api.github.com/users/asfbot/followers","following_url":"https://api.github.com/users/asfbot/following{/other_user}","gists_url":"https://api.github.com/users/asfbot/gists{/gist_id}","starred_url":"https://api.github.com/users/asfbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asfbot/subscriptions","organizations_url":"https://api.github.com/users/asfbot/orgs","repos_url":"https://api.github.com/users/asfbot/repos","events_url":"https://api.github.com/users/asfbot/events{/privacy}","received_events_url":"https://api.github.com/users/asfbot/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T05:09:12Z","updated_at":"2015-09-21T05:09:12Z","body":"[cloudstack-pull-rats #668](https://builds.apache.org/job/cloudstack-pull-rats/668/) SUCCESS\nThis pull request looks good"}}