Skip to content

Commit

Permalink
tests: rados: sleep before ceph tell osd.0 flush_pg_stats after restart
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
smithfarm committed Apr 21, 2017
1 parent 7008c64 commit b6c21ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qa/suites/rados/singleton/all/ec-lost-unfound-upgrade.yaml
Expand Up @@ -26,5 +26,7 @@ tasks:
- print: "upgraded mon.a and friends"
- ceph.restart:
daemons: [mon.a, mon.b, mon.c, osd.0, osd.1, osd.2]
- sleep:
duration: 20 # http://tracker.ceph.com/issues/16239
- ec_lost_unfound:
parallel_bench: false

0 comments on commit b6c21ac

Please sign in to comment.