From bebb361b4f503eb36152fce86a860752a71892a7 Mon Sep 17 00:00:00 2001 From: Jan Fajerski Date: Fri, 26 Jun 2020 13:34:01 +0200 Subject: [PATCH] ceph-volume batch: add deprecation warning for auto behaviour Signed-off-by: Jan Fajerski (cherry picked from commit 1239f77c8871a45e21bd1e3e81be8bb8854f24da) --- src/ceph-volume/ceph_volume/devices/lvm/batch.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ceph-volume/ceph_volume/devices/lvm/batch.py b/src/ceph-volume/ceph_volume/devices/lvm/batch.py index e916142f14b1..78b323cc1f5f 100644 --- a/src/ceph-volume/ceph_volume/devices/lvm/batch.py +++ b/src/ceph-volume/ceph_volume/devices/lvm/batch.py @@ -339,6 +339,9 @@ class Batch(object): Sorts drives into rotating and non-rotating, the latter being used for db or journal. ''' + mlogger.warning('DEPRECATION NOTICE') + mlogger.warning('You are using the legacy automatic disk sorting behavior') + mlogger.warning('The Pacific release will change the default to --notauto') rotating = [] ssd = [] for d in self.args.devices: -- 2.47.3