]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: set dashboard grafana-api-password when user provides one 47658/head
authorAdam King <adking@redhat.com>
Wed, 10 Aug 2022 19:58:44 +0000 (15:58 -0400)
committerAdam King <adking@redhat.com>
Wed, 17 Aug 2022 17:43:51 +0000 (13:43 -0400)
commit1a00fb58b94a058d3005df9c267fec6e89ff3e1e
treea40d0cfbf2cdf4dd2c3728209520ff7722a6b1d8
parent687c45bd409b307d831428c9ed7047f5c492cd6c
mgr/cephadm: set dashboard grafana-api-password when user provides one

If a user provides this in the spec, cephadm will set up the inital admin
user with the given password, but the conig setting accessed with
"ceph dashboard get-grafana-api-password" is never updated. Cephadm
can handle updating it since it's the one setting the password.

Fixes: https://tracker.ceph.com/issues/57095
Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit c7d84f93b11915b2668af225eedd33781bb9a07b)
src/pybind/mgr/cephadm/services/ingress.py
src/pybind/mgr/cephadm/services/monitoring.py