]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph_disk: allow "no fsid" on activate 19267/head
authorDan Mick <dan.mick@redhat.com>
Wed, 29 Nov 2017 23:29:17 +0000 (15:29 -0800)
committerKefu Chai <kchai@redhat.com>
Fri, 1 Dec 2017 02:05:27 +0000 (10:05 +0800)
commit5cec46600de8b60385b43cba1e7dc4d1f9a380ac
treef6a3ac400af3dbe8a738e63ad24a23e155b28997
parent7e8dc9763039bf784030480f60b2554f6ff7ffd5
ceph_disk: allow "no fsid" on activate

The intent was to allow "no fsid" configurations when only one
conf file named 'ceph.conf' was present, but the code has a bug
in that ceph-osd --show-config-value will return a default all-0
uuid.  Treat 'all-0' as we were treating 'None'.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit 4d010fb83d3cad50953cdf010d1bb20c62588b3c)
src/ceph-disk/ceph_disk/main.py