From 19c2963cf92fbddb3de3f5fb5fc9e1697e3bb8fd Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 11 Jul 2019 15:55:20 -0400 Subject: [PATCH] Fix reassign with SMM SMM validation assumes an earlier connection, fix so that it will accept the certificate if no certificate expected yet. --- confluent_server/confluent/discovery/handlers/smm.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/confluent_server/confluent/discovery/handlers/smm.py b/confluent_server/confluent/discovery/handlers/smm.py index f5b17ae9..6b426aab 100644 --- a/confluent_server/confluent/discovery/handlers/smm.py +++ b/confluent_server/confluent/discovery/handlers/smm.py @@ -40,6 +40,8 @@ class NodeHandler(bmchandler.NodeHandler): # Assumption is by the time we call config, that discovery core has # vetted self._fp. Our job here then is just to make sure that # the currect connection matches the previously saved cert + if not self._fp: # circumstances are that we haven't validated yet + self._fp = certificate return certificate == self._fp def set_password_policy(self, ic):