]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-rest-api: be more tolerant on network failure
authorKefu Chai <kchai@redhat.com>
Thu, 15 Jun 2017 09:05:25 +0000 (17:05 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 15 Jun 2017 09:28:24 +0000 (17:28 +0800)
commit1acb85ed2ac2392625938954869699fd4682e5f8
tree7d452003fc3d3894ed12202446c9fff46d4ea6df
parent5daf94ce728359badad0a5aaa7d1101b2e76b91d
ceph-rest-api: be more tolerant on network failure

* set timeout for json_command()
* retry on timeout

Fixes: http://tracker.ceph.com/issues/20115
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/ceph_rest_api.py