BlueStore and BlueFS warnings after upgrade to 19.2.1
Dear Ceph users, after upgrading from 19.2.0 to 19.2.1 (via cephadm) my cluster started showing some warnings never seen before: 29 OSD(s) experiencing slow operations in BlueStore 13 OSD(s) experiencing stalled read in db device of BlueFS I searched for these messages but didn't find much. I also noticed that when browsing the CephFS folders (using the kernel module for the client) sometimes the client gets stuck for a long time before showing the folder content; however I don't know if this can be related to the above warnings. I'd need help to understand what's going on and eventually how to troubleshoot it. Thanks, Nicola
Hi Nicola, A quick look in Ceph repository points to this commit [1] and this part [2] of the documentation. I doubt your cluster is actually performing worse than it did before the update. It's just that now it's letting you know when performance isn't optimal (when queries exceed the default threshold). Regards, Frédéric. [1] https://github.com/ceph/ceph/commit/73b80a9a2c38259346fb646f85fa2ba4dcbb1329 [2] https://docs.ceph.com/en/latest/rados/operations/health-checks/#block-device... ----- Le 7 Mar 25, à 17:05, Nicola Mori mori@fi.infn.it a écrit :
Dear Ceph users,
after upgrading from 19.2.0 to 19.2.1 (via cephadm) my cluster started showing some warnings never seen before:
29 OSD(s) experiencing slow operations in BlueStore 13 OSD(s) experiencing stalled read in db device of BlueFS
I searched for these messages but didn't find much. I also noticed that when browsing the CephFS folders (using the kernel module for the client) sometimes the client gets stuck for a long time before showing the folder content; however I don't know if this can be related to the above warnings.
I'd need help to understand what's going on and eventually how to troubleshoot it. Thanks,
Nicola
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
Understood, Frédéric. What should I look at to try to understand the underlying reason for the warning and eventually fix it? Moreover, could this be the reason why the listing of directory contents gets stalled? Thank you, Nicola
Sorry, I forgot to help you with the troubleshooting. Usually, when slow requests appear in the Ceph status output, running 'ceph tell osd.X dump_historic_ops' allows you to see which I/O operations took a long time to execute. The value of X is reported by the Ceph status. Does 'ceph health detail' provide any useful information, such as an OSD ID? Regards, Frédéric. [3] https://docs.ceph.com/en/latest/rados/troubleshooting/troubleshooting-osd/#d... ----- Le 7 Mar 25, à 17:52, Frédéric Nass frederic.nass@univ-lorraine.fr a écrit :
Hi Nicola,
A quick look in Ceph repository points to this commit [1] and this part [2] of the documentation.
I doubt your cluster is actually performing worse than it did before the update. It's just that now it's letting you know when performance isn't optimal (when queries exceed the default threshold).
Regards, Frédéric.
[1] https://github.com/ceph/ceph/commit/73b80a9a2c38259346fb646f85fa2ba4dcbb1329 [2] https://docs.ceph.com/en/latest/rados/operations/health-checks/#block-device...
----- Le 7 Mar 25, à 17:05, Nicola Mori mori@fi.infn.it a écrit :
Dear Ceph users,
after upgrading from 19.2.0 to 19.2.1 (via cephadm) my cluster started showing some warnings never seen before:
29 OSD(s) experiencing slow operations in BlueStore 13 OSD(s) experiencing stalled read in db device of BlueFS
I searched for these messages but didn't find much. I also noticed that when browsing the CephFS folders (using the kernel module for the client) sometimes the client gets stuck for a long time before showing the folder content; however I don't know if this can be related to the above warnings.
I'd need help to understand what's going on and eventually how to troubleshoot it. Thanks,
Nicola
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
ceph health detail actually gives me the number of affected OSDs, e.g.: [WRN] DB_DEVICE_STALLED_READ_ALERT: 13 OSD(s) experiencing stalled read in db device of BlueFS osd.28 observed stalled read indications in DB device I tried to inspect the output of ceph tell osd.28 dump_historic_ops but it's not so easy for me. What I noticed is that no operation seems to take too much time; the maximum value reported by ceph tell osd.6 dump_historic_ops | grep duration is 1.9306359419999999 (seconds, I guess). Can this be enough to trigger the warning?
I think it's enough as the default threshold is 1s if I read correctly (on my phone right now). Regards Frédéric. ________________________________ De : Nicola Mori <mori@fi.infn.it> Envoyé : vendredi 7 mars 2025 18:13 À : ceph-users Objet : [ceph-users] Re: BlueStore and BlueFS warnings after upgrade to 19.2.1 ceph health detail actually gives me the number of affected OSDs, e.g.: [WRN] DB_DEVICE_STALLED_READ_ALERT: 13 OSD(s) experiencing stalled read in db device of BlueFS osd.28 observed stalled read indications in DB device I tried to inspect the output of ceph tell osd.28 dump_historic_ops but it's not so easy for me. What I noticed is that no operation seems to take too much time; the maximum value reported by ceph tell osd.6 dump_historic_ops | grep duration is 1.9306359419999999 (seconds, I guess). Can this be enough to trigger the warning?
Ok, thank you. I'll try to understand if there's something I can do about it. Nicola
Den fre 7 mars 2025 kl 17:05 skrev Nicola Mori <mori@fi.infn.it>:
Dear Ceph users,
after upgrading from 19.2.0 to 19.2.1 (via cephadm) my cluster started showing some warnings never seen before:
29 OSD(s) experiencing slow operations in BlueStore 13 OSD(s) experiencing stalled read in db device of BlueFS
I searched for these messages but didn't find much. I also noticed that when browsing the CephFS folders (using the kernel module for the client) sometimes the client gets stuck for a long time before showing the folder content; however I don't know if this can be related to the above warnings.
Would it be possible for the people that implement these warnings (or lower the thresholds significantly so they suddenly trigger) to put something visible somewhere? It seems like these kinds of warnings (like "too many PGs per OSD" around Luminous, "Large omaps" a bit later) pop out of nowhere for us admins in a minor release and while I could find https://github.com/ceph/ceph/pull/59464/files by really,really looking through the Changelog for 19.2.1, it is by no means easy to know for Nicola here above if this warning has been in there for 3 major releases or if the condition appeared randomly at the same time as the minor upgrade. Is this the way we ceph admins are expected to "learn" about how these things work, and wonder if it was related to what someone recently did or if it indicates a bad set of drives or just new ceph code that isn't correctly tuned yet? It seems a bit like a pattern to just drop surprises like this on us with no info on what to do, and I would like to think that this is just a series of "random" accidents that just look very much alike, but there seem to be few good explanations for why it happens so often. As seen by the pull request, someone did a lot of writing about rationale for the addition, some things about the values chosen, and all the changelog had was this line "squid: os/bluestore: Warning added for slow operations and stalled read (pr#59464, Md Mahamudur Rahaman Sajib)" hidden among all the other changes. If we want people to dare run latest releases so we can notice the real bugs early, we need to be able to get information about "you might see the text experiencing slow operations in BlueStore and this means you should read URL-GOES-HERE" or something. Otherwise we are looking at https://docs.ceph.com/en/latest/releases/squid/#notable-changes seeing nothing, googling for this error message will be super useful 2.5 years from now when "everyone" has had time to post on reddit and maillist and pasted it on slack/IRC, but for the early adopters of ceph 19.2.x, this feels like a bad way to start validating a cluster upgrade by having hard-to-find warnings suddenly pop up. -- May the most significant bit of your life be positive.
Hi Nicola, from my experience "stalled" reads often indicate low-level/hardware issues - you might want to check kernel log on relevant nodes - likely there've been some relevant errors reported. Thanks, Igor On 07.03.2025 19:05, Nicola Mori wrote:
Dear Ceph users,
after upgrading from 19.2.0 to 19.2.1 (via cephadm) my cluster started showing some warnings never seen before:
29 OSD(s) experiencing slow operations in BlueStore 13 OSD(s) experiencing stalled read in db device of BlueFS
I searched for these messages but didn't find much. I also noticed that when browsing the CephFS folders (using the kernel module for the client) sometimes the client gets stuck for a long time before showing the folder content; however I don't know if this can be related to the above warnings.
I'd need help to understand what's going on and eventually how to troubleshoot it. Thanks,
Nicola
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
participants (4)
-
Frédéric Nass
-
Igor Fedotov
-
Janne Johansson
-
Nicola Mori