From 0580328340fc7d53b54f5c1825b570b6c000f701 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Han?= Date: Mon, 1 Oct 2018 15:27:06 +0200 Subject: [PATCH] validate: add warning for ceph-disk MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- roles/ceph-validate/tasks/check_system.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/roles/ceph-validate/tasks/check_system.yml b/roles/ceph-validate/tasks/check_system.yml index 1707e7446..1bda37dee 100644 --- a/roles/ceph-validate/tasks/check_system.yml +++ b/roles/ceph-validate/tasks/check_system.yml @@ -92,3 +92,11 @@ - 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 -- 2.39.5