gluster / gluster-kubernetes

GlusterFS Native Storage Service for Kubernetes
Apache License 2.0
875 stars 390 forks source link

About GlusterFs containers support geographic replication #655

Open lixiaopengy opened 4 years ago

lixiaopengy commented 4 years ago

Version: GlusterFS: v7.1 Kubernetes: kubeadm v1.11.0

I deployed two clusters, using the type of copy volume, the number of copies is 3, I follow " https://docs.gluster.org/en/v3/Administrator%20Guide/Geo%20Replication/ " the operation was carried out, but when I successfully established the connection, my volume replication state was kept in the creation state. When I looked at the log, the error was shown as follows

[2020-05-19 07:36:00.57655] W [gsyncd(config-get):314:main] <top>: Session config file not exists, using the default config path=/var/lib/glusterd/geo-replication/vol_46a814982279324edbbc67833a358178_192.168.200.60_vol_56ec506bd86b7fc8d99ba9738a0b0efc/gsyncd.conf
[2020-05-19 07:36:04.985783] I [gsyncd(monitor-status):318:main] <top>: Using session config file   path=/var/lib/glusterd/geo-replication/vol_46a814982279324edbbc67833a358178_192.168.200.60_vol_56ec506bd86b7fc8d99ba9738a0b0efc/gsyncd.conf
[2020-05-19 07:36:05.19565] I [subcmds(monitor-status):29:subcmd_monitor_status] <top>: Monitor Status Change   status=Created
[2020-05-19 07:36:37.459872] I [gsyncd(config-get):318:main] <top>: Using session config file   path=/var/lib/glusterd/geo-replication/vol_46a814982279324edbbc67833a358178_192.168.200.60_vol_56ec506bd86b7fc8d99ba9738a0b0efc/gsyncd.conf
[2020-05-19 07:36:37.769294] I [gsyncd(config-get):318:main] <top>: Using session config file   path=/var/lib/glusterd/geo-replication/vol_46a814982279324edbbc67833a358178_192.168.200.60_vol_56ec506bd86b7fc8d99ba9738a0b0efc/gsyncd.conf
[2020-05-19 07:36:38.966314] I [gsyncd(config-get):318:main] <top>: Using session config file   path=/var/lib/glusterd/geo-replication/vol_46a814982279324edbbc67833a358178_192.168.200.60_vol_56ec506bd86b7fc8d99ba9738a0b0efc/gsyncd.conf
[2020-05-19 07:36:39.288120] I [gsyncd(monitor):318:main] <top>: Using session config file  path=/var/lib/glusterd/geo-replication/vol_46a814982279324edbbc67833a358178_192.168.200.60_vol_56ec506bd86b7fc8d99ba9738a0b0efc/gsyncd.conf
[2020-05-19 07:36:40.185537] E [syncdutils(monitor):822:errlog] Popen: command returned error   cmd=ssh -oPasswordAuthentication=no -oStrictHostKeyChecking=no -i /var/lib/glusterd/geo-replication/secret.pem -p 22 192.168.200.60 /usr/sbin/gluster --xml --remote-host=localhost volume info vol_56ec506bd86b7fc8d99ba9738a0b0efc    error=255
[2020-05-19 07:36:40.186572] E [syncdutils(monitor):826:logerr] Popen: ssh> Permission denied (publickey,password).
[2020-05-19 07:36:45.447757] I [gsyncd(config-get):318:main] <top>: Using session config file   path=/var/lib/glusterd/geo-replication/vol_46a814982279324edbbc67833a358178_192.168.200.60_vol_56ec506bd86b7fc8d99ba9738a0b0efc/gsyncd.conf
[2020-05-19 07:36:45.859026] I [gsyncd(status):318:main] <top>: Using session config file   path=/var/lib/glusterd/geo-replication/vol_46a814982279324edbbc67833a358178_192.168.200.60_vol_56ec506bd86b7fc8d99ba9738a0b0efc/gsyncd.conf
[2020-05-19 07:36:57.12495] I [gsyncd(config-get):318:main] <top>: Using session config file    path=/var/lib/glusterd/geo-replication/vol_46a814982279324edbbc67833a358178_192.168.200.60_vol_56ec506bd86b7fc8d99ba9738a0b0efc/gsyncd.conf
[2020-05-19 07:36:57.969933] I [gsyncd(config-get):318:main] <top>: Using session config file   path=/var/lib/glusterd/geo-replication/vol_46a814982279324edbbc67833a358178_192.168.200.60_vol_56ec506bd86b7fc8d99ba9738a0b0efc/gsyncd.conf
[2020-05-19 08:17:31.97744] I [gsyncd(config-get):318:main] <top>: Using session config file    path=/var/lib/glusterd/geo-replication/vol_46a814982279324edbbc67833a358178_192.168.200.60_vol_56ec506bd86b7fc8d99ba9738a0b0efc/gsyncd.conf
[2020-05-19 08:17:31.478399] I [gsyncd(status):318:main] <top>: Using session config file   path=/var/lib/glusterd/geo-replication/vol_46a814982279324edbbc67833a358178_192.168.200.60_vol_56ec506bd86b7fc8d99ba9738a0b0efc/gsyncd.conf
[2020-05-19 08:18:47.514067] I [gsyncd(config-get):318:main] <top>: Using session config file   path=/var/lib/glusterd/geo-replication/vol_46a814982279324edbbc67833a358178_192.168.200.60_vol_56ec506bd86b7fc8d99ba9738a0b0efc/gsyncd.conf
[2020-05-19 08:18:48.429317] I [gsyncd(config-get):318:main] <top>: Using session config file   path=/var/lib/glusterd/geo-replication/vol_46a814982279324edbbc67833a358178_192.168.200.60_vol_56ec506bd86b7fc8d99ba9738a0b0efc/gsyncd.conf

It seems strange, I don't understand how such a problem happened