integ/config/puppet-modules/openstack/puppet-ceph-2.2.0/centos/meta_patches/0010-wipe-unprepared-disks.patch
Changcheng Liu e6ddff6eb0 puppet-ceph: osd use filestore and configured id
* integrate create filestore OSD patch
    The ceph-disk default create bluestore in mimic version.
    For maximize compability, still create filestore OSD here.

* prepare osd to be started via init script
    use osd id already configured in the database
    instead of generating a new one

* fix ceph osd disk partition for nvme disks

Story: 2003605

Depends-On: Ic9c4aed8dbab5d3e141cf9c1b2b1892731b14779
Change-Id: Iaa3319a7647e5622037d12c53673da0e4199ceb4
Co-Authored-By: Daniel Badea <daniel.badea@intel.com>
Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
Signed-off-by: Daniel Badea <daniel.badea@windriver.com>
2019-04-26 00:33:52 +00:00

33 lines
992 B
Diff

From 1a7e85dafe9cc85daff394af6d30055f5e416d13 Mon Sep 17 00:00:00 2001
From: Daniel Badea <daniel.badea@windriver.com>
Date: Fri, 26 Apr 2019 00:24:03 +0000
Subject: [PATCH] wipe unprepared disks
---
SPECS/puppet-ceph.spec | 2 ++
1 file changed, 2 insertions(+)
diff --git a/SPECS/puppet-ceph.spec b/SPECS/puppet-ceph.spec
index 6b6cac2..102fccd 100644
--- a/SPECS/puppet-ceph.spec
+++ b/SPECS/puppet-ceph.spec
@@ -17,6 +17,7 @@ Patch0006: 0006-ceph-disk-prepare-invalid-data-disk-value.patch
Patch0007: 0007-Add-StarlingX-specific-restart-command-for-Ceph-moni.patch
Patch0008: 0008-ceph-mimic-prepare-activate-osd.patch
Patch0009: 0009-fix-ceph-osd-disk-partition-for-nvme-disks.patch
+Patch0010: 0010-wipe-unprepared-disks.patch
BuildArch: noarch
@@ -41,6 +42,7 @@ Community Developed Ceph Module
%patch0007 -p1
%patch0008 -p1
%patch0009 -p1
+%patch0010 -p1
find . -type f -name ".*" -exec rm {} +
find . -size 0 -exec rm {} +
--
1.8.3.1