]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tests: rados: sleep before ceph tell osd.0 flush_pg_stats after restart 14710/head
authorNathan Cutler <ncutler@suse.com>
Fri, 21 Apr 2017 09:05:05 +0000 (11:05 +0200)
committerNathan Cutler <ncutler@suse.com>
Tue, 20 Jun 2017 06:11:39 +0000 (08:11 +0200)
commitf46ccf2cb4701cd93cd9b15a4e57b5b97798b947
tree1acee0c668db6dede8db66e09d1c175585ef9b56
parent2469085d57a05933589165f6f99a67b2e28c7022
tests: rados: sleep before ceph tell osd.0 flush_pg_stats after restart

Even though we wait for HEALTH_OK after restarting the daemons, they are not
ready to respond to flush_pg_stats.

The reason why the osd is not ready for "tell" command after "ceph health"
shows that the cluster is "HEALTH_OK" is that the monitor fails to be notified
that the osd in question is not up in "heatbeat_interval". Because infernalis
does not have the osd_fast_fail_on_connection_refused support, the monitor
needs longer to detect that an osd is down, and osd_heartbeat_grace is used to
determine if an osd is down.

References: http://tracker.ceph.com/issues/16239
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/suites/rados/singleton/all/ec-lost-unfound-upgrade.yaml