diff --git a/library/ceph_volume.py b/library/ceph_volume.py index a2b55ee58..f21241fcf 100644 --- a/library/ceph_volume.py +++ b/library/ceph_volume.py @@ -645,6 +645,8 @@ def run_module(): if any(skip) or module.params.get('osd_fsid', None): rc, cmd, out, err = exec_command( module, cmd) + for scan_cmd in ['vgscan', 'lvscan']: + module.run_command([scan_cmd, '--cache']) else: out = 'Skipped, nothing to zap' err = ''