aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/common/exceptions.py
diff options
context:
space:
mode:
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 9397d4772..1f749adc1 100644
--- a/yardstick/common/exceptions.py
+++ b/yardstick/common/exceptions.py
@@ -263,6 +263,10 @@ class KubernetesContainerPortNotDefined(YardstickException):
message = 'Container port not defined in "%(port)s"'
+class KubernetesContainerWrongImagePullPolicy(YardstickException):
+ message = 'Image pull policy must be "Always", "IfNotPresent" or "Never"'
+
+
class ScenarioCreateNetworkError(YardstickException):
message = 'Create Neutron Network Scenario failed'