<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">06.04.2018 14:46, Prashanth Pai пишет:<br>
    </div>
    <blockquote type="cite"
cite="mid:CABGtmuY6-6CR5qMxk-2ai0LRMMHfF+02P3kzMfEEh6TmyeDhvQ@mail.gmail.com">
      <meta http-equiv="Context-Type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hi Dmitry,
        <div><br>
        </div>
        <div>How many nodes does the cluster have ?</div>
        <div><br>
        </div>
        <div>If the quorum is lost (majority of nodes are down),
          additional recovery steps are necessary to bring it back up:</div>
        <div><a
            href="https://github.com/gluster/glusterd2/wiki/Recovery"
            moz-do-not-send="true">https://github.com/gluster/glusterd2/wiki/Recovery</a><br>
        </div>
        <div><br>
        </div>
      </div>
    </blockquote>
    <br>
    Hello!<br>
    <br>
    just 2 nodes and looks like we had both down.<br>
    <br>
    We tried to create test cluster with 3 nodes, to learn how to use
    glusterd2, but had this issue when we had only 2 nodes, i.e. after
    we added second node.<br>
    just because we found that <br>
    gluster<br>
    cli uses localhost by default, but we configured glusterd2 to
    ethernet interface address, this is another problem we hit, so we
    restarted both nodes I guess :-)<br>
    <br>
    Glusterd2 state looks as pre-alpha for me, so we'll wait for at
    least beta.<br>
    <br>
    Thank you!<br>
    <br>
    <br>
    <br>
    <br>
    <blockquote type="cite"
cite="mid:CABGtmuY6-6CR5qMxk-2ai0LRMMHfF+02P3kzMfEEh6TmyeDhvQ@mail.gmail.com">
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Wed, Apr 4, 2018 at 11:08 AM, Dmitry
          Melekhov <span dir="ltr">&lt;<a href="mailto:dm@belkam.com"
              target="_blank" moz-do-not-send="true">dm@belkam.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote">Hello!<br>
            <br>
            Installed packages from SIG on centos7 ,<br>
            <br>
            at first start it works, but after restart- not:<br>
            <br>
            <br>
             glusterd2 --config /etc/glusterd2/glusterd2.toml<br>
            DEBU[2018-04-04 09:28:16.945267] Starting
            GlusterD                      <wbr>       pid=221581
            source="[main.go:55:main.main]<wbr>" version=v4.0.0-0<br>
            INFO[2018-04-04 09:28:16.945824] loaded configuration from
            file                file=/etc/glusterd2/glusterd2.<wbr>toml
            source="[config.go:163:<a href="http://main.in"
              moz-do-not-send="true">main.in</a><wbr>itConfig]"<br>
            DEBU[2018-04-04 09:28:16.946343] running with
            configuration                 <wbr>   cert-file=
            clientaddress="<a href="http://192.168.222.24:24007"
              rel="noreferrer" target="_blank" moz-do-not-send="true">192.168.222.24:<wbr>24007</a>"
            config=/etc/glusterd2/glusterd<wbr>2.toml
            defaultpeerport=24008 etcdcurls="<a
              href="http://192.168.222.24:2379" rel="noreferrer"
              target="_blank" moz-do-not-send="true">http://192.168.222.<wbr>24:2379</a>"
            etcdendpoints="[]" etcdpurls="<a
              href="http://192.168.222.24:2380" rel="noreferrer"
              target="_blank" moz-do-not-send="true">http://192.168.222.<wbr>24:2380</a>"
            key-file= localstatedir=/var/lib/gluster<wbr>d2
            logdir=/var/log/glusterd2 logfile=glusterd2.log
            loglevel=debug noembed=false peeraddress="<a
              href="http://192.168.222.24:24008" rel="noreferrer"
              target="_blank" moz-do-not-send="true">192.168.222.24:24<wbr>008</a>"
            rundir=/usr/var/run/glusterd2 source="[config.go:129:main.du<wbr>mpConfigToLog]"
            statedump=true version=false workdir=/etc/glusterd2<br>
            DEBU[2018-04-04 09:28:17.067244] loading templates
            source="[template.go:64:volgen<wbr>.LoadTemplates]"
            templatesdir=<br>
            DEBU[2018-04-04 09:28:17.068207] generated default templates
            source="[template.go:82:volgen<wbr>.LoadTemplates]"
            templates="[brick.graph distreplicate.graph fuse.graph
            distribute.graph replicate.graph disperse.graph]"<br>
            DEBU[2018-04-04 09:28:17.068361] loaded template
            source="[template.go:102:volge<wbr>n.LoadTemplate]"
            template=brick.graph<br>
            DEBU[2018-04-04 09:28:17.068450] loaded template
            source="[template.go:102:volge<wbr>n.LoadTemplate]"
            template=distreplicate.graph<br>
            DEBU[2018-04-04 09:28:17.068539] loaded template
            source="[template.go:102:volge<wbr>n.LoadTemplate]"
            template=fuse.graph<br>
            DEBU[2018-04-04 09:28:17.068621] loaded template
            source="[template.go:102:volge<wbr>n.LoadTemplate]"
            template=distribute.graph<br>
            DEBU[2018-04-04 09:28:17.068798] loaded template
            source="[template.go:102:volge<wbr>n.LoadTemplate]"
            template=replicate.graph<br>
            DEBU[2018-04-04 09:28:17.068878] loaded template
            source="[template.go:102:volge<wbr>n.LoadTemplate]"
            template=disperse.graph<br>
            DEBU[2018-04-04 09:28:17.069316] saving updated store
            config                   source="[config.go:166:store.G<wbr>etConfig]"<br>
            DEBU[2018-04-04 09:28:17.069745] starting embedded
            store                       cafile= certfile= curls="<a
              href="http://192.168.222.24:2379" rel="noreferrer"
              target="_blank" moz-do-not-send="true">http://192.168.222.24:2<wbr>379</a>"
            datadir=/var/lib/glusterd2/sto<wbr>re endpoints="<a
              href="http://192.168.222.24:2379" rel="noreferrer"
              target="_blank" moz-do-not-send="true">http://192.168.222.<wbr>24:2379</a>"
            keyfile= logdir=/var/log/glusterd2/stor<wbr>e
            name=10641b8a-7135-4694-9b90-9<wbr>55827c8eba9 purls="<a
              href="http://192.168.222.24:2380" rel="noreferrer"
              target="_blank" moz-do-not-send="true">http://192.168.222.24:2<wbr>380</a>"
            source="[embed.go:32:store.new<wbr>EmbedStore]"
            trustedcafile=<br>
            2018-04-04 09:28:17.071331 I | etcdserver/api/v3rpc: grpc:
            addrConn.resetTransport failed to create client transport:
            connection error: desc = "transport: dial tcp <a
              href="http://192.168.222.24:2379" rel="noreferrer"
              target="_blank" moz-do-not-send="true">192.168.222.24:2379</a>:
            getsockopt: connection refused"; Reconnecting to {<a
              href="http://192.168.222.24:2379" rel="noreferrer"
              target="_blank" moz-do-not-send="true">192.168.222.24:2379</a>
            &lt;nil&gt;}<br>
            2018-04-04 09:28:18.071206 I | etcdserver/api/v3rpc: grpc:
            addrConn.resetTransport failed to create client transport:
            connection error: desc = "transport: dial tcp <a
              href="http://192.168.222.24:2379" rel="noreferrer"
              target="_blank" moz-do-not-send="true">192.168.222.24:2379</a>:
            getsockopt: connection refused"; Reconnecting to {<a
              href="http://192.168.222.24:2379" rel="noreferrer"
              target="_blank" moz-do-not-send="true">192.168.222.24:2379</a>
            &lt;nil&gt;}<br>
            2018-04-04 09:28:19.681081 I | etcdserver/api/v3rpc: grpc:
            addrConn.resetTransport failed to create client transport:
            connection error: desc = "transport: dial tcp <a
              href="http://192.168.222.24:2379" rel="noreferrer"
              target="_blank" moz-do-not-send="true">192.168.222.24:2379</a>:
            getsockopt: connection refused"; Reconnecting to {<a
              href="http://192.168.222.24:2379" rel="noreferrer"
              target="_blank" moz-do-not-send="true">192.168.222.24:2379</a>
            &lt;nil&gt;}<br>
            2018-04-04 09:28:22.070811 I | etcdserver/api/v3rpc: Failed
            to dial <a href="http://192.168.222.24:2379"
              rel="noreferrer" target="_blank" moz-do-not-send="true">192.168.222.24:2379</a>:
            context canceled; please retry.<br>
            ERRO[2018-04-04 09:28:22.070891] failed to start embedded
            store                error="dial tcp <a
              href="http://192.168.222.24:2379" rel="noreferrer"
              target="_blank" moz-do-not-send="true">192.168.222.24:2379</a>:
            getsockopt: connection refused"
            source="[embed.go:36:store.new<wbr>EmbedStore]"<br>
            FATA[2018-04-04 09:28:22.071038] Failed to initialize store
            (etcd client)      error="dial tcp <a
              href="http://192.168.222.24:2379" rel="noreferrer"
              target="_blank" moz-do-not-send="true">192.168.222.24:2379</a>:
            getsockopt: connection refused"
            source="[main.go:89:main.main]<wbr>"<br>
            <br>
            <br>
            cat glusterd2.toml<br>
            localstatedir = "/var/lib/glusterd2"<br>
            logdir = "/var/log/glusterd2"<br>
            logfile = "glusterd2.log"<br>
            rundir = "/usr/var/run/glusterd2"<br>
            peeraddress = "<a href="http://192.168.222.24:24008"
              rel="noreferrer" target="_blank" moz-do-not-send="true">192.168.222.24:24008</a>"<br>
            clientaddress = "<a href="http://192.168.222.24:24007"
              rel="noreferrer" target="_blank" moz-do-not-send="true">192.168.222.24:24007</a>"<br>
            etcdcurls = "<a href="http://192.168.222.24:2379"
              rel="noreferrer" target="_blank" moz-do-not-send="true">http://192.168.222.24:2379</a>"<br>
            etcdpurls = "<a href="http://192.168.222.24:2380"
              rel="noreferrer" target="_blank" moz-do-not-send="true">http://192.168.222.24:2380</a>"<br>
            <br>
            <br>
            Any ideas?<br>
            <br>
            <br>
            Thank you!<br>
            <br>
            <br>
            <br>
            <br>
            ______________________________<wbr>_________________<br>
            Gluster-users mailing list<br>
            <a href="mailto:Gluster-users@gluster.org" target="_blank"
              moz-do-not-send="true">Gluster-users@gluster.org</a><br>
            <a
              href="http://lists.gluster.org/mailman/listinfo/gluster-users"
              rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.gluster.org/mailm<wbr>an/listinfo/gluster-users</a></blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>