aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/common/exceptions.py
diff options
context:
space:
mode:
authorShobhi Jain <shobhi.jain@intel.com>2018-03-28 12:19:35 +0100
committerEmma Foley <emma.l.foley@intel.com>2018-06-27 17:13:09 +0100
commit8442ad76bb4f93eeb87f5bbf0f2292bb2400ea2d (patch)
tree81d23d7b0c93ce903c6dcdef16d1fd2244e3cc67 /yardstick/common/exceptions.py
parent0222fb329f4e68321adba807fb1fbe79c38c5650 (diff)
Replace nova attach volume to server with shade client.
Function attach_volume_to_server now uses shade client instead of nova client. JIRA: YARDSTICK-1088 Change-Id: Id00df672c2c195b5c338cbbc30ddf2742a4e4d29 Signed-off-by: Shobhi Jain <shobhi.jain@intel.com> (cherry picked from commit 8fd82cd8d0146d8cebbc32ed7cbb6fb9d1861297)
Diffstat (limited to 'yardstick/common/exceptions.py')
-rw-r--r--yardstick/common/exceptions.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/yardstick/common/exceptions.py b/yardstick/common/exceptions.py
index 3af46a857..3a51892cc 100644
--- a/yardstick/common/exceptions.py
+++ b/yardstick/common/exceptions.py
@@ -234,6 +234,10 @@ class ScenarioDeleteKeypairError(YardstickException):
message = 'Nova Delete Keypair Scenario failed'
+class ScenarioAttachVolumeError(YardstickException):
+ message = 'Nova Attach Volume Scenario failed'
+
+
class ApiServerError(YardstickException):
message = 'An unkown exception happened to Api Server!'