]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume batch: add deprecation warning for auto behaviour
authorJan Fajerski <jfajerski@suse.com>
Fri, 26 Jun 2020 11:34:01 +0000 (13:34 +0200)
committerJan Fajerski <jfajerski@suse.com>
Fri, 25 Sep 2020 09:50:23 +0000 (11:50 +0200)
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
src/ceph-volume/ceph_volume/devices/lvm/batch.py

index e916142f14b1868dc4180e3bc8f856d062f15bb6..78b323cc1f5f13f51b90dd52a178b52ee88850ea 100644 (file)
@@ -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: