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.
Updated by Ernesto Puerta about 3 years ago
- Translation missing: en.field_tag_list set to low-hanging-fruit
Updated by Ernesto Puerta about 3 years ago
- Project changed from mgr to Dashboard
- Category changed from 148 to Monitoring
Updated by Francesco Torchia over 1 year ago
- Status changed from New to In Progress
- % Done changed from 0 to 50
Updated by Francesco Torchia over 1 year ago
- Status changed from In Progress to Fix Under Review
- % Done changed from 50 to 100
- Pull request ID set to 47755
Actions