https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2020-11-19T12:14:56ZCeph Orchestrator - Documentation #47637: mgr/cephadm: document how to configure custom TLS certificate for Grafanahttps://tracker.ceph.com/issues/47637?journal_id=1797582020-11-19T12:14:56ZSebastian Wagner
<ul><li><strong>Related to</strong> <i><a class="issue tracker-6 status-1 priority-4 priority-default" href="/issues/45937">Documentation #45937</a>: cephadm: setting the various certificates</i> added</li></ul> Orchestrator - Documentation #47637: mgr/cephadm: document how to configure custom TLS certificate for Grafanahttps://tracker.ceph.com/issues/47637?journal_id=1985872021-07-07T09:49:09ZSebastian Wagner
<ul><li><strong>Assignee</strong> deleted (<del><i>Patrick Seidensal</i></del>)</li></ul> Orchestrator - Documentation #47637: mgr/cephadm: document how to configure custom TLS certificate for Grafanahttps://tracker.ceph.com/issues/47637?journal_id=1993032021-07-19T07:29:49ZKai Stian Olstad
<ul></ul><p>This is how I did it</p>
<p>Since <code>cephadm shell ceph config-key set mgr/cephadm/grafana_crt -i <cert-file></code> can't read files from the host, I needed to run <code>cephadm shell</code>, then it will then than have access to /var/lib/ceph/<fsid>/home/ in /root in cephadm shell.<br /><pre>
cp <cert-file> <key-file> /var/lib/ceph/*/home/
cephadm shell
ceph config-key set mgr/cephadm/grafana_crt -i /root/<cert-file>
ceph config-key set mgr/cephadm/grafana_key -i /root/<key-file>
ceph orch daemon reconfig $(ceph orch ps | grep grafana | cut -f1 -d" ")
exit
</pre></p>
<p>I did not find a way to reference the grafana daemon directly hence the grep and cut command.</p> Orchestrator - Documentation #47637: mgr/cephadm: document how to configure custom TLS certificate for Grafanahttps://tracker.ceph.com/issues/47637?journal_id=1995792021-07-23T11:10:15ZKai Stian Olstad
<ul></ul><p>Reconfigure can be done easier with<br /><pre>
ceph orch reconfig grafana
</pre></p> Orchestrator - Documentation #47637: mgr/cephadm: document how to configure custom TLS certificate for Grafanahttps://tracker.ceph.com/issues/47637?journal_id=2066302021-11-26T11:27:30ZSebastian Wagner
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li></ul><p><a class="external" href="https://docs.ceph.com/en/latest/cephadm/services/monitoring/#configuring-ssl-tls-for-grafana">https://docs.ceph.com/en/latest/cephadm/services/monitoring/#configuring-ssl-tls-for-grafana</a></p> Orchestrator - Documentation #47637: mgr/cephadm: document how to configure custom TLS certificate for Grafanahttps://tracker.ceph.com/issues/47637?journal_id=2204382022-07-15T12:12:13ZRedouane Kachach Elhichou
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-3 priority-4 priority-default closed" href="/issues/56508">Bug #56508</a>: haproxy check fails for ceph-grafana service </i> added</li></ul>