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>
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