]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
Set grafana-server user and password in ceph-dashboard role
authorfmount <fpantano@redhat.com>
Thu, 31 Oct 2019 09:49:22 +0000 (10:49 +0100)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Thu, 31 Oct 2019 15:43:54 +0000 (11:43 -0400)
commit20b4234ddc640adf8c1b0ead47147b226423b8cf
treed3b18871dd36a2680580bf6f85cdddf68a54f756
parent6015a6ca4058861c8cf9006c95f2aba323f0fc15
Set grafana-server user and password in ceph-dashboard role

This change adds two tasks to set grafana-api user and password
that are required to inject dashboard layouts to the external
grafana instance.
Without these two parameters the ceph-ansible playbook fails
showing an authorization error (HTTPError: 401 Client Error:
Unauthorized").

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1767365
Signed-off-by: fmount <fpantano@redhat.com>
(cherry picked from commit 41b8c17356fa1273761c3d864f959fbcb11813e7)
roles/ceph-dashboard/tasks/configure_dashboard.yml