From 85ddf528a2ccb2e9e97060901973a6e0d9c31fa6 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 1 Aug 2025 15:53:38 -0400 Subject: [PATCH] Add Confluent UUID to identity image The UUID and tls material usually comes from site, but some OSes may depend entirely on the identity image, so make the UUID available that way as well. --- confluent_server/confluent/plugins/deployment/identimage.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/confluent_server/confluent/plugins/deployment/identimage.py b/confluent_server/confluent/plugins/deployment/identimage.py index 4f57f2b6..c41c6e8f 100644 --- a/confluent_server/confluent/plugins/deployment/identimage.py +++ b/confluent_server/confluent/plugins/deployment/identimage.py @@ -21,6 +21,7 @@ import confluent.messages as msg import confluent.netutil as netutil import eventlet.green.subprocess as subprocess +import confluent.config.configmanager as cfm import os import shutil import tempfile @@ -51,6 +52,7 @@ def create_ident_image(node, configmanager): # It would be a reasonable enhancement to list all collective server addresses # restricted by 'managercandidates' ident['deploy_servers'] = [] + ident['confluent_uuid'] = cfm.get_global('confluent_uuid') for myaddr in netutil.get_my_addresses(): myaddr = socket.inet_ntop(myaddr[0], myaddr[1]) ident['deploy_servers'].append(myaddr)