Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tasks/dump_stuck: fix failure #1196

Merged
merged 3 commits into from
Oct 6, 2016
Merged

tasks/dump_stuck: fix failure #1196

merged 3 commits into from
Oct 6, 2016

Conversation

liewegas
Copy link
Member

@liewegas liewegas commented Oct 5, 2016

There seem to be two problems: one is that the mon's 'pg dump_stuck ...' result
isn't coherent with the health warning. This is fixed by a ceph commit in
ceph/ceph#11339. The other is that this test
didn't account for the fact that when the OSDs went down the PGs would also
appear unclean because they OSDs may not fail simultaneously. That used
to be a hard case to trigger, but with the RST markdown it happens in the
normal case. We adjust this test so that it reliably happens and then
also assert that PGs are unclean.

Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Sage Weil <sage@redhat.com>
This forces them to be unclean, *then* stale.  This ensures
that after they are both down they are both *always* unclean,
whereas previously it would be possible for them to be only
stale and not unclean.

Signed-off-by: Sage Weil <sage@redhat.com>
@liewegas liewegas merged commit 7620323 into master Oct 6, 2016
@liewegas liewegas deleted the wip-dump-stuck branch October 6, 2016 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant