<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 05/11/2017 06:50 PM, Joel Diaz
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAEE_1VNOL-fvOTceeiuNeepqG5dCUirN-u8J0003Uo1OhFDJcw@mail.gmail.com"
      type="cite">
      <div dir="auto">
        <p style="font-family:sans-serif;font-size:13.696px">Hi Kasturi,</p>
        <p style="font-family:sans-serif;font-size:13.696px"> </p>
        <p style="font-family:sans-serif;font-size:13.696px">Yes the
          ‘/var/lib/glusterd/virt’ was missing from my system.</p>
        <p style="font-family:sans-serif;font-size:13.696px"> </p>
        <p style="font-family:sans-serif;font-size:13.696px">I’m running
          ovirt on a RHEL - 7 - 3.1611.el7.centos on a physical machine.</p>
        <p style="font-family:sans-serif;font-size:13.696px"> </p>
        <p style="font-family:sans-serif;font-size:13.696px">The mistake
          is due to inexperience on my part. I stated earlier that I
          completely removed glusterfs and reinstalled it in order to
          recreate the ‘/var/lib/glusterd/virt’. The way I was
          uninstalling and reinstalling gluster must have been
          incorrect.</p>
        <p style="font-family:sans-serif;font-size:13.696px"> </p>
        <p style="font-family:sans-serif;font-size:13.696px">I ran ‘rpm
          -qa |grep gluster’ to get a list of the gluster components
          installed. I then proceeded to remove each one on the list.
          Then I ran a ‘yum install glusterfs* vdsm-gluster’ since I’m
          not sure which rpm provides the ‘/var/lib/glusterd/virt’
          file.  I’m not sure if this installs too many components but
          after that, the ‘/var/lib/glusterd/virt’ was present on my the
          system. I was able to proceed normally after that.</p>
        <p style="font-family:sans-serif;font-size:13.696px"> </p>
        <p style="font-family:sans-serif;font-size:13.696px">Thanks for
          taking the time to engage in my question,</p>
        <p style="font-family:sans-serif;font-size:13.696px"> </p>
        <p style="font-family:sans-serif;font-size:13.696px">Joel</p>
      </div>
      <div class="gmail_extra"><br>
      </div>
    </blockquote>
    Good to know that it works <span class="moz-smiley-s1"><span>:-)</span></span><br>
    <blockquote
cite="mid:CAEE_1VNOL-fvOTceeiuNeepqG5dCUirN-u8J0003Uo1OhFDJcw@mail.gmail.com"
      type="cite">
      <div class="gmail_extra">
        <div class="gmail_quote">On May 11, 2017 2:20 AM, "knarra" &lt;<a
            moz-do-not-send="true" href="mailto:knarra@redhat.com">knarra@redhat.com</a>&gt;
          wrote:<br type="attribution">
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000">
              <div class="m_199660591508054004moz-cite-prefix">On
                05/10/2017 10:47 PM, Joel Diaz wrote:<br>
              </div>
              <blockquote type="cite">
                <div dir="auto">I though I would try something different
                  so I removed the key group and value virt when
                  creating the volumes. I was able to create the
                  volumes. I stopped the data volume. I then tried to
                  set the volume group by issuing a "gluster volume data
                  group virt"
                  <div dir="auto"><br>
                  </div>
                  <div dir="auto">Still get "unable to open file
                    '/var/lib/gluster/Virt'. Error: No such file or
                    directory.</div>
                  <div dir="auto"><br>
                  </div>
                  <div dir="auto">I don't know if I should continue with
                    the setup until I can set this value.</div>
                  <div dir="auto"><br>
                  </div>
                  <div dir="auto">Please let me know if I can provide
                    some logs to identify the issue.</div>
                  <div dir="auto"><br>
                  </div>
                  <div dir="auto">Thanks for your help,</div>
                  <div dir="auto"><br>
                  </div>
                  <div dir="auto">Joel</div>
                </div>
                <div class="gmail_extra"><br>
                  <div class="gmail_quote">On May 10, 2017 6:57 AM,
                    "Joel Diaz" &lt;<a moz-do-not-send="true"
                      href="mailto:mrjoeldiaz@gmail.com" target="_blank">mrjoeldiaz@gmail.com</a>&gt;
                    wrote:<br type="attribution">
                    <blockquote class="m_199660591508054004quote"
                      style="margin:0 0 0 .8ex;border-left:1px #ccc
                      solid;padding-left:1ex">
                      <div dir="ltr">Thanks for the reply.
                        <div><br>
                        </div>
                        <div>The file is empty. I created the file by
                          issuing a "touch
                          /var/lib/glusterd/groups/virt"
                          <div><br>
                          </div>
                          <div>The first time I attempted to set the
                            group volume, the error was that the file
                            was missing. I read a bug report that
                            advised to remove and reinstall the gluster
                            package in order to properly recreate the
                            file. Since that did not work, I created it
                            manually.</div>
                        </div>
                        <div><br>
                        </div>
                        <div>Thank you,</div>
                        <div><br>
                        </div>
                        <div>Joel</div>
                      </div>
                    </blockquote>
                  </div>
                </div>
              </blockquote>
              Hi Joel,<br>
              <br>
                  Do you have this file present on the system ? This
              file will be present when glusterfs is installed. I would
              like to first understand how is it missing on your system?
              The error is because i see that you do not have the file
              present there. Can you please paste output of "ls -l
              /var/lib/glusterd/groups/virt" ?<br>
              <br>
              <br>
              Thanks<br>
              kasturi<br>
              <blockquote type="cite">
                <div class="gmail_extra">
                  <div class="gmail_quote">
                    <blockquote class="m_199660591508054004quote"
                      style="margin:0 0 0 .8ex;border-left:1px #ccc
                      solid;padding-left:1ex">
                      <div class="m_199660591508054004elided-text">
                        <div class="gmail_extra"><br>
                          <div class="gmail_quote">On Wed, May 10, 2017
                            at 2:12 AM, knarra <span dir="ltr">&lt;<a
                                moz-do-not-send="true"
                                href="mailto:knarra@redhat.com"
                                target="_blank">knarra@redhat.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 bgcolor="#FFFFFF" text="#000000"><span>
                                  <div
class="m_199660591508054004m_-669155537148793117m_-8615114605153354545moz-cite-prefix">On
                                    05/10/2017 06:37 AM, Joel Diaz
                                    wrote:<br>
                                  </div>
                                  <blockquote type="cite">
                                    <div dir="ltr">Hello ovirt users,
                                      <div><br>
                                      </div>
                                      <div>First off all, thanks for
                                        your work. I've been using the
                                        software for a few months and
                                        the experience has been great.</div>
                                      <div><br>
                                      </div>
                                      <div>I'm having a hard time trying
                                        to set the group on a glusterfs
                                        volume</div>
                                      <div><br>
                                      </div>
                                      <div>
                                        <div>PLAY [master]
                                          ******************************<wbr>******************************<wbr>******</div>
                                        <div><br>
                                        </div>
                                        <div>TASK [Sets options for
                                          volume]
                                          ******************************<wbr>*******************</div>
                                        <div>failed: [192.168.170.141]
                                          (item={u'key': u'group',
                                          u'value': u'virt'}) =&gt;
                                          {"failed": true, "item":
                                          {"key": "group", "value":
                                          "virt"}, "msg":
                                          "'/var/lib/glusterd/groups/vir<wbr>t'
                                          file format not valid.\n"}</div>
                                      </div>
                                    </div>
                                  </blockquote>
                                </span> From this error it looks like
                                the virt file format is not valid? Can
                                you please paste the contents of this
                                file?<br>
                                <blockquote type="cite"><span>
                                    <div dir="ltr">
                                      <div>
                                        <div>changed: [192.168.170.141]
                                          =&gt; (item={u'key':
                                          u'storage.owner-uid',
                                          u'value': u'36'})</div>
                                        <div>changed: [192.168.170.141]
                                          =&gt; (item={u'key':
                                          u'storage.owner-gid',
                                          u'value': u'36'})</div>
                                        <div>changed: [192.168.170.141]
                                          =&gt; (item={u'key':
                                          u'network.ping-timeout',
                                          u'value': u'30'})</div>
                                        <div>changed: [192.168.170.141]
                                          =&gt; (item={u'key':
                                          u'performance.strict-o-direct'<wbr>,
                                          u'value': u'on'})</div>
                                        <div>changed: [192.168.170.141]
                                          =&gt; (item={u'key':
                                          u'network.remote-dio',
                                          u'value': u'off'})</div>
                                        <div>changed: [192.168.170.141]
                                          =&gt; (item={u'key':
                                          u'cluster.granular-entry-heal'<wbr>,
                                          u'value': u'enable'})</div>
                                        <div>        to retry, use:
                                          --limit
                                          @/tmp/tmpdTWQ8B/gluster-volume<wbr>-set.retry</div>
                                        <div><br>
                                        </div>
                                        <div>PLAY RECAP
                                          ******************************<wbr>******************************<wbr>*********</div>
                                        <div>192.168.170.141          
                                           : ok=0    changed=0  
                                           unreachable=0    failed=1</div>
                                      </div>
                                      <div><br>
                                      </div>
                                      <div>I've tried to remove remove
                                        glusterfs, wiping the glusterfs
                                        configurations and reinstalling
                                        the service.</div>
                                      <div><br>
                                      </div>
                                      <div>Any help would be
                                        appreciated.</div>
                                      <div><br>
                                      </div>
                                      <div>Thank you,</div>
                                      <div><br>
                                      </div>
                                      <div>Joel</div>
                                    </div>
                                    <br>
                                    <fieldset
class="m_199660591508054004m_-669155537148793117m_-8615114605153354545mimeAttachmentHeader"></fieldset>
                                    <br>
                                  </span>
                                  <pre>______________________________<wbr>_________________
Users mailing list
<a moz-do-not-send="true" class="m_199660591508054004m_-669155537148793117m_-8615114605153354545moz-txt-link-abbreviated" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>
<a moz-do-not-send="true" class="m_199660591508054004m_-669155537148793117m_-8615114605153354545moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a>
</pre>
    </blockquote>
    <p>

    </p>
  </div>

</blockquote></div>
</div>
</div></blockquote></div>
</div>



</blockquote><p>
</p></div></blockquote></div></div>



</blockquote><p>
</p></body></html>