From 03f44d4cdc8a10f740d02c22361ff86b21f7f7f3 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Wed, 26 Apr 2017 11:33:50 -0600 Subject: [PATCH] DaemonState: Use consistent daemon IDs Signed-off-by: Zack Cerza --- teuthology/orchestra/daemon.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/teuthology/orchestra/daemon.py b/teuthology/orchestra/daemon.py index 99353ed5b7..989263b50b 100644 --- a/teuthology/orchestra/daemon.py +++ b/teuthology/orchestra/daemon.py @@ -47,9 +47,6 @@ class DaemonState(object): self.id_ = id_ self.use_init = use_init if self.use_init: - _, role = role.split('.') - if (role == 'mon') or (role == 'mds') or (role == 'rgw'): - self.id_ = remote.shortname self._set_commands() self.log = command_kwargs.get('logger', log) self.proc = None -- 2.39.5