
This is a multi-part message in MIME format. --------------4D8AFFC48A281A3191F211AC Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 05/10/2017 10:47 PM, Joel Diaz wrote:
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"
Still get "unable to open file '/var/lib/gluster/Virt'. Error: No such file or directory.
I don't know if I should continue with the setup until I can set this value.
Please let me know if I can provide some logs to identify the issue.
Thanks for your help,
Joel
On May 10, 2017 6:57 AM, "Joel Diaz" <mrjoeldiaz@gmail.com <mailto:mrjoeldiaz@gmail.com>> wrote:
Thanks for the reply.
The file is empty. I created the file by issuing a "touch /var/lib/glusterd/groups/virt"
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.
Thank you,
Joel
Hi Joel, 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" ? Thanks kasturi
On Wed, May 10, 2017 at 2:12 AM, knarra <knarra@redhat.com <mailto:knarra@redhat.com>> wrote:
On 05/10/2017 06:37 AM, Joel Diaz wrote:
Hello ovirt users,
First off all, thanks for your work. I've been using the software for a few months and the experience has been great.
I'm having a hard time trying to set the group on a glusterfs volume
PLAY [master] ******************************************************************
TASK [Sets options for volume] ************************************************* failed: [192.168.170.141] (item={u'key': u'group', u'value': u'virt'}) => {"failed": true, "item": {"key": "group", "value": "virt"}, "msg": "'/var/lib/glusterd/groups/virt' file format not valid.\n"}
From this error it looks like the virt file format is not valid? Can you please paste the contents of this file?
changed: [192.168.170.141] => (item={u'key': u'storage.owner-uid', u'value': u'36'}) changed: [192.168.170.141] => (item={u'key': u'storage.owner-gid', u'value': u'36'}) changed: [192.168.170.141] => (item={u'key': u'network.ping-timeout', u'value': u'30'}) changed: [192.168.170.141] => (item={u'key': u'performance.strict-o-direct', u'value': u'on'}) changed: [192.168.170.141] => (item={u'key': u'network.remote-dio', u'value': u'off'}) changed: [192.168.170.141] => (item={u'key': u'cluster.granular-entry-heal', u'value': u'enable'}) to retry, use: --limit @/tmp/tmpdTWQ8B/gluster-volume-set.retry
PLAY RECAP ********************************************************************* 192.168.170.141 : ok=0 changed=0 unreachable=0 failed=1
I've tried to remove remove glusterfs, wiping the glusterfs configurations and reinstalling the service.
Any help would be appreciated.
Thank you,
Joel
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
--------------4D8AFFC48A281A3191F211AC Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit <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/10/2017 10:47 PM, Joel Diaz wrote:<br> </div> <blockquote cite="mid:CAEE_1VNG9Vng71YAHVK-brfsrhvTE2AsnpmJefR=WXUjit2pew@mail.gmail.com" 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" <<a moz-do-not-send="true" href="mailto:mrjoeldiaz@gmail.com">mrjoeldiaz@gmail.com</a>> wrote:<br type="attribution"> <blockquote class="quote" 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 cite="mid:CAEE_1VNG9Vng71YAHVK-brfsrhvTE2AsnpmJefR=WXUjit2pew@mail.gmail.com" type="cite"> <div class="gmail_extra"> <div class="gmail_quote"> <blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div class="elided-text"> <div class="gmail_extra"><br> <div class="gmail_quote">On Wed, May 10, 2017 at 2:12 AM, knarra <span dir="ltr"><<a moz-do-not-send="true" href="mailto:knarra@redhat.com" target="_blank">knarra@redhat.com</a>></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_-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'}) => {"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] => (item={u'key': u'storage.owner-uid', u'value': u'36'})</div> <div>changed: [192.168.170.141] => (item={u'key': u'storage.owner-gid', u'value': u'36'})</div> <div>changed: [192.168.170.141] => (item={u'key': u'network.ping-timeout', u'value': u'30'})</div> <div>changed: [192.168.170.141] => (item={u'key': u'performance.strict-o-direct'<wbr>, u'value': u'on'})</div> <div>changed: [192.168.170.141] => (item={u'key': u'network.remote-dio', u'value': u'off'})</div> <div>changed: [192.168.170.141] => (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_-669155537148793117m_-8615114605153354545mimeAttachmentHeader"></fieldset> <br> </span> <pre>______________________________<wbr>_________________ Users mailing list <a moz-do-not-send="true" class="m_-669155537148793117m_-8615114605153354545moz-txt-link-abbreviated" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> <a moz-do-not-send="true" class="m_-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></body></html> --------------4D8AFFC48A281A3191F211AC--