Actions
Bug #43610
openmgr/dashboard: perform validation on GRAFANA_API_URL
% Done:
100%
Source:
Q/A
Tags:
low-hanging-fruit
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Description
Currently GRAFANA_API_URL expects "http[s]://<FQDN>:<port>" syntax, but allows also "<FQDN>:<port>".
However that latter expression results in the concatenation of the Dashboard address + Grafana address (e.g.: Grafana Iframe source points to "http://<dash_hostname>:<dash_port>/<grafana_hostname>:<grafana_port>"/d/...").
Unless is for an intentional use-case, the CLI command "ceph dashboard set-grafana-api-url" should perform some check and indicate any errors if this format is entered.
Actions