Code Review
/
yardstick.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Replace cinder create volume with shade client.
[yardstick.git]
/
yardstick
/
common
/
exceptions.py
diff --git
a/yardstick/common/exceptions.py
b/yardstick/common/exceptions.py
index
2d48abc
..
1aa734a
100644
(file)
--- a/
yardstick/common/exceptions.py
+++ b/
yardstick/common/exceptions.py
@@
-54,6
+54,10
@@
class YardstickException(Exception):
return False
return False
+class ResourceCommandError(YardstickException):
+ message = 'Command: "%(command)s" Failed, stderr: "%(stderr)s"'
+
+
class FunctionNotImplemented(YardstickException):
message = ('The function "%(function_name)s" is not implemented in '
'"%(class_name)" class.')
class FunctionNotImplemented(YardstickException):
message = ('The function "%(function_name)s" is not implemented in '
'"%(class_name)" class.')
@@
-222,3
+226,11
@@
class ScenarioAttachVolumeError(YardstickException):
class ScenarioGetServerError(YardstickException):
message = 'Nova Get Server Scenario failed'
class ScenarioGetServerError(YardstickException):
message = 'Nova Get Server Scenario failed'
+
+
+class ScenarioGetFlavorError(YardstickException):
+ message = 'Nova Get Falvor Scenario failed'
+
+
+class ScenarioCreateVolumeError(YardstickException):
+ message = 'Cinder Create Volume Scenario failed'