From 4a35cc25f06da2af10d686b28706125c13e66e85 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 15 Oct 2019 11:19:04 -0400 Subject: [PATCH] Fix TSM setup with python3 and custom credentials --- confluent_server/confluent/discovery/handlers/tsm.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/confluent_server/confluent/discovery/handlers/tsm.py b/confluent_server/confluent/discovery/handlers/tsm.py index 8a8dfac7..ace75bf5 100644 --- a/confluent_server/confluent/discovery/handlers/tsm.py +++ b/confluent_server/confluent/discovery/handlers/tsm.py @@ -112,6 +112,8 @@ class NodeHandler(generic.NodeHandler): cd = creds.get(nodename, {}) user, passwd, _ = self.get_node_credentials( nodename, creds, self.DEFAULT_USER, self.DEFAULT_PASS) + user = util.stringify(user) + passwd = util.stringify(passwd) self.targuser = user self.targpass = passwd wc = self._get_wc()