<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">Hi all,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">I use glusterfs 4.1.3 non-root user geo-replication in a cascading setup. The gsyncd.log on the master is fine, but I have some strange changelog warnings and errors on the interimmaster:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">gsyncd.log<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">…<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">[2018-09-11 10:38:35.575464] I [master(worker /bricks/brick1/brick):1460:crawl] _GMaster: slave's time&nbsp; stime=(1536662250, 0)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">[2018-09-11 10:38:37.126749] I [master(worker /bricks/brick1/brick):1944:syncjob] Syncer: Sync Time Taken&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; duration=1.4698 num_files=1&nbsp;&nbsp;&nbsp;&nbsp; job=1&nbsp;&nbsp; return_code=23<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">[2018-09-11 10:38:37.128668] W [master(worker /bricks/brick1/brick):1346:process] _GMaster: incomplete sync, retrying changelogs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; files=['CHANGELOG.1536662311']<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">[2018-09-11 10:38:39.353209] I [master(worker /bricks/brick1/brick):1944:syncjob] Syncer: Sync Time Taken&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; duration=1.4057 num_files=1&nbsp;&nbsp;&nbsp;&nbsp; job=2&nbsp;&nbsp; return_code=23<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">[2018-09-11 10:38:39.354737] W [master(worker /bricks/brick1/brick):1346:process] _GMaster: incomplete sync, retrying changelogs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; files=['CHANGELOG.1536662311']<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">[2018-09-11 10:38:41.501187] I [master(worker /bricks/brick1/brick):1944:syncjob] Syncer: Sync Time Taken&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; duration=1.4781 num_files=1&nbsp;&nbsp;&nbsp;&nbsp; job=3&nbsp;&nbsp; return_code=23<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">[2018-09-11 10:38:41.503048] W [master(worker /bricks/brick1/brick):1346:process] _GMaster: incomplete sync, retrying changelogs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; files=['CHANGELOG.1536662311']<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">[2018-09-11 10:38:43.575047] I [master(worker /bricks/brick1/brick):1944:syncjob] Syncer: Sync Time Taken&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; duration=1.4385 num_files=1&nbsp;&nbsp;&nbsp;&nbsp; job=1&nbsp;&nbsp; return_code=23<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">[2018-09-11 10:38:43.576597] W [master(worker /bricks/brick1/brick):1346:process] _GMaster: incomplete sync, retrying changelogs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; files=['CHANGELOG.1536662311']<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">[2018-09-11 10:38:45.838089] I [master(worker /bricks/brick1/brick):1944:syncjob] Syncer: Sync Time Taken&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; duration=1.4765 num_files=1&nbsp;&nbsp;&nbsp;&nbsp; job=2&nbsp;&nbsp; return_code=23<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">[2018-09-11 10:38:45.840205] W [master(worker /bricks/brick1/brick):1346:process] _GMaster: incomplete sync, retrying changelogs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; files=['CHANGELOG.1536662311']<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">[2018-09-11 10:38:47.969033] I [master(worker /bricks/brick1/brick):1944:syncjob] Syncer: Sync Time Taken&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; duration=1.4602 num_files=1&nbsp;&nbsp;&nbsp;&nbsp; job=3&nbsp;&nbsp; return_code=23<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">[2018-09-11 10:38:47.970118] W [master(worker /bricks/brick1/brick):1346:process] _GMaster: incomplete sync, retrying changelogs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; files=['CHANGELOG.1536662311']<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">[2018-09-11 10:38:50.54420] I [master(worker /bricks/brick1/brick):1944:syncjob] Syncer: Sync Time Taken&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; duration=1.4717 num_files=1&nbsp;&nbsp;&nbsp;&nbsp; job=1&nbsp;&nbsp; return_code=23<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">[2018-09-11 10:38:50.56072] W [master(worker /bricks/brick1/brick):1346:process] _GMaster: incomplete sync, retrying changelogs files=['CHANGELOG.1536662311']<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">[2018-09-11 10:38:52.317955] I [master(worker /bricks/brick1/brick):1944:syncjob] Syncer: Sync Time Taken&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; duration=1.4711 num_files=1&nbsp;&nbsp;&nbsp;&nbsp; job=2&nbsp;&nbsp; return_code=23<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">[2018-09-11 10:38:52.319642] W [master(worker /bricks/brick1/brick):1346:process] _GMaster: incomplete sync, retrying changelogs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; files=['CHANGELOG.1536662311']<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">[2018-09-11 10:38:54.448926] I [master(worker /bricks/brick1/brick):1944:syncjob] Syncer: Sync Time Taken&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; duration=1.4715 num_files=1&nbsp;&nbsp;&nbsp;&nbsp; job=3&nbsp;&nbsp; return_code=23<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">[2018-09-11 10:38:54.451127] W [master(worker /bricks/brick1/brick):1346:process] _GMaster: incomplete sync, retrying changelogs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; files=['CHANGELOG.1536662311']<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">[2018-09-11 10:38:56.538007] I [master(worker /bricks/brick1/brick):1944:syncjob] Syncer: Sync Time Taken&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; duration=1.4759 num_files=1&nbsp;&nbsp;&nbsp;&nbsp; job=1&nbsp;&nbsp; return_code=23<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">[2018-09-11 10:38:56.538914] E [master(worker /bricks/brick1/brick):1325:process] _GMaster: changelogs could not be processed completely - moving on... files=['CHANGELOG.1536662311']<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">[2018-09-11 10:38:56.544816] I [master(worker /bricks/brick1/brick):1374:process] _GMaster: Entry Time Taken&nbsp;&nbsp;&nbsp; MKD=0&nbsp;&nbsp; MKN=0&nbsp;&nbsp; LIN=0&nbsp;&nbsp; SYM=0&nbsp;&nbsp; REN=0&nbsp;&nbsp; RMD=0&nbsp;&nbsp; CRE=0&nbsp;&nbsp; duration=0.0000 UNL=0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">[2018-09-11 10:38:56.545031] I [master(worker /bricks/brick1/brick):1384:process] _GMaster: Data/Metadata Time Taken&nbsp;&nbsp;&nbsp; SETA=0&nbsp; SETX=0&nbsp; meta_duration=0.0000&nbsp;&nbsp;&nbsp; data_duration=1536662336.5450&nbsp;&nbsp;
 DATA=0&nbsp; XATT=0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">[2018-09-11 10:38:56.545356] I [master(worker /bricks/brick1/brick):1394:process] _GMaster: Batch Completed&nbsp;&nbsp;&nbsp;&nbsp; changelog_end=1536662311&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; entry_stime=None&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; changelog_start=1536662311&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 stime=(1536662310, 0)&nbsp;&nbsp; duration=20.9674&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; num_changelogs=1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mode=live_changelog<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">I had those issues in the past with 4.1.2 as well. I could fix it only by deleting the geo-replication and the gluster volume and re-create everything.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">If I delete the geo-replication and delete the changelogs directory or the CHANGELOG files, I get this error:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">gsyncd.log<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">…<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">[2018-09-11 10:26:44.928277] E [repce(agent /bricks/brick1/brick):105:worker] &lt;top&gt;: call failed:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">Traceback (most recent call last):<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">&nbsp; File &quot;/usr/libexec/glusterfs/python/syncdaemon/repce.py&quot;, line 101, in worker<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">&nbsp;&nbsp;&nbsp; res = getattr(self.obj, rmeth)(*in_data[2:])<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">&nbsp; File &quot;/usr/libexec/glusterfs/python/syncdaemon/changelogagent.py&quot;, line 53, in history<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">&nbsp;&nbsp;&nbsp; num_parallel)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">&nbsp; File &quot;/usr/libexec/glusterfs/python/syncdaemon/libgfchangelog.py&quot;, line 101, in cl_history_changelog<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">&nbsp;&nbsp;&nbsp; cls.raise_changelog_err()<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">&nbsp; File &quot;/usr/libexec/glusterfs/python/syncdaemon/libgfchangelog.py&quot;, line 28, in raise_changelog_err<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">&nbsp;&nbsp;&nbsp; raise ChangelogException(errn, os.strerror(errn))<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">ChangelogException: [Errno 61] No data available<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">…<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">Or <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">Traceback (most recent call last):<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">&nbsp; File &quot;/usr/libexec/glusterfs/python/syncdaemon/repce.py&quot;, line 101, in worker<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">&nbsp;&nbsp;&nbsp; res = getattr(self.obj, rmeth)(*in_data[2:])<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">&nbsp; File &quot;/usr/libexec/glusterfs/python/syncdaemon/changelogagent.py&quot;, line 53, in history<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">&nbsp;&nbsp;&nbsp; num_parallel)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">&nbsp; File &quot;/usr/libexec/glusterfs/python/syncdaemon/libgfchangelog.py&quot;, line 101, in cl_history_changelog<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">&nbsp;&nbsp;&nbsp; cls.raise_changelog_err()<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">&nbsp; File &quot;/usr/libexec/glusterfs/python/syncdaemon/libgfchangelog.py&quot;, line 28, in raise_changelog_err<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">&nbsp;&nbsp;&nbsp; raise ChangelogException(errn, os.strerror(errn))<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">ChangelogException: [Errno 2] No such file or directory<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">I read somewhere that if I delete the geo-replication with “reset-sync-time”, the changelogs are cleared, but this doesn’t happen.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt">How can I reset the changelog without deleting all data?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;color:black">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;color:black">&nbsp;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;color:black">Christian Kotte</span><span lang="EN-GB" style="font-size:11.0pt;color:black"><o:p></o:p></span></p>
</div>
</body>
</html>