]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
validate: add warning for ceph-disk
authorSébastien Han <seb@redhat.com>
Mon, 1 Oct 2018 13:27:06 +0000 (15:27 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 10 Oct 2018 20:08:41 +0000 (16:08 -0400)
ceph-disk will be removed in 3.3 and we encourage to start using
ceph-volume as of 3.2.

Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-validate/tasks/check_system.yml

index 1707e74468092fcc469e11292699874b50ec856c..1bda37deec5ffd203a0f2a48f63699fe88182370 100644 (file)
     - ansible_distribution in ['RedHat', 'CentOS']
     - ansible_distribution_version < '7.4'
     - iscsi_gw_group_name in group_names
+
+- name: warn users that ceph-disk scenarios will be removed on 3.3
+  debug:
+    msg: "You are running 3.2 and should start considering using ceph-volume to deploy your OSDs. ceph-disk based deployments will be impossible in 3.3."
+  run_once: true
+  when:
+    - osd_group_name in group_names
+    - osd_scenario != 'lvm'
\ No newline at end of file