]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa: ceph tell must retry on ENXIO 2641/head
authorLoic Dachary <loic-201408@dachary.org>
Sat, 4 Oct 2014 09:34:27 +0000 (11:34 +0200)
committerLoic Dachary <loic-201408@dachary.org>
Sat, 4 Oct 2014 09:34:27 +0000 (11:34 +0200)
commitf1becf9ad7237f36cf65e2b8dc95ee43946fe1fd
treeb7d7dbb5a9ad48d89f0cc788ed3756c2342e4f73
parent67d90318203e40a71c2e83d6dd72588963e49db6
qa: ceph tell must retry on ENXIO

It is expected for ceph tell to fail with ENXIO if the daemon it is
trying to join is not ready for some reason. This should be handled as a
transient error instead of a fatal error.

Add two shell functions to help with retry. They may prove useful if
other cases requiring a few retries show up.

http://tracker.ceph.com/issues/9655 Fixes: #9655

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
qa/workunits/cephtool/test.sh