]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-disk: Fix getting wrong group name when --setgroup in bluestore 13457/head
authorcraigchi <craig10624@gmail.com>
Thu, 16 Feb 2017 11:21:48 +0000 (19:21 +0800)
committercraigchi <craig10624@gmail.com>
Thu, 16 Feb 2017 11:23:23 +0000 (19:23 +0800)
ceph-disk prepare --setgroup <GROUP NAME> will be wrong when using with
bluestore

Signed-off-by: craigchi <craig10624@gmail.com>
src/ceph-disk/ceph_disk/main.py

index 321dcf6e63c0c54ad469249713fedb19371bcc51..d45bdb3dc63a16a75ee9a7ca155c69ad6c0b8874 100755 (executable)
@@ -2939,7 +2939,7 @@ def mkfs(
                 '--osd-uuid', fsid,
                 '--keyring', os.path.join(path, 'keyring'),
                 '--setuser', get_ceph_user(),
-                '--setgroup', get_ceph_user(),
+                '--setgroup', get_ceph_group(),
             ],
         )
     else: