]> git.proxmox.com Git - pve-manager.git/commitdiff
fix mds permissions in client.admin key
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 21 Nov 2013 06:34:30 +0000 (07:34 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 21 Nov 2013 06:34:30 +0000 (07:34 +0100)
PVE/API2/Ceph.pm

index b2655ef7198eb8678fdca956243626ed61f6e89c..046c2d0f2af90c780abfd3b6a661e523450da710 100644 (file)
@@ -613,14 +613,13 @@ __PACKAGE__->register_method ({
        if (! -f $pve_mon_key_path) {
            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 " .
-                       "--cap mds 'allow *' " .
+                       "--cap mds 'allow' " .
                        "--cap osd 'allow *' " .
                        "--cap mon 'allow *'");
            run_command("ceph-authtool $pve_mon_key_path.tmp --gen-key -n mon. --cap mon 'allow *'");
            run_command("mv $pve_mon_key_path.tmp $pve_mon_key_path");
        }
 
-
        my $cfg = &$parse_ceph_config($pve_ceph_cfgpath);
 
        my $moncount = 0;