From: Jan Fajerski Date: Fri, 26 Jun 2020 11:34:01 +0000 (+0200) Subject: ceph-volume batch: add deprecation warning for auto behaviour X-Git-Tag: v16.1.0~950^2~14 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1239f77c8871a45e21bd1e3e81be8bb8854f24da;p=ceph.git ceph-volume batch: add deprecation warning for auto behaviour Signed-off-by: Jan Fajerski --- 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: