mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-10-04 12:48:36 +00:00
api/ceph: create mon: drop now unsupported set-uid on autkey create
From Nautilus release changelog[0]: > The auid property for cephx users and RADOS pools has been removed. > This was an undocumented and partially implemented capability that > allowed cephx users to map capabilities to RADOS pools that they > “owned”. Because there are no users we have removed this support. [0]: https://ceph.com/releases/v14-2-0-nautilus-released/ Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
2ca75379f7
commit
97ed02b8b6
@ -209,7 +209,7 @@ __PACKAGE__->register_method ({
|
|||||||
my $pve_mon_key_path = PVE::Ceph::Tools::get_config('pve_mon_key_path');
|
my $pve_mon_key_path = PVE::Ceph::Tools::get_config('pve_mon_key_path');
|
||||||
if (! -f $pve_mon_key_path) {
|
if (! -f $pve_mon_key_path) {
|
||||||
run_command("cp $pve_ckeyring_path $pve_mon_key_path.tmp");
|
run_command("cp $pve_ckeyring_path $pve_mon_key_path.tmp");
|
||||||
run_command("ceph-authtool $pve_mon_key_path.tmp -n client.admin --set-uid=0 " .
|
run_command("ceph-authtool $pve_mon_key_path.tmp -n client.admin " .
|
||||||
"--cap mds 'allow' " .
|
"--cap mds 'allow' " .
|
||||||
"--cap osd 'allow *' " .
|
"--cap osd 'allow *' " .
|
||||||
"--cap mgr 'allow *' " .
|
"--cap mgr 'allow *' " .
|
||||||
|
Loading…
Reference in New Issue
Block a user