5.我把docker logs node2 中最开始出现报错的日志也发下吧。最开始出现error处我加粗了字体。如下:
2021-04-13T15:21:57.100746Z 0 [Note] [MY-000000] [WSREP] Starting replication
2021-04-13T15:21:57.100840Z 0 [Note] [MY-000000] [Galera] Connecting with bootstrap option: 0
2021-04-13T15:21:57.100922Z 0 [Note] [MY-000000] [Galera] Setting GCS initial position to 00000000-0000-0000-0000-000000000000:-1
2021-04-13T15:21:57.101032Z 0 [Note] [MY-000000] [Galera] protonet asio version 0
2021-04-13T15:21:57.101393Z 0 [Note] [MY-000000] [Galera] Using CRC-32C for message checksums.
2021-04-13T15:21:57.101488Z 0 [Note] [MY-000000] [Galera] initializing ssl context
2021-04-13T15:21:57.101664Z 0 [Note] [MY-000000] [Galera] backend: asio
2021-04-13T15:21:57.101788Z 0 [Note] [MY-000000] [Galera] gcomm thread scheduling priority set to other:0
2021-04-13T15:21:57.101925Z 0 [Warning] [MY-000000] [Galera] Fail to access the file (/var/lib/mysql//gvwstate.dat) error (No such file or directory). It is possible if node is booting for first time or re-booting after a graceful shutdown
2021-04-13T15:21:57.101983Z 0 [Note] [MY-000000] [Galera] Restoring primary-component from disk failed. Either node is booting for first time or re-booting after a graceful shutdown
2021-04-13T15:21:57.102284Z 0 [Note] [MY-000000] [Galera] GMCast version 0
2021-04-13T15:21:57.104894Z 0 [Note] [MY-000000] [Galera] (fc2aadea-82d8, ‘ssl://0.0.0.0:4567’) listening at ssl://0.0.0.0:4567
2021-04-13T15:21:57.105001Z 0 [Note] [MY-000000] [Galera] (fc2aadea-82d8, ‘ssl://0.0.0.0:4567’) multicast: , ttl: 1
2021-04-13T15:21:57.105282Z 0 [Note] [MY-000000] [Galera] EVS version 1
2021-04-13T15:21:57.105426Z 0 [Note] [MY-000000] [Galera] gcomm: connecting to group ‘PXC’, peer 'node1:'
2021-04-13T15:21:57.107770Z 0 [ERROR] [MY-000000] [Galera] handshake with remote endpoint ssl://172.18.0.2:4567 failed: asio.ssl:67567754: ‘invalid padding’ ( 67567754: ‘error:0407008A:rsa routines:RSA_padding_check_PKCS1_type_1:invalid padding’)
This error is often caused by SSL issues. For more information, please see:
https://per.co.na/pxc/encrypt_cluster_traffic
2021-04-13T15:21:58.612446Z 0 [ERROR] [MY-000000] [Galera] handshake with remote endpoint ssl://172.18.0.2:4567 failed: asio.ssl:67567754: ‘invalid padding’ ( 67567754: ‘error:0407008A:rsa routines:RSA_padding_check_PKCS1_type_1:invalid padding’)
This error is often caused by SSL issues. For more information, please see:
https://per.co.na/pxc/encrypt_cluster_traffic
2021-04-13T15:22:00.109921Z 0 [Note] [MY-000000] [Galera] announce period timed out (pc.announce_timeout)
2021-04-13T15:22:00.110215Z 0 [Note] [MY-000000] [Galera] EVS version upgrade 0 -> 1
2021-04-13T15:22:00.110265Z 0 [Note] [MY-000000] [Galera] PC protocol upgrade 0 -> 1
2021-04-13T15:22:00.110335Z 0 [Warning] [MY-000000] [Galera] no nodes coming from prim view, prim not possible
2021-04-13T15:22:00.110377Z 0 [Note] [MY-000000] [Galera] Current view of cluster as seen by this node
view (view_id(NON_PRIM,fc2aadea-82d8,1)
memb {
fc2aadea-82d8,0
}
joined {
}
left {
}
partitioned {
}
)
2021-04-13T15:22:00.113820Z 0 [ERROR] [MY-000000] [Galera] handshake with remote endpoint ssl://172.18.0.2:4567 failed: asio.ssl:67567754: ‘invalid padding’ ( 67567754: ‘error:0407008A:rsa routines:RSA_padding_check_PKCS1_type_1:invalid padding’)
This error is often caused by SSL issues. For more information, please see:
https://per.co.na/pxc/encrypt_cluster_traffic