use force umount when reset cluster (#3672)
reset role hang and can't umount PersistenceVolume (ceph cluster)
This commit is contained in:
parent
fb9155c450
commit
e5d07f3a3d
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@
|
||||||
- mounts
|
- mounts
|
||||||
|
|
||||||
- name: reset | unmount kubelet dirs
|
- name: reset | unmount kubelet dirs
|
||||||
command: umount {{item}}
|
command: umount -f {{item}}
|
||||||
with_items: '{{ mounted_dirs.stdout_lines }}'
|
with_items: '{{ mounted_dirs.stdout_lines }}'
|
||||||
register: umount_dir
|
register: umount_dir
|
||||||
retries: 4
|
retries: 4
|
||||||
|
|
Loading…
Reference in a new issue