commit 97be046f9b541067193c50323e00657110184f97
Author: Samuel Walladge <email address hidden>
Date: Wed Jan 4 15:59:04 2023 +1030
Save the crash module auth key
Read the key set on the mon relation,
and use ceph-authtool to save it to a keyring,
for use by the crash module for crash reporting.
When this auth key is set, the crash module (enabled by default)
will update ceph-mon with a report.
It also results in a neat summary of recent crashes
that can be viewed by `ceph health detail`.
For example:
```
$ juju ssh ceph-mon/leader -- sudo ceph health detail
HEALTH_WARN 1 daemons have recently crashed
[WRN] RECENT_CRASH: 1 daemons have recently crashed
osd.1 crashed on host node-3 at 2023-01-04T05:25:18.218628Z
```
Reviewed: https:/ /review. opendev. org/c/openstack /charm- ceph-osd/ +/869139 /opendev. org/openstack/ charm-ceph- osd/commit/ 97be046f9b54106 7193c50323e0065 7110184f97
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 97be046f9b54106 7193c50323e0065 7110184f97
Author: Samuel Walladge <email address hidden>
Date: Wed Jan 4 15:59:04 2023 +1030
Save the crash module auth key
Read the key set on the mon relation,
and use ceph-authtool to save it to a keyring,
for use by the crash module for crash reporting.
When this auth key is set, the crash module (enabled by default)
will update ceph-mon with a report.
It also results in a neat summary of recent crashes
that can be viewed by `ceph health detail`.
For example:
```
$ juju ssh ceph-mon/leader -- sudo ceph health detail
HEALTH_WARN 1 daemons have recently crashed 04T05:25: 18.218628Z
[WRN] RECENT_CRASH: 1 daemons have recently crashed
osd.1 crashed on host node-3 at 2023-01-
```
ref. https:/ /docs.ceph. com/en/ latest/ mgr/crash/
See also https:/ /review. opendev. org/c/openstack /charm- ceph-mon/ +/869138
for where the client_crash_key relation data set is implemented.
Depends-On: https:/ /review. opendev. org/c/openstack /charm- ceph-mon/ +/869138
Closes-Bug: #2000630 e4988ebe9a735f0 00f99d0b78e
Change-Id: I77c84c368e6665