Confirmed group_replication_ip_allowlist is the root cause by manually editing the template for testing.
$ git diff diff --git a/src/templates/mysqld.cnf b/src/templates/mysqld.cnf index 8940bb4..e829b29 100644 --- a/src/templates/mysqld.cnf +++ b/src/templates/mysqld.cnf @@ -102,6 +102,9 @@ enforce_gtid_consistency = ON gtid_mode = ON server_id = {{ options.server_id }}
+plugin_load_add = group_replication.so +group_replication_ip_allowlist = 172.31.0.0/20,172.31.16.0/20,172.31.32.0/20 + skip_name_resolve = ON
#
Confirmed group_replicati on_ip_allowlist is the root cause by manually editing the template for testing.
$ git diff /mysqld. cnf b/src/templates /mysqld. cnf /mysqld. cnf /mysqld. cnf gtid_consistenc y = ON
diff --git a/src/templates
index 8940bb4..e829b29 100644
--- a/src/templates
+++ b/src/templates
@@ -102,6 +102,9 @@ enforce_
gtid_mode = ON
server_id = {{ options.server_id }}
+plugin_load_add = group_replicati on.so replication_ ip_allowlist = 172.31. 0.0/20, 172.31. 16.0/20, 172.31. 32.0/20
+group_
+
skip_name_resolve = ON
#