mirror of https://github.com/ceph/ceph-ansible.git
bugfix: Add missing conditions for kraken release
76ddcbc
introduced an issue by removing some needed conditions on tasks
that need to be run only on release >= kraken.
pull/1305/head
parent
5ddfc4f85c
commit
e63631a4ab
|
@ -8,6 +8,7 @@
|
||||||
always_run: true
|
always_run: true
|
||||||
when:
|
when:
|
||||||
- cephx
|
- cephx
|
||||||
|
- ceph_release_num.{{ ceph_release }} > ceph_release_num.jewel
|
||||||
|
|
||||||
# NOTE (leseb): wait for mon discovery and quorum resolution
|
# NOTE (leseb): wait for mon discovery and quorum resolution
|
||||||
# the admin key is not instantaneously created so we have to wait a bit
|
# the admin key is not instantaneously created so we have to wait a bit
|
||||||
|
|
|
@ -18,11 +18,13 @@
|
||||||
command: ceph --cluster {{ cluster }} fs set {{ cephfs }} allow_multimds true --yes-i-really-mean-it
|
command: ceph --cluster {{ cluster }} fs set {{ cephfs }} allow_multimds true --yes-i-really-mean-it
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when:
|
when:
|
||||||
|
- ceph_release_num.{{ ceph_release }} >= ceph_release_num.jewel
|
||||||
- mds_allow_multimds
|
- mds_allow_multimds
|
||||||
|
|
||||||
- name: set max_mds
|
- name: set max_mds
|
||||||
command: ceph --cluster {{ cluster }} fs set {{ cephfs }} max_mds {{ mds_max_mds }}
|
command: ceph --cluster {{ cluster }} fs set {{ cephfs }} max_mds {{ mds_max_mds }}
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when:
|
when:
|
||||||
|
- ceph_release_num.{{ ceph_release }} >= ceph_release_num.jewel
|
||||||
- mds_allow_multimds
|
- mds_allow_multimds
|
||||||
- mds_max_mds > 1
|
- mds_max_mds > 1
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
when:
|
when:
|
||||||
- rgw_zone is defined
|
- rgw_zone is defined
|
||||||
- rgw_multisite
|
- rgw_multisite
|
||||||
|
- ( ceph_release_num.{{ ceph_release }} >= ceph_release_num.jewel )
|
||||||
# Hard code this so we will skip the entire file instead of individual tasks (Default isn't Consistent)
|
# Hard code this so we will skip the entire file instead of individual tasks (Default isn't Consistent)
|
||||||
static: False
|
static: False
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue