]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-disk: don't change the journal partition uuid
authorDan van der Ster <daniel.vanderster@cern.ch>
Tue, 18 Nov 2014 14:51:46 +0000 (15:51 +0100)
committerLoic Dachary <ldachary@redhat.com>
Sat, 13 Dec 2014 14:01:45 +0000 (15:01 +0100)
commit29eb1350b4acaeabfe1d2b19efedbce22641d8cc
tree405d7bfa34d97ef44c3c94d2dfa736688e2e2583
parentb9ddf97a0c917179e30d4d7bf5fff282c33a60d9
ceph-disk: don't change the journal partition uuid

We observe that the new /dev/disk/by-partuuid/<journal_uuid>
symlink is not always created by udev when reusing a journal
partition. Fix by not changing the uuid of a journal partition
in this case -- instead we can reuse the existing uuid (and
journal_symlink) instead. We also now assert that the symlink
exists before further preparing the OSD.

Fixes: #10146
Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
Tested-by: Dan van der Ster <daniel.vanderster@cern.ch>
src/ceph-disk