{"action":"closed","issue":{"url":"https://api.github.com/repos/devopsftw/vergilius/issues/7","repository_url":"https://api.github.com/repos/devopsftw/vergilius","labels_url":"https://api.github.com/repos/devopsftw/vergilius/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/devopsftw/vergilius/issues/7/comments","events_url":"https://api.github.com/repos/devopsftw/vergilius/issues/7/events","html_url":"https://github.com/devopsftw/vergilius/issues/7","id":183664985,"number":7,"title":"Service watcher stops on consul disconnect","user":{"login":"holycheater","id":21382,"avatar_url":"https://avatars.githubusercontent.com/u/21382?v=3","gravatar_id":"","url":"https://api.github.com/users/holycheater","html_url":"https://github.com/holycheater","followers_url":"https://api.github.com/users/holycheater/followers","following_url":"https://api.github.com/users/holycheater/following{/other_user}","gists_url":"https://api.github.com/users/holycheater/gists{/gist_id}","starred_url":"https://api.github.com/users/holycheater/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holycheater/subscriptions","organizations_url":"https://api.github.com/users/holycheater/orgs","repos_url":"https://api.github.com/users/holycheater/repos","events_url":"https://api.github.com/users/holycheater/events{/privacy}","received_events_url":"https://api.github.com/users/holycheater/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-18T11:53:22Z","updated_at":"2016-12-16T12:01:28Z","closed_at":"2016-12-16T12:01:28Z","body":"```\nERROR:tornado.application:Future exception was never retrieved: Traceback (most recent call last):\n  File \"/usr/local/lib/python2.7/dist-packages/tornado-4.4.2-py2.7-linux-x86_64.egg/tornado/gen.py\", line 1021, in run\n    yielded = self.gen.throw(*exc_info)\n  File \"/opt/vergilius/vergilius/models/certificate.py\", line 46, in watch\n    yield self.tc.kv.get('vergilius/certificates/%s/' % self.service.id, index=index, recurse=True)\n  File \"/usr/local/lib/python2.7/dist-packages/tornado-4.4.2-py2.7-linux-x86_64.egg/tornado/gen.py\", line 1015, in run\n    value = future.result()\n  File \"/usr/local/lib/python2.7/dist-packages/tornado-4.4.2-py2.7-linux-x86_64.egg/tornado/concurrent.py\", line 237, in result\n    raise_exc_info(self._exc_info)\n  File \"/usr/local/lib/python2.7/dist-packages/tornado-4.4.2-py2.7-linux-x86_64.egg/tornado/gen.py\", line 1021, in run\n    yielded = self.gen.throw(*exc_info)\n  File \"build/bdist.linux-x86_64/egg/consul/tornado.py\", line 42, in _request\n    raise gen.Return(callback(self.response(response)))\n  File \"build/bdist.linux-x86_64/egg/consul/base.py\", line 186, in cb\n    CB.__status(response, allow_404=allow_404)\n  File \"build/bdist.linux-x86_64/egg/consul/base.py\", line 143, in __status\n    raise ConsulException(\"%d %s\" % (response.code, response.body))\nConsulException: 500 No cluster leader\nERROR:tornado.application:Future exception was never retrieved: Traceback (most recent call last):\n  File \"/usr/local/lib/python2.7/dist-packages/tornado-4.4.2-py2.7-linux-x86_64.egg/tornado/gen.py\", line 1021, in run\n    yielded = self.gen.throw(*exc_info)\n  File \"/opt/vergilius/vergilius/loop/service_watcher.py\", line 20, in watch_services\n    index, data = yield vergilius.consul_tornado.catalog.services(index, wait=None)\n  File \"/usr/local/lib/python2.7/dist-packages/tornado-4.4.2-py2.7-linux-x86_64.egg/tornado/gen.py\", line 1015, in run\n    value = future.result()\n  File \"/usr/local/lib/python2.7/dist-packages/tornado-4.4.2-py2.7-linux-x86_64.egg/tornado/concurrent.py\", line 237, in result\n    raise_exc_info(self._exc_info)\n  File \"/usr/local/lib/python2.7/dist-packages/tornado-4.4.2-py2.7-linux-x86_64.egg/tornado/gen.py\", line 1021, in run\n    yielded = self.gen.throw(*exc_info)\n  File \"build/bdist.linux-x86_64/egg/consul/tornado.py\", line 42, in _request\n    raise gen.Return(callback(self.response(response)))\n  File \"build/bdist.linux-x86_64/egg/consul/base.py\", line 186, in cb\n    CB.__status(response, allow_404=allow_404)\n  File \"build/bdist.linux-x86_64/egg/consul/base.py\", line 143, in __status\n    raise ConsulException(\"%d %s\" % (response.code, response.body))\nConsulException: 500 rpc error: unexpected EOF\n```\n"}}
{"actor":{"display_login":"ramm"}}