"ceph dashboard set-grafana-api-url" not being applied when using cephadm
When I run `ceph dashboard set-grafana-api-url https://example.com:443`, I see the following output:
However, it doesn't seem to update the configurations accordingly. When I run `ceph dashboard get-grafana-api-url`, it displays the original URL, rather than the example.com URL. This persists after dashboard disables/enable and mgr restarts as well.
#7 Updated by Gregor Krmelj 10 months ago
The fix was supposedly solved in this commit: https://github.com/ceph/ceph/commit/935a56ab0ca810c8d348609a99483372404f9cdf#diff-b2eb7e15b64fdea42d7c8afdab01bcbcR251
with the introduction of the dashboard `config_dashboard` setting.
Setting `config_dashboard` to `False` is suppose to disable cephadm from managing the dashboard (incl. the API URL settings).
I tracked down this commit but to the best of my ability I see it didn't make the v15.2.4 release.
I had the same issue and I found somewhere (can't find the exact source now) mention a possible workaround. Set the host's address field to the fqdn and leave the host name with the default hostname (not fqdn) as per docs recommendation (https://docs.ceph.com/docs/master/cephadm/concepts/#fully-qualified-domain-names-vs-bare-host-names)
ceph orch host set-addr <host> <fqdn>
In my use case this was a viable workaround.