]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-validate: do not check ceph version on dev or rhcs installs
authorAndrew Schoen <aschoen@redhat.com>
Mon, 21 May 2018 15:11:22 +0000 (10:11 -0500)
committerSébastien Han <seb@redhat.com>
Mon, 21 May 2018 21:11:04 +0000 (23:11 +0200)
A dev or rhcs install does not require ceph_stable_release to be set and
instead generates that by looking at the installed ceph-version.
However, at this point in the playbook ceph may not have been installed
yet and ceph-common has not be run.

Fixes: https://github.com/ceph/ceph-ansible/issues/2618
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
roles/ceph-validate/tasks/main.yml

index f7d5cf537009d83f3082ece3d8ef1bfb1dba195d..1edaba5ef9f6a7965ff4e32b38776313f0c0578d 100644 (file)
@@ -44,6 +44,7 @@
   when:
     - osd_group_name is defined
     - osd_group_name in group_names
+    - ceph_repository not in ['rhcs', 'dev']
     - not containerized_deployment
     - osd_scenario == "lvm"
     - ceph_release_num[ceph_release] < ceph_release_num.luminous
@@ -54,6 +55,7 @@
   when:
     - osd_group_name is defined
     - osd_group_name in group_names
+    - ceph_repository not in ['rhcs', 'dev']
     - osd_objectstore == 'bluestore'
     - ceph_release_num[ceph_release] < ceph_release_num.luminous