deploy: Fix: remove storage files explicitly 43/22943/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 10 Oct 2016 16:58:28 +0000 (18:58 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 10 Oct 2016 19:08:11 +0000 (19:08 +0000)
commit7f50323da4259c5e27f8dae72b5f02dababb7a99
treeab5a5e58f2c1e898253204e23bf6ffd19b1cc543
parent3e469e46e9766b1b4d443167e64e2887140c107c
deploy: Fix: remove storage files explicitly

Previous change [1] tried to move the responsibility of removing
storage files (raw, iso) from our python scripts to libvirt.

Although this works as expected for non-root invocations, like
Armband deploys, it fails to remove raw files in Fuel@OPNFV deploys.

Work around this by keeping both mechanisms (libvirt managed +
python explicit handling).

Related-bug: ARMBAND-128

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

Change-Id: Ib846cd6071705b71d98824385835d724c729fd78
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit aa912dc6691fba23c0827108f6a20296942e1ac0)
deploy/environments/execution_environment.py