Skip to contentSkip to conversation

"1 hosts down" health warning?

DISCUSSION Sage Weil 4 participants 5 messages May 9, 2016 – May 13, 2016 2 messages not in the archive

lore
Share & tools
lore

Sage Weil

author
#0 lore raw

We have a feature (mon_osd_reporter_subtree_level = host) that makes it so that if an entire host is down (or whatever the configured hierarchy level is) the osds aren't automatically marked out after 5 minutes.

This is confusing on an actual cluster because you see something like

            48/5661 in osds are down

bit it never clears. It's not until you look at the ceph osd tree output that you can see why they aren't getting marked out.

It would be great if the health warning said something like

48/5661 in osds are down
1/142 hosts are down (accounting for 48/48 down osds)

and the health detail said something like

host foo is down with 48 OSDs

I think this would be pretty easy to implement given the mon is already doing the subtree-based checks.

Thoughts? Any takers?

sage

#1 lore raw
Quoted 20 lines

Op 9 mei 2016 om 18:36 schreef Sage Weil <[email protected]>:

We have a feature (mon_osd_reporter_subtree_level = host) that makes it so that if an entire host is down (or whatever the configured hierarchy level is) the osds aren't automatically marked out after 5 minutes.

This is confusing on an actual cluster because you see something like

            48/5661 in osds are down

bit it never clears. It's not until you look at the ceph osd tree output that you can see why they aren't getting marked out.

It would be great if the health warning said something like

48/5661 in osds are down
1/142 hosts are down (accounting for 48/48 down osds)

Quoted 8 lines

and the health detail said something like

host foo is down with 48 OSDs

I think this would be pretty easy to implement given the mon is already doing the subtree-based checks.

Thoughts? Any takers?

Seems like a good thing to have. I wouldn't say 'host', since 'mon_osd_reporter_subtree_level' could be set to rack or row if you want to.

Maybe:

480/6720 in osds are down
1/14 of CRUSH type 'rack' are down (accounting for 480/480 down osds)

That seems more logical to me.

Wido

Quoted 6 lines

sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#2 lore raw
Quoted 28 lines · Wido den Hollander
Quoted 19 lines

Op 9 mei 2016 om 18:36 schreef Sage Weil <[email protected]>:

We have a feature (mon_osd_reporter_subtree_level = host) that makes it so that if an entire host is down (or whatever the configured hierarchy level is) the osds aren't automatically marked out after 5 minutes.

This is confusing on an actual cluster because you see something like

            48/5661 in osds are down

bit it never clears. It's not until you look at the ceph osd tree output that you can see why they aren't getting marked out.

It would be great if the health warning said something like

48/5661 in osds are down
1/142 hosts are down (accounting for 48/48 down osds)

Quoted 8 lines

and the health detail said something like

host foo is down with 48 OSDs

I think this would be pretty easy to implement given the mon is already doing the subtree-based checks.

Thoughts? Any takers?

Quoted 8 lines

Seems like a good thing to have. I wouldn't say 'host', since 'mon_osd_reporter_subtree_level' could be set to rack or row if you want to.

Maybe:

480/6720 in osds are down
1/14 of CRUSH type 'rack' are down (accounting for 480/480 down osds)

Yeah. I was thinking it'd be

             1/14 ${type}s are down (accounting for 480/480 down osds)

e.g.,

1/14 racks are down (accounting for 480/480 down osds)

just because concise is usually better.

sage

A message that is not in the archive (sent off-list or not yet received): CAE7zfpNCuz1z2SpUfTLuyYZOXRtuDpcYkGtdh8NcH+eM7mbh8g@mail.gmail.com

A message that is not in the archive (sent off-list or not yet received): 0F5BA49776CB7C4E95E7E581BEF5C2FC93CD00@PHX-EXRDA-S22.corp.ebay.com

#5 lore raw

Hi:

I can take this task.

From: Sage Weil <[email protected]>
Date: Tue, May 10, 2016 at 8:11 PM
Subject: Re: "1 hosts down" health warning?
To: Wido den Hollander <[email protected]>
Cc: [email protected]

Quoted 28 lines · Wido den Hollander
Quoted 19 lines

Op 9 mei 2016 om 18:36 schreef Sage Weil <[email protected]>:

We have a feature (mon_osd_reporter_subtree_level = host) that makes it so that if an entire host is down (or whatever the configured hierarchy level is) the osds aren't automatically marked out after 5 minutes.

This is confusing on an actual cluster because you see something like

            48/5661 in osds are down

bit it never clears. It's not until you look at the ceph osd tree output that you can see why they aren't getting marked out.

It would be great if the health warning said something like

48/5661 in osds are down
1/142 hosts are down (accounting for 48/48 down osds)

Quoted 8 lines

and the health detail said something like

host foo is down with 48 OSDs

I think this would be pretty easy to implement given the mon is already doing the subtree-based checks.

Thoughts? Any takers?

Quoted 8 lines

Seems like a good thing to have. I wouldn't say 'host', since 'mon_osd_reporter_subtree_level' could be set to rack or row if you want to.

Maybe:

480/6720 in osds are down
1/14 of CRUSH type 'rack' are down (accounting for 480/480 down osds)

Yeah. I was thinking it'd be

             1/14 ${type}s are down (accounting for 480/480 down osds)

e.g.,

1/14 racks are down (accounting for 480/480 down osds)

just because concise is usually better.

sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#6 lore raw
In reply to Sage Weil

I really like this, +1 :)

Quoted 30 lines · Sage Weil

We have a feature (mon_osd_reporter_subtree_level = host) that makes it so that if an entire host is down (or whatever the configured hierarchy level is) the osds aren't automatically marked out after 5 minutes.

This is confusing on an actual cluster because you see something like

            48/5661 in osds are down

bit it never clears. It's not until you look at the ceph osd tree output that you can see why they aren't getting marked out.

It would be great if the health warning said something like

48/5661 in osds are down
1/142 hosts are down (accounting for 48/48 down osds)

and the health detail said something like

host foo is down with 48 OSDs

I think this would be pretty easy to implement given the mon is already doing the subtree-based checks.

Thoughts? Any takers?

sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 1 line
Kyle Bader