From cd59f198366ce58a01887e4f900a746d5b10b161 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 14 May 2021 21:26:01 +0200 Subject: conntrack: T3535: remove cluster CLI nodes --- src/migration-scripts/conntrack-sync/1-to-2 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/migration-scripts/conntrack-sync') diff --git a/src/migration-scripts/conntrack-sync/1-to-2 b/src/migration-scripts/conntrack-sync/1-to-2 index 3a76fc0e0..ebbd8c35a 100755 --- a/src/migration-scripts/conntrack-sync/1-to-2 +++ b/src/migration-scripts/conntrack-sync/1-to-2 @@ -53,6 +53,11 @@ else: for address in tmp: config.set(base + ['ignore-address'], value=address, replace=False) + # we no longer support cluster mode + base_cluster = base + ['failover-mechanism', 'cluster'] + if config.exists(base_cluster): + config.delete(base_cluster) + try: with open(file_name, 'w') as f: f.write(config.to_string()) -- cgit v1.2.3