Fix journal disk path incorrect initialize with dedicate journal disk
When user provision a storage node with dedicated storage add for
journal, it is designated to create journal partition on this dedicated
disk for every osd.
$ system host-stor-add storage-0 journal <disk uuid>
$ system host-stor-add storage-0 osd <disk uuid>
For above case, "ceph-disk prepare" request correct journal partition
for initialize and write header and keyring to journal disk.
Reviewed: https:/ /review. opendev. org/680897 /git.openstack. org/cgit/ starlingx/ stx-puppet/ commit/ ?id=3a387d729b7 3c23e584f2430a4 2b8155b225130f
Committed: https:/
Submitter: Zuul
Branch: master
commit 3a387d729b73c23 e584f2430a42b81 55b225130f
Author: Martin, Chen <email address hidden>
Date: Thu Aug 29 20:55:50 2019 +0800
Fix journal disk path incorrect initialize with dedicate journal disk
When user provision a storage node with dedicated storage add for
journal, it is designated to create journal partition on this dedicated
disk for every osd.
$ system host-stor-add storage-0 journal <disk uuid>
$ system host-stor-add storage-0 osd <disk uuid>
For above case, "ceph-disk prepare" request correct journal partition
for initialize and write header and keyring to journal disk.
Closes-Bug: 1830736
Change-Id: I70ae1a3bc049ad 3842e0ec22851b1 48de5671781
Signed-off-by: Martin, Chen <email address hidden>