Re: Ceph dashboard pointing to the wrong grafana server address in iframe

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

 



Thanks Ernesto.

ceph dashboard set-grafana-api-url fixed the problem. I’m not sure how it got set to the wrong server (I am using cephadm and I’m the only administrator) but at least it’s fixed now, so appreciate the help.

-Paul


On Sep 8, 2021, at 1:45 PM, Ernesto Puerta <epuertat@xxxxxxxxxx<mailto:epuertat@xxxxxxxxxx>> wrote:

Hi Paul,

You can check what's the currently set value with: [1]

$ ceph mgr dashboard get-dashboard-api-url

In some set-ups (multi-homed, proxied, ...), you might also need to set up the user-facing IP: [2]

$ ceph dashboard set-grafana-frontend-api-url <grafana-server-url>

If you're running a Cephadm-deployed cluster, Cephadm takes care of that one (you may check Ceph audit logs to find whether someone else modified that setting). [3]

[1] https://docs.ceph.com/en/latest/mgr/dashboard/?highlight=dashboard#configuring-dashboard
[2] https://docs.ceph.com/en/latest/mgr/dashboard/?highlight=dashboard#alternative-url-for-browsers
[3] https://docs.ceph.com/en/latest/cephadm/monitoring/#networks-and-ports

Kind Regards,
Ernesto


On Wed, Sep 8, 2021 at 6:59 PM Paul Giralt (pgiralt) <pgiralt@xxxxxxxxx<mailto:pgiralt@xxxxxxxxx>> wrote:
For some reason, the grafana dashboards in the dashboard are all pointing to a node that does not and has never run the grafana / Prometheus services. I’m not sure where this value is kept and how to change to back.

My two manager nodes are 10.122.242.196 and 10.122.242.198. For some reason, the HTML served by the dashboard running on either of those two nodes points to 10.122.242.197. If I inspect the HTML and change the IP address for the iframe to the .196 address, it all works fine, so the issue is just with the dashboard for some reason thinking that it needs to point to .197. This was all working up until a few days ago.

Any idea where this value is stored and how to fix it?

-Paul

_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx<mailto:ceph-users@xxxxxxx>
To unsubscribe send an email to ceph-users-leave@xxxxxxx<mailto:ceph-users-leave@xxxxxxx>

_______________________________________________
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