From a2ee61016721386b40caa4e2d72f61be8adec94a Mon Sep 17 00:00:00 2001 From: Rodolfo Alonso Hernandez Date: Mon, 21 May 2018 12:53:03 +0100 Subject: Add "host_name_separator" variable to Context class This feature will provide Kubernetes context the ability to handle the context name inside the class itself, providing to the developer an abstraction of the possible naming limitations in Kubernetes. E.g.: "dot" character in Pod names is no allowed [1]. [1] https://github.com/fabric8io/fluent-plugin-kubernetes_metadata_filter/issues/58 JIRA: YARDSTICK-1188 Change-Id: I82121f970b550170357a443b6340be7900602a57 Signed-off-by: Rodolfo Alonso Hernandez --- yardstick/common/exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yardstick/common/exceptions.py') diff --git a/yardstick/common/exceptions.py b/yardstick/common/exceptions.py index c7ba56268..3ae49d812 100644 --- a/yardstick/common/exceptions.py +++ b/yardstick/common/exceptions.py @@ -138,7 +138,7 @@ class LibvirtQemuImageCreateError(YardstickException): class ScenarioConfigContextNameNotFound(YardstickException): - message = 'Context name "%(context_name)s" not found' + message = 'Context for host name "%(host_name)s" not found' class StackCreationInterrupt(YardstickException): -- cgit 1.2.3-korg