From: Andrew Grimberg Date: Thu, 25 Feb 2016 16:47:51 +0000 (-0800) Subject: Make subnodes easily identifiable X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=0b5adeb3f66be1524fc5ab2271aa8cd6cbed4586;p=ci-management.git Make subnodes easily identifiable When nodepool brings online a node and subnodes they are presently all named the same way. This makes it difficult to pinpoint the leader node of a set if we need to do any work directly against OpenStack. This change will cause sub-nodes to have the prefix of np-sub- and the rest of the name from the leader node making it clear. Change-Id: I536b2e4437a93f118436e8eeb6869a2f691be0f6 Signed-off-by: Andrew Grimberg --- diff --git a/nodepool/nodepool.yaml b/nodepool/nodepool.yaml index b603928bc..70863a8c2 100644 --- a/nodepool/nodepool.yaml +++ b/nodepool/nodepool.yaml @@ -71,4 +71,4 @@ targets: #hostname: 'np-{label.name}-{provider.name}-{node_id}' #subnode-hostname: 'np-{label.name}-{provider.name}-{node_id}' hostname: 'np-{label.name}-{node_id}' - subnode-hostname: 'np-{label.name}-{node_id}' + subnode-hostname: 'np-sub-{label.name}-{node_id}'