deploy: fix: remove storage files during cleanup 23/22523/1
authorStefan Sicleru <stefan.sicleru@enea.com>
Mon, 26 Sep 2016 12:09:09 +0000 (14:09 +0200)
committerStefan Sicleru <stefan.sicleru@enea.com>
Wed, 28 Sep 2016 14:01:01 +0000 (14:01 +0000)
commit8e501a8589db2c5f29a43b5fb2d253c431397b4f
tree14b2590fd3178f27cc405a83a4504a2509b5f53e
parentd53f15a6dacb5e3d3fd58002692f9c08256ff1e9
deploy: fix: remove storage files during cleanup

Remove old disks through virsh instead of calling os.delete()
methods so that the cleanup phase would succeed within a non-root
setup. [1]

Related-bug: ARMBAND-128

[1] https://gerrit.opnfv.org/gerrit/#/c/19491/

Change-Id: I90007edf014c7e15a68b9a334fcaffaa127ee4ab
Signed-off-by: Stefan Sicleru <stefan.sicleru@enea.com>
(cherry picked from commit d4f9612475a07773af182f244bcd597d25bf4cd8)
deploy/environments/execution_environment.py