[pve-devel] [PATCH storage 0/2] RBD/Cephfs: new keyring parameter

Aaron Lauterer a.lauterer at proxmox.com
Wed Jul 21 17:13:24 CEST 2021

This new parameter allows to set the RBD keyring or CephFS secret for an
external Ceph Cluster right when creating the storage.
Up until now, they had to be manually placed in

In order to reuse as much code as possible, I had to adjust the
PVE::CephConfig::ceph_create_keyfile method to be able to pass the
secret in as parameter.

Aaron Lauterer (2):
  CephConfig: add optional $secret parameter
  Ceph: add keyring parameter for external clusters

 PVE/API2/Storage/Config.pm  |  2 +-
 PVE/CLI/pvesm.pm            | 12 ++++++++++--
 PVE/CephConfig.pm           | 15 +++++++++------
 PVE/Storage/CephFSPlugin.pm | 20 ++++++++++++++------
 PVE/Storage/RBDPlugin.pm    | 24 ++++++++++++++++++------
 5 files changed, 52 insertions(+), 21 deletions(-)


More information about the pve-devel mailing list