This is a 3 node cluster with 3 replicas expected. percona-db-pxc-db-pxc-0.percona-db-pxc-db-pxc is the first percona pod.
However I see that joiner(2nd pod) fails to do SST from 1st pod with this failure
Joiner side(percona-db-pxc-db-pxc-1) logs:
Hello @Michael_Coburn , Thanks for helping me out. I tried setting the configuration as pointed out by you, but I still see that failing with broken pipe.
2022-11-04T17:30:01.688938Z WSREP_SST: [DEBUG] Evaluating socat -u openssl-listen:4444,reuseaddr,cert=/etc/mysql/ssl-internal/tls.crt,key=/etc/mysql/ssl-internal/tls.key,cafile=/etc/mysql/ssl-internal/ca.crt,verify=1,pf=ip6,retry=30 stdio | pv -f -i 10 -N joiner -F '%N => Rate:%r Avg:%a Elapsed:%t %e Bytes: %b %p' | xbstream -x $xbstream_eopts
2022-11-04T17:30:01.885470Z WSREP_SST: [DEBUG] 1259: Entering loop body : 2
2022-11-04T17:30:01.924852Z WSREP_SST: [DEBUG] 1268: Examining pid: 818
2022-11-04T17:30:02.043064Z 0 [Note] [Debug] WSREP: gcomm/src/gmcast.cpp:check_liveness():1242: continuing relaying for PT0.514806S
2022-11-04T17:30:02.094937Z WSREP_SST: [DEBUG] 1285: sockets: 57279931|57279932|57279933
2022-11-04T17:30:02.111492Z WSREP_SST: [DEBUG] 1325: wait_for_listen() exiting
2022-11-04T17:30:02.112475Z 1 [Note] WSREP: Prepared SST/IST request: xtrabackup-v2|percona-db-pxc-db-pxc-0.percona-db-pxc-db-pxc:4444/xtrabackup_sst//1
2022-11-04T17:30:02.112559Z 1 [Note] WSREP: Auto Increment Offset/Increment re-align with cluster membership change (Offset: 1 -> 1) (Increment: 1 -> 2)
2022-11-04T17:30:02.112942Z 1 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2022-11-04T17:30:02.113026Z 1 [Note] WSREP: galera/src/certification.cpp:assign_initial_position():989: Assign initial position for certification: 23, protocol version: 4
2022-11-04T17:30:02.113121Z 0 [Note] WSREP: galera/src/galera_service_thd.cpp:thd_func():46: Service thread queue flushed.
2022-11-04T17:30:02.113295Z 1 [Note] WSREP: galera/src/replicator_str.cpp:prepare_state_request():578: Check if state gap can be serviced using IST
2022-11-04T17:30:02.113354Z 1 [Note] WSREP: galera/src/replicator_str.cpp:prepare_for_IST():515: Local UUID: 00000000-0000-0000-0000-000000000000 != Group UUID: eb066fe8-5b9c-11ed-ab4d-7a7983fb2636
2022-11-04T17:30:02.113461Z 1 [Note] WSREP: galera/src/replicator_str.cpp:prepare_state_request():584: State gap can't be serviced using IST. Switching to SST
2022-11-04T17:30:02.113484Z 1 [Note] WSREP: galera/src/replicator_str.cpp:prepare_state_request():586: Failed to prepare for incremental state transfer: Local state UUID (00000000-0000-0000-0000-000000000000) does not match group state UUID (eb066fe8-5b9c-11ed-ab4d-7a7983fb2636): 1 (Operation not permitted)
at galera/src/replicator_str.cpp:prepare_for_IST():518. IST will be unavailable.
2022-11-04T17:30:02.113520Z 1 [Note] [Debug] WSREP: gcs/src/gcs.cpp:gcs_request_state_transfer():1835: ist_uuid[00000000-0000-0000-0000-000000000000], ist_seqno[-1]
2022-11-04T17:30:02.115384Z 0 [Note] WSREP: gcs/src/gcs_group.cpp:group_select_donor():1389: Member 0.0 (percona-db-pxc-db-pxc-1) requested state transfer from '*any*'. Selected 1.0 (percona-db-pxc-db-pxc-0)(SYNCED) as donor.
2022-11-04T17:30:02.115458Z 0 [Note] WSREP: gcs/src/gcs.cpp:gcs_shift_state():645: Shifting PRIMARY -> JOINER (TO: 23)
2022-11-04T17:30:02.115578Z 1 [Note] WSREP: galera/src/replicator_str.cpp:send_state_request():711: Requesting state transfer: success, donor: 1
2022-11-04T17:30:02.115626Z 1 [Note] WSREP: gcache/src/GCache_seqno.cpp:seqno_reset():38: GCache history reset: 00000000-0000-0000-0000-000000000000:0 -> eb066fe8-5b9c-11ed-ab4d-7a7983fb2636:23
2022-11-04T17:30:02.543191Z 0 [Note] [Debug] WSREP: gcomm/src/gmcast.cpp:check_liveness():1242: continuing relaying for PT0.0146638S
2022-11-04T17:30:03.043345Z 0 [Note] WSREP: gcomm/src/gmcast.cpp:check_liveness():1293: (4ea2d568, 'ssl://[::]:4567') turning message relay requesting off
2022-11-04T17:30:32.914085Z 0 [Warning] WSREP: gcs/src/gcs_group.cpp:gcs_group_handle_join_msg():786: 1.0 (percona-db-pxc-db-pxc-0): State transfer to 0.0 (percona-db-pxc-db-pxc-1) failed: -32 (Broken pipe)
Does percona operator and the init scripts support IPv6 ? Because I see it not prefixing [] around the addresses, also percona pxc runs xtrabackup-v2 with half parsed ipv6 addess like below.