]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-disk: Fix getting wrong group name when --setgroup in bluestore 13543/head
authorcraigchi <craig10624@gmail.com>
Thu, 16 Feb 2017 11:21:48 +0000 (19:21 +0800)
committerShinobu Kinjo <shinobu@redhat.com>
Mon, 20 Feb 2017 17:03:39 +0000 (02:03 +0900)
ceph-disk prepare --setgroup <GROUP NAME> will be wrong when using with
bluestore

Signed-off-by: craigchi <craig10624@gmail.com>
(cherry picked from commit a8c0870e7370a0948e8e7fd53d3376b85bf9c649)

src/ceph-disk/ceph_disk/main.py

index dc35c2fbab027bd604261cbee301c271fa542fd5..817172bfbd03498063f0e2508641e659a2d4125b 100755 (executable)
@@ -2907,7 +2907,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: