Merge "Create a key for ceph-osd for crash module auth"
This commit is contained in:
commit
87600a9c31
@ -840,6 +840,16 @@ def osd_relation(relid=None, unit=None):
|
|||||||
'allow command "osd destroy"',
|
'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'],
|
||||||
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user