Bug #45092
closedgranfana api url - cephadm
0%
Description
Upon creating a cephadm grafana using 'ceph orch apply grafana 1'
The api url is automatically set to the internal hostname of the selected server, meaning the dashboard will only work when connected locally on the cluster with a local entry for the internal hostname.
Using 'ceph config set mgr mgr/dashboard/GRAFANA_API_URL' to update to the correct hostname works however, it seems cephadm sets the value back within a second to the incorrect url as seen by the logs via 'ceph config log'
--- 73 --- 2020-04-14T17:25:02.552810+0000 ---
- mgr/mgr/dashboard/GRAFANA_API_URL = https://sn-s03.xxxxxxx:3000
+ mgr/mgr/dashboard/GRAFANA_API_URL = https://sn-s03:3000
--- 72 --- 2020-04-14T17:25:02.537281+0000 ---
- mgr/mgr/dashboard/GRAFANA_API_URL = https://sn-s03:3000
+ mgr/mgr/dashboard/GRAFANA_API_URL = https://sn-s03.xxxxxxx:3000
Updated by Sebastian Wagner about 4 years ago
- Project changed from Ceph to Orchestrator
- Category deleted (
common)
Updated by Sebastian Wagner about 4 years ago
- Related to Bug #44877: mgr/dashboard: allow custom dashboard grafana url when set by cephadm added
Updated by Sebastian Wagner about 4 years ago
- Category set to cephadm
- Status changed from New to Duplicate
Thanks for reporting this! (duplicates #44877)