Bug 1860815

Summary: Failed to setup grafana and Ceph Dashboard certificates and keys when "dashboard_protocol" is 'https'
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Francesco Pantano <fpantano>
Component: Ceph-AnsibleAssignee: Dimitri Savineau <dsavinea>
Status: CLOSED ERRATA QA Contact: Sunil Angadi <sangadi>
Severity: high Docs Contact:
Priority: high    
Version: 4.1CC: anharris, aschoen, ceph-eng-bugs, dsavinea, gabrioux, gfidente, gmeno, johfulto, nthomas, sangadi, tserlin, vereddy, xili, ykaul
Target Milestone: z2   
Target Release: 4.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-ansible-4.0.29-1.el8cp, ceph-ansible-4.0.29-1.el7cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-30 17:26:28 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, 1856999    
Attachments:
Description Flags
ceph_ansible execution
none
OSP inventory.yml used by ceph-ansible none

Description Francesco Pantano 2020-07-27 07:54:12 UTC
Description of problem:

In the OSP integration context, when the dashboard is deployed using tls-everywhere framework,
the dashboard_protocol parameter is set to https.
This setting trigger the ceph-ansible tasks that are supposed to:

1. pass the generated certificates (defined using grafana_{key,crt} and dashboard_{key,crt}) to the dashboard related containers;
2. configure grafana to work with https
3. configure the Ceph Dashboard to point to the proper grafana url and load the appropriate key,crt via the Ceph existing commands


The process described above fails when a "copy" task of these files is executed.


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Francesco Pantano 2020-07-27 09:32:17 UTC
Created attachment 1702494 [details]
ceph_ansible execution

Comment 2 Francesco Pantano 2020-07-27 09:33:59 UTC
Created attachment 1702495 [details]
OSP inventory.yml used by ceph-ansible

Comment 18 errata-xmlrpc 2020-09-30 17:26:28 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 (Red Hat Ceph Storage 4.1 Bug Fix update), 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/RHBA-2020:4144