Merge "Fix the ceph warning after upgrade to luminous"

This commit is contained in:
Zuul 2018-06-06 14:20:23 +00:00 committed by Gerrit Code Review
commit 5155cd1f93
1 changed files with 8 additions and 0 deletions

View File

@ -33,3 +33,11 @@
when:
- enable_ceph_nfs | bool
- inventory_hostname in groups['ceph-nfs']
# NOTE(chenxing): Disallowing pre-luminous OSDs and enabling all
# new Luminous-only functionality
- name: Enabling all new Luminous-only functionality
command: docker exec ceph_mon ceph osd require-osd-release luminous
delegate_to: "{{ groups['ceph-mon'][0] }}"
changed_when: False
run_once: True