<div dir="ltr"><div><div>Hi Krishna,<br><br></div>The logs indicate that it has received gluster-poc-sj::gluster as the slave volume where as the actual slave volume is gluster-poc-sj::glusterdist<br><br></div>what&#39;s you irc nick in #gluster? <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 6, 2018 at 1:45 PM, Krishna Verma <span dir="ltr">&lt;<a href="mailto:kverma@cadence.com" target="_blank">kverma@cadence.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="EN-US">
<div class="m_-4914216552181142444WordSection1">
<p class="MsoNormal">Hi Kotresh,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">[root@gluster-poc-noida repvol]# tailf /var/log/glusterfs/glusterd.<wbr>log<u></u><u></u></p>
<p class="MsoNormal">[2018-09-06 07:57:03.443256] W [MSGID: 106028] [glusterd-geo-rep.c:2568:<wbr>glusterd_get_statefile_name] 0-management: Config file (/var/lib/glusterd/geo-<wbr>replication/glusterdist_<wbr>gluster-poc-sj_gluster/gsyncd.<wbr>conf) missing. Looking for template
 config file (/var/lib/glusterd/geo-<wbr>replication/gsyncd_template.<wbr>conf) [No such file or directory]<u></u><u></u></p>
<p class="MsoNormal">[2018-09-06 07:57:03.443339] I [MSGID: 106294] [glusterd-geo-rep.c:2577:<wbr>glusterd_get_statefile_name] 0-management: Using default config template(/var/lib/glusterd/<wbr>geo-replication/gsyncd_<wbr>template.conf).<u></u><u></u></p>
<p class="MsoNormal">[2018-09-06 07:57:03.512014] E [MSGID: 106028] [glusterd-geo-rep.c:3577:<wbr>glusterd_op_stage_gsync_set] 0-management: Geo-replication session between glusterdist and gluster-poc-sj::gluster does not exist.. statefile = /var/lib/glusterd/geo-<wbr>replication/glusterdist_<wbr>gluster-poc-sj_gluster/<wbr>monitor.status
 [No such file or directory]<u></u><u></u></p>
<p class="MsoNormal">[2018-09-06 07:57:03.512049] E [MSGID: 106322] [glusterd-geo-rep.c:3778:<wbr>glusterd_op_stage_gsync_set] 0-management: Geo-replication session between glusterdist and gluster-poc-sj::gluster does not exist.<u></u><u></u></p>
<p class="MsoNormal">[2018-09-06 07:57:03.512063] E [MSGID: 106301] [glusterd-syncop.c:1352:gd_<wbr>stage_op_phase] 0-management: Staging of operation &#39;Volume Geo-replication&#39; failed on localhost : Geo-replication session between glusterdist and gluster-poc-sj::gluster
 does not exist.<u></u><u></u></p>
<p class="MsoNormal">[2018-09-06 07:57:24.869113] E [MSGID: 106316] [glusterd-geo-rep.c:2761:<wbr>glusterd_verify_slave] 0-management: Not a valid slave<u></u><u></u></p>
<p class="MsoNormal">[2018-09-06 07:57:24.869289] E [MSGID: 106316] [glusterd-geo-rep.c:3152:<wbr>glusterd_op_stage_gsync_<wbr>create] 0-management: gluster-poc-sj::gluster is not a valid slave volume. Error: Unable to mount and fetch slave volume details. Please check
 the log: /var/log/glusterfs/geo-<wbr>replication/gverify-slavemnt.<wbr>log<u></u><u></u></p>
<p class="MsoNormal">[2018-09-06 07:57:24.869313] E [MSGID: 106301] [glusterd-syncop.c:1352:gd_<wbr>stage_op_phase] 0-management: Staging of operation &#39;Volume Geo-replication Create&#39; failed on localhost : Unable to mount and fetch slave volume details. Please check
 the log: /var/log/glusterfs/geo-<wbr>replication/gverify-slavemnt.<wbr>log<u></u><u></u></p>
<p class="MsoNormal">[2018-09-06 07:56:38.421045] I [MSGID: 106308] [glusterd-geo-rep.c:4881:<wbr>glusterd_get_gsync_status_mst_<wbr>slv] 0-management: geo-replication status glusterdist gluster-poc-sj::gluster : session is not active<u></u><u></u></p>
<p class="MsoNormal">[2018-09-06 07:56:38.486229] I [MSGID: 106028] [glusterd-geo-rep.c:4903:<wbr>glusterd_get_gsync_status_mst_<wbr>slv] 0-management: /var/lib/glusterd/geo-<wbr>replication/glusterdist_<wbr>gluster-poc-sj_gluster/<wbr>monitor.status statefile not present. [No such
 file or directory]<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">/Krishna<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><b>From:</b> Kotresh Hiremath Ravishankar &lt;<a href="mailto:khiremat@redhat.com" target="_blank">khiremat@redhat.com</a>&gt;
<br>
<b>Sent:</b> Thursday, September 6, 2018 1:20 PM<br>
<b>To:</b> Krishna Verma &lt;<a href="mailto:kverma@cadence.com" target="_blank">kverma@cadence.com</a>&gt;<br>
<b>Cc:</b> Gluster Users &lt;<a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a>&gt;<br>
<b>Subject:</b> Re: [Gluster-users] Geo-Replication issue<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="color:red">EXTERNAL MAIL</span><u></u><u></u></p>
</div><div><div class="h5">
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi Krishna,<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">glusterd log file would help here<u></u><u></u></p>
</div>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
</div>
<p class="MsoNormal">Kotresh HR<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Thu, Sep 6, 2018 at 1:02 PM, Krishna Verma &lt;<a href="mailto:kverma@cadence.com" target="_blank">kverma@cadence.com</a>&gt; wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal">Hi All,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I am getting issue in geo-replication distributed gluster volume. In a session status it shows only peer node instead of 2. And I am also not able to delete/start/stop or anything
 on this session. <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><span style="color:red">geo-replication distributed gluster volume “glusterdist” status</span><u></u><u></u></p>
<p class="MsoNormal">[root@gluster-poc-noida ~]# gluster volume status glusterdist<u></u><u></u></p>
<p class="MsoNormal">Status of volume: glusterdist<u></u><u></u></p>
<p class="MsoNormal">Gluster process                       <wbr>      TCP Port  RDMA Port  Online  Pid<u></u><u></u></p>
<p class="MsoNormal">------------------------------<wbr>------------------------------<wbr>------------------<u></u><u></u></p>
<p class="MsoNormal">Brick gluster-poc-noida:/data/<wbr>gluster-dist/<u></u><u></u></p>
<p class="MsoNormal">distvol                       <wbr>              49154     0          Y       23138<u></u><u></u></p>
<p class="MsoNormal">Brick noi-poc-gluster:/data/gluster-<wbr>dist/di<u></u><u></u></p>
<p class="MsoNormal">stvol                         <wbr>              49154     0          Y       14637<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Task Status of Volume glusterdist<u></u><u></u></p>
<p class="MsoNormal">------------------------------<wbr>------------------------------<wbr>------------------<u></u><u></u></p>
<p class="MsoNormal">There are no active volume tasks<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><span style="color:red">Geo-replication session status
</span><u></u><u></u></p>
<p class="MsoNormal">[root@gluster-poc-noida ~]# gluster volume geo-replication glusterdist gluster-poc-sj::glusterdist status<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">MASTER NODE        MASTER VOL     MASTER BRICK                  SLAVE USER    SLAVE                          SLAVE NODE    STATUS     CRAWL STATUS    LAST_SYNCED<u></u><u></u></p>
<p class="MsoNormal">------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>----------<u></u><u></u></p>
<p class="MsoNormal">noi-poc-gluster    glusterdist    /data/gluster-dist/distvol    root          gluster-poc-sj::glusterdist    N/A           Stopped    N/A             N/A<u></u><u></u></p>
<p class="MsoNormal">[root@gluster-poc-noida ~]#<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><span style="color:red">Can’t stop/start/delete the session</span>:<u></u><u></u></p>
<p class="MsoNormal">[root@gluster-poc-noida ~]#
<span style="background:yellow">gluster volume geo-replication glusterdist gluster-poc-sj::glusterdist stop</span><u></u><u></u></p>
<p class="MsoNormal">Staging failed on localhost. Please check the log file for more details.<u></u><u></u></p>
<p class="MsoNormal">geo-replication command failed<u></u><u></u></p>
<p class="MsoNormal">[root@gluster-poc-noida ~]#
<span style="background:yellow">gluster volume geo-replication glusterdist gluster-poc-sj::glusterdist stop force</span><u></u><u></u></p>
<p class="MsoNormal">pid-file entry mising in config file and template config file.<u></u><u></u></p>
<p class="MsoNormal">geo-replication command failed<u></u><u></u></p>
<p class="MsoNormal">[root@gluster-poc-noida ~]#
<span style="background:yellow">gluster volume geo-replication glusterdist gluster-poc-sj::glusterdist delete</span><u></u><u></u></p>
<p class="MsoNormal">Staging failed on localhost. Please check the log file for more details.<u></u><u></u></p>
<p class="MsoNormal">geo-replication command failed<u></u><u></u></p>
<p class="MsoNormal">[root@gluster-poc-noida ~]#
<span style="background:yellow">gluster volume geo-replication glusterdist gluster-poc-sj::glusterdist start</span><u></u><u></u></p>
<p class="MsoNormal">Staging failed on localhost. Please check the log file for more details.<u></u><u></u></p>
<p class="MsoNormal">geo-replication command failed<u></u><u></u></p>
<p class="MsoNormal">[root@gluster-poc-noida ~]#<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><span style="color:red">gsyncd.log errors
</span><u></u><u></u></p>
<p class="MsoNormal">[2018-09-06 06:17:21.757195] I [monitor(monitor):269:monitor] Monitor:
<span style="background:yellow">worker died before establishing connection       brick=/data/gluster-dist/<wbr>distvol</span><u></u><u></u></p>
<p class="MsoNormal">[2018-09-06 06:17:32.312093] I [monitor(monitor):158:monitor] Monitor: starting gsyncd worker   brick=/data/gluster-dist/<wbr>distvol        slave_node=gluster-poc-sj<u></u><u></u></p>
<p class="MsoNormal">[2018-09-06 06:17:32.441817] I [monitor(monitor):261:monitor] Monitor:
<span style="background:yellow">Changelog Agent died, Aborting Worker    brick=/data/gluster-dist/<wbr>distvol</span><u></u><u></u></p>
<p class="MsoNormal">[2018-09-06 06:17:32.442193] I [monitor(monitor):279:monitor] Monitor: worker died in startup phase     brick=/data/gluster-dist/<wbr>distvol<u></u><u></u></p>
<p class="MsoNormal">[2018-09-06 06:17:43.1177] I [monitor(monitor):158:monitor] Monitor: starting gsyncd worker     brick=/data/gluster-dist/<wbr>distvol        slave_node=gluster-poc-sj<u></u><u></u></p>
<p class="MsoNormal">[2018-09-06 06:17:43.137794] I [monitor(monitor):261:monitor] Monitor: Changelog Agent died, Aborting Worker    brick=/data/gluster-dist/<wbr>distvol<u></u><u></u></p>
<p class="MsoNormal">[2018-09-06 06:17:43.138214] I [monitor(monitor):279:monitor] Monitor: worker died in startup phase     brick=/data/gluster-dist/<wbr>distvol<u></u><u></u></p>
<p class="MsoNormal">[2018-09-06 06:17:53.144072] I [monitor(monitor):158:monitor] Monitor: starting gsyncd worker   brick=/data/gluster-dist/<wbr>distvol        slave_node=gluster-poc-sj<u></u><u></u></p>
<p class="MsoNormal">[2018-09-06 06:17:53.276853] I [monitor(monitor):261:monitor] Monitor: Changelog Agent died, Aborting Worker    brick=/data/gluster-dist/<wbr>distvol<u></u><u></u></p>
<p class="MsoNormal">[2018-09-06 06:17:53.277327] I [monitor(monitor):279:monitor] Monitor: worker died in startup phase     brick=/data/gluster-dist/<wbr>distvol<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Could anyone please help?<u></u><u></u></p>
<p class="MsoNormal"><span style="color:#888888"> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#888888">/Krishna<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#888888"> <u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><br>
______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.gluster.org_mailman_listinfo_gluster-2Dusers&amp;d=DwMFaQ&amp;c=aUq983L2pue2FqKFoP6PGHMJQyoJ7kl3s3GZ-_haXqY&amp;r=0E5nRoxLsT2ZXgCpJM_6ZItAWQ2jH8rVLG6tiXhoLFE&amp;m=zfrxmLB-zXT7RSou-WQ9fI9aIoumCEbWelm3E2GuwQo&amp;s=QXfkhcIvtb7xfvCBJ3HvqbnW_1eizMd8D1TEyDO75tc&amp;e=" target="_blank">https://lists.gluster.org/<wbr>mailman/listinfo/gluster-users</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal">Thanks and Regards,<u></u><u></u></p>
</div>
<p class="MsoNormal">Kotresh H R<u></u><u></u></p>
</div>
</div>
</div>
</div></div></div>
</div>

</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Thanks and Regards,<br></div>Kotresh H R<br></div></div>
</div>