Fwd: ceph-dashboard odd behavior when visiting through haproxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi ceph-users,


I'm not sure if this mail got send correctly, my colleague seems to not have received it.
Either way. We've managed to replicate this issue from a local http_check test. The ceph-mgr seems to go down with every first visit, and works perfectly fine right after a couple re-visits.



Has anyone else seen this issue before?


Thanks in advance,
- Demian



 From:   Demian Romeijn <dromeijn@xxxxxxxx> 
 To:   <ceph-users@xxxxxxx> 
 Sent:   12/22/2023 2:14 PM 
 Subject:   ceph-dashboard odd behavior when visiting through haproxy 


I'm currently trying to setup a ceph-dashboard using the official documentation on how to do so.
I've managed to log-in by just visiting the URL & port, and by visting it through haproxy. However using haproxy to visit the site results in odd behavior.


At my first login, nothing loads on the page and eventually at ~5s it times me out, sending me back to the log-in screen.
After logging back on to the dashboard, everything loads and functions as expected. I can refresh my browser as many times as I want and it still keeps on working.
After some time, usually ~30 minutes or so of inactivity, the problem arises again. 



Haproxy tells us the server is down for about ~10 seconds, running a simple HTTP check results in the following aswell: CRITICAL - Socket timeout after 10 seconds.
In the ceph-mgr logs there isn't any special error other than: [dashboard ERROR frontend.error] (https://*redacted*/#/login): Http failure response for https://*redacted*/ui-api/orchestrator/get_name: 401 OK None
It seems as such the ceph dashboard is "overloaded", changing haproxy config (following the official ceph documentation on how to set it up) to do health-checks less often results in the problem happening less often. 



Anything I might've overlooked that could sort out the issue?
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux