GitHub PushEvent at 2014-11-25 15:38:11
Repository: openstack
Actor: openstack-gerrit
Payload: {"shas":[["91cebfb13a1c33ab45a1a1933d22026ede67e380","d95b56ce41a2e1ac4cecdd398defd7414407cc08@review.openstack.org","Updated openstack/openstack\nProject: openstack/ceilometer  1c5b84ab2692d528b55cc7a7772dd0be04ab90cc\n\nAdd timeout to all http requests\n\nCurrently, we generate lots of samples by polling data from other services,\nbut theses rest requests have no timeout limitation. We have observed that\nsome requests (for example, keystone due to openssl problem) may stuck for\nover several days (maybe forever if we don't restart the service). Other\npollsters in same thread will not be able to work too. The worst thing is\nthat, when outside (keystone) service becomes normal, Ceilometer cannot\nrecover itself automatically, cloud operator needs to restart it manually.\n\nSo I strongly suggest that we should add timeout limit to **every** rest api\ncall, this is quite important to improve Ceilometer's robust and reliability.\n\nThis patch adds a new option named http_timeout, and applies it to almost\nall http requests in Ceilometer project.\n\nChange-Id: I76df2c0a9ffacb252e15edbb125e37ccb2aac4aa\nCloses-Bug: #1388778","Jenkins",true]],"size":1,"ref":"refs/heads/master","head":"91cebfb13a1c33ab45a1a1933d22026ede67e380"}