Bug 1784011

Summary: ceph-ansible should be able to configure multiple grafana instances when ceph dashboard is deployed
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Francesco Pantano <fpantano>
Component: Ceph-AnsibleAssignee: Dimitri Savineau <dsavinea>
Status: CLOSED ERRATA QA Contact: Nathan Weinberg <nweinber>
Severity: high Docs Contact: Ranjini M N <rmandyam>
Priority: high    
Version: 4.0CC: agunn, aschoen, ceph-eng-bugs, dsavinea, epuertat, gabrioux, gfidente, gmeno, knortema, nthomas, nweinber, pasik, rmandyam, tserlin, ykaul, yrabl
Target Milestone: rcKeywords: Triaged
Target Release: 4.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-ansible-4.0.15-1.el8, ceph-ansible-4.0.15-1.el7 Doc Type: Bug Fix
Doc Text:
.Ceph Ansible supports multiple `grafana` instances during a Ceph dashboard deployment Previously, in a multi-node environment, `ceph-ansible` was not able to configure multiple `grafana` instances as only one node was supported, leaving the remaining nodes unconfigured. With this update, `ceph-ansible` supports multiple instances and injects Ceph-specific layouts on all the Ceph Monitor nodes during the deployment of the Ceph Dashboard.
Story Points: ---
Clone Of:
: 1792902 (view as bug list) Environment:
Last Closed: 2020-05-19 17:31:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1760354, 1792233, 1806495, 1816167    

Description Francesco Pantano 2019-12-16 13:50:17 UTC
Description of problem:

During the execution of this playbook [1], the "dashboard grafana dashboards update" command is executed only on the first node because the [2], which sets the grafana_api_url, always points to the first node.
The result is a wrong mgr configuration that points to a single grafana instance (and push the dashboard layouts always on the same instance).


[1] https://github.com/ceph/ceph-ansible/blob/master/roles/ceph-dashboard/tasks/configure_dashboard.yml
[2] https://github.com/ceph/ceph-ansible/blob/master/roles/ceph-dashboard/tasks/configure_dashboard.yml#L98


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 12 errata-xmlrpc 2020-05-19 17:31:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:2231