Unable to wipe docker storage due to logical volume containing filesystem in use
Issue
OpenShift uninstall playbook fails with:
2018-06-14 14:57:10,681 p=40718 u=root | TASK [Wipe out Docker storage contents] *************************************************************************************************************************************
2018-06-14 14:57:11,244 p=40718 u=root | failed: [xx.xx.xx.xx] (item= dockervg) => {"changed": true, "cmd": ["vgremove", "-f", "dockervg"], "delta": "0:00:00.016968", "end": "2018-06-14 14:57:11.222545", "failed": true, "item": " dockervg", "msg": "non-zero return code", "rc": 5, "start": "2018-06-14 14:57:11.205577", "stderr": " Logical volume dockervg/dockerlv contains a filesystem in use.", "stderr_lines": [" Logical volume dockervg/dockerlv contains a filesystem in use."], "stdout": "", "stdout_lines": []}
Environment
- Red Hat OpenShift Container Platform
- 3.9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
