From 5e06f149b7f46cf5232d68f4005d1f4caec306b3 Mon Sep 17 00:00:00 2001 From: yuanruji Date: Wed, 25 Sep 2024 17:56:13 +0800 Subject: [PATCH] add debug log --- .../bamboo/scene/mysql/mysql_non_standby_slaves_upgrade.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dbm-ui/backend/flow/engine/bamboo/scene/mysql/mysql_non_standby_slaves_upgrade.py b/dbm-ui/backend/flow/engine/bamboo/scene/mysql/mysql_non_standby_slaves_upgrade.py index 671297243f..747c33094a 100644 --- a/dbm-ui/backend/flow/engine/bamboo/scene/mysql/mysql_non_standby_slaves_upgrade.py +++ b/dbm-ui/backend/flow/engine/bamboo/scene/mysql/mysql_non_standby_slaves_upgrade.py @@ -85,7 +85,7 @@ def upgrade(self): "bk_cloud_id": 0, "bk_host_id": 1, "ip": "1.1.1.1", - "port": 20000 + }, "new_slave": { "bk_biz_id": 200005000, @@ -200,8 +200,9 @@ def non_standby_slaves_upgrade_subflow( root_id, parent_global_data, old_slave_ip, relation_cluster_ids, cluster, ports ) sub_pipeline.add_sub_pipeline(sub_flow=uninstall_svr_sub_pipeline) - - return sub_pipeline.build_sub_process(sub_name=_(("{}slave迁移升级到主机:{}").format(old_slave_ip, new_slave_ip))) + logger.info(new_slave_ip) + logger.info(old_slave_ip) + return sub_pipeline.build_sub_process(sub_name=_("{}slave迁移升级到主机:{}").format(old_slave_ip, new_slave_ip)) def build_install_sub_pipeline(