Skip to content

Commit 93cd858

Browse files
authored
Merge pull request ceph#56858 from rhcs-dashboard/fix-grafana-server-depreciation
mgr/dashboard: use grafana server instead of grafana-server in grafana 10.4.0 Reviewed-by: Adam King <[email protected]> Reviewed-by: Ken Dreyer <[email protected]>
2 parents 5061658 + ba7b6ec commit 93cd858

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cephadm/cephadm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3568,7 +3568,7 @@ def list_daemons(
35683568
elif daemon_type == 'grafana':
35693569
out, err, code = call(ctx,
35703570
[container_path, 'exec', container_id,
3571-
'grafana-server', '-v'],
3571+
'grafana', 'server', '-v'],
35723572
verbosity=CallVerbosity.QUIET)
35733573
if not code and \
35743574
out.startswith('Version '):
@@ -4074,7 +4074,7 @@ def command_adopt_grafana(ctx, daemon_id, fsid):
40744074
ports = Monitoring.port_map['grafana']
40754075
endpoints = [EndPoint('0.0.0.0', p) for p in ports]
40764076

4077-
_stop_and_disable(ctx, 'grafana-server')
4077+
_stop_and_disable(ctx, 'grafana server')
40784078

40794079
ident = DaemonIdentity(fsid, daemon_type, daemon_id)
40804080
data_dir_dst = make_data_dir(

0 commit comments

Comments
 (0)