The rolling_update.yml playbook fails when scanning ceph-disk osds while
deploying nautilus. The --force flag is required to scan existing osds
and rewrite their json metadata.
Signed-off-by: Sam Choraria <sam.choraria@bbc.co.uk>
(cherry picked from commit
7cc9f93680d84503943d60b2bb950dd68a2259ed)
when: containerized_deployment | bool
- name: scan ceph-disk osds with ceph-volume if deploying nautilus
- command: "ceph-volume --cluster={{ cluster }} simple scan"
+ command: "ceph-volume --cluster={{ cluster }} simple scan --force"
environment:
CEPH_VOLUME_DEBUG: 1
when: