Fix image name iteration 53/35053/2
authorCatalina Focsa <catalina.focsa@enea.com>
Fri, 19 May 2017 12:12:49 +0000 (14:12 +0200)
committerCatalina Focsa <catalina.focsa@enea.com>
Fri, 19 May 2017 12:25:16 +0000 (14:25 +0200)
commit2acf978923acb4c89785331046e293b957e88dfa
tree1bfb59d926eb5f82bcec53ebdf04bf65963fd853
parente5691c01975e9a3867a17c4fd9b4427bb15f0f10
Fix image name iteration

Create a promise image depending on the glance image path.
Due to glance image listing returning image names, looking
for an image based on an image path is always false, thus
its relevant to only look for the glance image name and if it exists
to use its ID, if not to create a new image given the promise
image name.

JIRA: ARMBAND-223

Change-Id: I2d1347807335f2c7e9d62f1a6c75fb48de6cf448
Signed-off-by: Catalina Focsa <catalina.focsa@enea.com>
promise/test/functest/run_tests.py