Project

General

Profile

Bug #46304

"ceph dashboard set-grafana-api-url" not being applied

Added by Matt Schuchhardt about 1 month ago. Updated 25 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

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.


Related issues

Related to mgr - Bug #46305: mgr/dashboard: `ceph dashboard set-grafana-api-url` not being applied New

History

#1 Updated by Matt Schuchhardt about 1 month ago

Apologies, this is the output from the command: Option GRAFANA_API_URL updated

#2 Updated by Matt Schuchhardt about 1 month ago

...and I posted this to the wrong project. This should be in mgr. Sorry, this is amateur hour today.

#3 Updated by Matt Schuchhardt about 1 month ago

I recreated this in the proper project https://tracker.ceph.com/issues/46305 --- if you could squash this ticket I'd really appreciate it. Sorry about the chatter.

#4 Updated by Sebastian Wagner about 1 month ago

  • Related to Bug #46305: mgr/dashboard: `ceph dashboard set-grafana-api-url` not being applied added

#5 Updated by Sebastian Wagner about 1 month ago

did oyu deploy grafana with cephadm?

#6 Updated by Matt Schuchhardt about 1 month ago

Yep, I did use cephadm for the installation, largely just via the quickstart guide. Everything else seems to be working expectedly, which leads me to believe it's not an orchestrator bug.

#7 Updated by Gregor Krmelj 25 days ago

This issue has been posted multiple times, just listing them here for reference purposes:

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.

Also available in: Atom PDF