From b972701fdd0603938a92a731f759bdf85236d3c2 Mon Sep 17 00:00:00 2001 From: Ryan Moe Date: Fri, 29 May 2015 08:32:22 -0700 Subject: [PATCH] Change dos.py slave naming to match environment expectations Change-Id: I6499d69f7fd8c81ccaa0f8bf8be6cc9d1438ec33 Closes-bug: #1460118 --- devops/shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devops/shell.py b/devops/shell.py index 953205f9..064ac50e 100644 --- a/devops/shell.py +++ b/devops/shell.py @@ -164,7 +164,7 @@ def do_slave_add(self, force_define=True): node_count = self.params.node_count for node in xrange(created_nodes, created_nodes + node_count): - node_name = "slave-%i" % (node) + node_name = "slave-%02d" % (node) node = self.env.add_node(name=node_name, vcpu=vcpu, memory=memory) disknames_capacity = { 'system': 50 * 1024 ** 3