<div dir="auto"><p style="font-family:sans-serif;font-size:13.696px">Hi Kasturi,<u></u><u></u></p><p style="font-family:sans-serif;font-size:13.696px"><u></u> <u></u></p><p style="font-family:sans-serif;font-size:13.696px">Yes the ‘/var/lib/glusterd/virt’ was missing from my system.<u></u><u></u></p><p style="font-family:sans-serif;font-size:13.696px"><u></u> <u></u></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.<u></u><u></u></p><p style="font-family:sans-serif;font-size:13.696px"><u></u> <u></u></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.<u></u><u></u></p><p style="font-family:sans-serif;font-size:13.696px"><u></u> <u></u></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.<u></u><u></u></p><p style="font-family:sans-serif;font-size:13.696px"><u></u> <u></u></p><p style="font-family:sans-serif;font-size:13.696px">Thanks for taking the time to engage in my question,<u></u><u></u></p><p style="font-family:sans-serif;font-size:13.696px"><u></u> <u></u></p><p style="font-family:sans-serif;font-size:13.696px">Joel</p></div><div class="gmail_extra"><br><div class="gmail_quote">On May 11, 2017 2:20 AM, &quot;knarra&quot; &lt;<a 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 &quot;gluster volume
        data group virt&quot;
        <div dir="auto"><br>
        </div>
        <div dir="auto">Still get &quot;unable to open file
          &#39;/var/lib/gluster/Virt&#39;. Error: No such file or directory.</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">I don&#39;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, &quot;Joel Diaz&quot;
          &lt;<a 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
                &quot;touch /var/lib/glusterd/groups/virt&quot;
                <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 &quot;ls -l /var/lib/glusterd/groups/virt&quot; ?<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 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&#39;ve been using the software for a few
                              months and the experience has been great.</div>
                            <div><br>
                            </div>
                            <div>I&#39;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&#39;key&#39;: u&#39;group&#39;, u&#39;value&#39;:
                                u&#39;virt&#39;}) =&gt; {&quot;failed&quot;: true, &quot;item&quot;:
                                {&quot;key&quot;: &quot;group&quot;, &quot;value&quot;: &quot;virt&quot;},
                                &quot;msg&quot;: &quot;&#39;/var/lib/glusterd/groups/vir<wbr>t&#39;
                                file format not valid.\n&quot;}</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&#39;key&#39;: u&#39;storage.owner-uid&#39;,
                                u&#39;value&#39;: u&#39;36&#39;})</div>
                              <div>changed: [192.168.170.141] =&gt;
                                (item={u&#39;key&#39;: u&#39;storage.owner-gid&#39;,
                                u&#39;value&#39;: u&#39;36&#39;})</div>
                              <div>changed: [192.168.170.141] =&gt;
                                (item={u&#39;key&#39;: u&#39;network.ping-timeout&#39;,
                                u&#39;value&#39;: u&#39;30&#39;})</div>
                              <div>changed: [192.168.170.141] =&gt;
                                (item={u&#39;key&#39;:
                                u&#39;performance.strict-o-direct&#39;<wbr>,
                                u&#39;value&#39;: u&#39;on&#39;})</div>
                              <div>changed: [192.168.170.141] =&gt;
                                (item={u&#39;key&#39;: u&#39;network.remote-dio&#39;,
                                u&#39;value&#39;: u&#39;off&#39;})</div>
                              <div>changed: [192.168.170.141] =&gt;
                                (item={u&#39;key&#39;:
                                u&#39;cluster.granular-entry-heal&#39;<wbr>,
                                u&#39;value&#39;: u&#39;enable&#39;})</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&#39;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 class="m_199660591508054004m_-669155537148793117m_-8615114605153354545moz-txt-link-abbreviated" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>
<a 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>