<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=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        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";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi All,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I&#8217;m running GlusterFS on a cluster hosted in AWS. I have a script which provisions my instances and thus will set up GlusterFS (specifically: glusterfs 3.5.8).
<br>
<br>
My issue is that this only works ~50% of the time and the other 50% of the time one of the peers will be &#8216;stuck&#8217; in the following state:<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal"><i>root@ip-xx-xx-xx-1:/home/ubuntu# gluster peer status<o:p></o:p></i></p>
<p class="MsoNormal"><i>Number of Peers: 3<o:p></o:p></i></p>
<p class="MsoNormal"><i><o:p>&nbsp;</o:p></i></p>
<p class="MsoNormal"><i>Hostname: xx.xx.xx.2<o:p></o:p></i></p>
<p class="MsoNormal"><i>Uuid: 3b4c1fb9-b325-4204-98fd-2eb739fa867f<o:p></o:p></i></p>
<p class="MsoNormal"><i>State: Peer in Cluster (Connected)<o:p></o:p></i></p>
<p class="MsoNormal"><i><o:p>&nbsp;</o:p></i></p>
<p class="MsoNormal"><i>Hostname: xx.xx.xx.3<o:p></o:p></i></p>
<p class="MsoNormal"><i>Uuid: acfc1794-9080-4eb0-8f69-3abe78bbee16<o:p></o:p></i></p>
<p class="MsoNormal"><i>State: Sent and Received peer request (Connected)<o:p></o:p></i></p>
<p class="MsoNormal"><i><o:p>&nbsp;</o:p></i></p>
<p class="MsoNormal"><i>Hostname: xx.xx.xx.4<o:p></o:p></i></p>
<p class="MsoNormal"><i>Uuid: af33463d-1b32-4ffb-a4f0-46ce16151e2f<o:p></o:p></i></p>
<p class="MsoNormal"><i>State: Peer in Cluster (Connected)<o:p></o:p></i></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Running gluster peer status on the instance that is affected yields:<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><i>root@ip-xx-xx-xx-3:/var/log/glusterfs# gluster peer status<br>
Number of Peers: 1<o:p></o:p></i></p>
<p class="MsoNormal"><i><o:p>&nbsp;</o:p></i></p>
<p class="MsoNormal"><i>Hostname: xx.xx.xx.1<o:p></o:p></i></p>
<p class="MsoNormal"><i>Uuid: c4f17e9a-893b-48f0-a014-1a05cca09d01<o:p></o:p></i></p>
<p class="MsoNormal"><i>State: Peer is connected and Accepted (Connected)<o:p></o:p></i></p>
<p class="MsoNormal"><i><o:p>&nbsp;</o:p></i></p>
<p class="MsoNormal">Of which the status (Connected) in this case, will fluctuate between &#8216;Connected&#8217; and &#8216;Disconnected&#8217;.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I have been unable to locate the cause of this issue. Has this been encountered before, and if so is there a general fix? I haven&#8217;t been able to find anything as of yet.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Many thanks,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:#3D4146;mso-fareast-language:EN-GB">Tommy</span></b><span style="mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
Please consider the environment before printing this email. This message should be regarded as confidential. If you have received this email in error please notify the sender and destroy it immediately. Statements of intent shall only become binding when confirmed
 in hard copy by an authorised signatory. The contents of this email may relate to dealings with other companies under the control of BAE Systems Applied Intelligence Limited, details of which can be found at http://www.baesystems.com/Businesses/index.htm.
</body>
</html>