diff options
author | Shobhi Jain <shobhi.jain@intel.com> | 2018-04-12 13:38:21 +0100 |
---|---|---|
committer | Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com> | 2018-05-31 08:27:53 +0000 |
commit | d6c1b8b7bfd257efd5fe2df30dd450bdb2c57c7d (patch) | |
tree | 8843a5d772ef7c8dbc55f1f90b08ceda90969743 /yardstick/common/exceptions.py | |
parent | 2e6ac1229309227398cb651e68ec062dbb95c955 (diff) |
Replace glance delete image with shade client.
Remove get_image_id function.
Function delete_image now uses shade client.
JIRA: YARDSTICK-892
Change-Id: I6e8510dfa49aa14786ed7ac3382b85c4e699fb9e
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
Diffstat (limited to 'yardstick/common/exceptions.py')
-rw-r--r-- | yardstick/common/exceptions.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/yardstick/common/exceptions.py b/yardstick/common/exceptions.py index 80fe8aed8..e6a1f1fa1 100644 --- a/yardstick/common/exceptions.py +++ b/yardstick/common/exceptions.py @@ -263,3 +263,7 @@ class UpdateOpenrcError(ApiServerError): class ScenarioCreateImageError(YardstickException): message = 'Glance Create Image Scenario failed' + + +class ScenarioDeleteImageError(YardstickException): + message = 'Glance Delete Image Scenario failed' |