Bugfix: the load_image.sh script will load a image with the same name 09/26009/5
authorchenjiankun <chenjiankun1@huawei.com>
Thu, 15 Dec 2016 06:02:50 +0000 (06:02 +0000)
committerchenjiankun <chenjiankun1@huawei.com>
Thu, 22 Dec 2016 11:33:38 +0000 (11:33 +0000)
commite88d02c9d87c18dbaaf849d8b10167e6dadf485a
tree2d18c94d63599dedeaf48c2ddf2ad4f5bd00de3b
parent70d25b87c167bc13e883da2963980cce56410f98
Bugfix: the load_image.sh script will load a image with the same name

JIRA: YARDSTICK-471

Currently, if we execute the load_image.sh and the openstack already
have this image in the cloud,this script will load another image with
the same name.
This will make yardstick run error.
So I clean this related images before loading.

Change-Id: If5b985ef9b2e890aa10453810fac36867d320a06
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
api/resources/env_action.py
tests/ci/clean_images.sh
tests/ci/yardstick-verify
yardstick/common/constants.py