Currently, when mounting a volume failed for whatever reason, the mount path is left on the host. This PR adds the logic to cleanup the mount path in that case.
Implementation details
See above.
Testing
Modified existing unit test. Manually tested that with the fix mount path is cleaned up when mount failed.
New tests cover the changes: yes
Description for the changelog
N/A
Licensing
This contribution is under the terms of the Apache 2.0 License:
Summary
Currently, when mounting a volume failed for whatever reason, the mount path is left on the host. This PR adds the logic to cleanup the mount path in that case.
Implementation details
See above.
Testing
Modified existing unit test. Manually tested that with the fix mount path is cleaned up when mount failed.
New tests cover the changes: yes
Description for the changelog
N/A
Licensing
This contribution is under the terms of the Apache 2.0 License: