Merge "Create a key for ceph-osd for crash module auth"

This commit is contained in:
Zuul 2023-01-31 15:41:18 +00:00 committed by Gerrit Code Review
commit 87600a9c31
1 changed files with 10 additions and 0 deletions

View File

@ -840,6 +840,16 @@ def osd_relation(relid=None, unit=None):
'allow command "osd destroy"',
]
}
),
# Provide a key to the osd for use by the crash module:
# https://docs.ceph.com/en/latest/mgr/crash/
'client_crash_key': ceph.create_named_keyring(
'client',
'crash',
caps={
'mon': ['profile crash'],
'mgr': ['profile crash'],
}
)
}