Ошибка "GLUSTER Changelog History Crawl failed [{error=[Errno 0] Success}]"
1. Описание ошибки
При настройке гео-репликации на вкладке
возникает ошибка FAULTY.В логах по пути
var/log/glusterfs/geo-replication/tom20_master_zvirt.example.ru_tom20_slave/gsyncd.log
Ошибка:
[2022-11-18 12:10:40.432477] E [resource(worker /gluster_bricks/brick20_master/brick20_master):1312:service_loop] GLUSTER: Changelog History Crawl failed [{error=[Errno 0] Success}]
2. Решение
Выполнить:
gluster volume geo-replication <volume> <target> delete reset-sync-time
gluster volume reset <volume> geo-replication.ignore-pid-check force
gluster volume reset <volume> geo-replication.indexing force
gluster volume reset <volume> changelog.changelog force
gluster volume reset <volume> changelog.capture-del-path force
rm -rf /path/to/brick/.glusterfs/changelogs/*
gluster volume geo-replication <volume> <target> create push-pem force
Например:
gluster volume geo-replication tom20_master tom20_slave delete reset-sync-time
gluster volume geo-replication tom20_master zvirt.example.ru:/tom20_slave
gluster volume geo-replication tom20_master zvirt.example.ru::tom20_slave delete reset-sync-time
gluster volume reset tom20_master geo-replication.ignore-pid-check force
gluster volume reset tom20_master geo-replication.indexing force
gluster volume reset tom20_master changelog.changelog force
gluster volume reset tom20_master changelog.capture-del-path force
rm -rf /gluster_bricks/brick20_master/brick20_master/.glusterfs/changelogs/*
gluster volume geo-replication tom20_master zvirt.example.ru::tom20_slave create push-pem force