On 06/09/2024 10:27, Matthew Vernon wrote:
On 06/09/2024 08:08, Redouane Kachach wrote:
That makes sense. The ipv6 BUG can lead to the issue you described. In
the current implementation whenever a mgr failover takes place,
prometheus configuration (when using the monitoring stack deployed by
Ceph) is updated automatically to point to the new active mgr.
Unfortunately it's not easy to have active services running in the
standby mgr. At most, we can do some redirection as we do in the
dashboard.
I've had a little look at the standby mode in the prometheus module; it
can already figure out the active metrics URL via
module.get_active_uri(), so it looks like adding an additional
"redirect" standby_behaviour that emits an HTTPRedirect to the active
URI wouldn't be too hard. Is that a change you'd be in principle willing
to accept?
In fact, it looks like Prometheus is content with the empty responses
from the standby mgrs, so this isn't necessary.
Regards,
Matthew
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx