Closed kumarashit closed 4 years ago
I could reproduce it with Daito v0.10.0 release too
Faced the same issue: TASK [telemetry-uninstaller : clean all created work directories] **** task path: /root/gopath/src/github.com/opensds/opensds-installer/ansible/roles/telemetry-uninstaller/scenarios/clean_telemetry_tools.yml:101 skipping: [localhost] => { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } META: ran handlers META: ran handlers
PLAY RECAP *** localhost : ok=13 changed=10 unreachable=0 failed=0
root@aks:~/gopath/src/github.com/opensds/opensds-installer/ansible# losetup -d /dev/loop3 losetup: /dev/loop3: detach failed: No such device or address root@aks:~/gopath/src/github.com/opensds/opensds-installer/ansible# losetup -d /dev/loop0 root@aks:~/gopath/src/github.com/opensds/opensds-installer/ansible# losetup -d /dev/loop1 root@aks:~/gopath/src/github.com/opensds/opensds-installer/ansible# losetup -d /dev/loop2 losetup: /dev/loop2: detach failed: No such device or address root@aks:~/gopath/src/github.com/opensds/opensds-installer/ansible#
Closing as this is fixed. Verified with Elba release
Describe the bug A clear and concise description of what the bug is. On uninstall, resources doesn't get cleaned properly a) Volume Group doesn't get deleted b) Loop devices associated with files, doesn't get detached. To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen. First uninstallation should have cleaned the resources created by installer Subsequent install fails. Reason is that the loop devices attached to FS is not detached. Came out of this situation by executing losetup -d /dev/loop* Also, vgs still shows the group. Manually deleted volume group
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.