mirror of https://github.com/ceph/ceph-ansible.git
upgrade: fix upgrade jewel to luminous for nfs nodes
nfs nodes can't be upgraded from jewel to luminous because ceph-nfs role is skipped because of the condition `when: "ceph_release_num[ceph_release] >= ceph_release_num.luminous"`. Indeed, package is upgraded in `ceph-nfs` role, therefore, `ceph_release` is still set to the old version. It means the when can't be satisfied. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/2076/head
parent
70034451e9
commit
982326373b
|
@ -520,10 +520,12 @@
|
|||
|
||||
roles:
|
||||
- ceph-defaults
|
||||
- ceph-config
|
||||
- { role: ceph-common, when: not containerized_deployment }
|
||||
- { role: ceph-docker-common, when: containerized_deployment }
|
||||
- ceph-nfs
|
||||
- ceph-config
|
||||
- { role: ceph-nfs,
|
||||
when: "(ceph_release_num[ceph_release] >= ceph_release_num.luminous) or
|
||||
(ceph_release_num[ceph_release] < ceph_release_num.luminous and rolling_update)" }
|
||||
|
||||
post_tasks:
|
||||
- name: start nfs gateway
|
||||
|
|
Loading…
Reference in New Issue