<br><br><div class="gmail_quote">On Thu, Jun 27, 2013 at 11:20 AM, Deepak C Shetty <span dir="ltr">&lt;<a href="mailto:deepakcs@linux.vnet.ibm.com" target="_blank">deepakcs@linux.vnet.ibm.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 06/24/2013 06:21 PM, Vijay Bellur wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 06/20/2013 07:28 PM, M. Mohan Kumar wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Vijay Bellur &lt;<a href="mailto:vbellur@redhat.com" target="_blank">vbellur@redhat.com</a>&gt; writes:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 06/19/2013 09:51 PM, M. Mohan Kumar wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
When qemu is invoked by a non-root user with -drive<br>
file=gluster://server/volname/<u></u>imagename option, unprivileged port is<br>
used for gluster rpc and by default glusterd and gluster brick process<br>
deny the request if the request is from a unprivileged port. The option<br>
&quot;rpc-auth-allow-insecure&quot; needs to be enabled in glusterd.vol so that<br>
non privileged ports can be used to access Gluster volumes.<br>
<br>
In a typical environment VDSM might want to enable rpc-auth-allow-insecure<br>
option and the administrator has to edit the glusterd.vol manually and<br>
restart glusterd process.<br>
<br>
CLI options available to enable volume specific options to work with<br>
unprivileged ports by using gluster volume set &lt;volname&gt; &lt;option&gt;<br>
&lt;value&gt;. For example per volume server.allow-insecure option can be<br>
enabled so that unprivileged users can mount a GlusterFS volume.<br>
<br>
But as of now there is no CLI option available to set glusterd.vol<br>
options. How about adding a gluster CLI set option to configure<br>
glusterd.vol options? Can following CLI command line &#39;gluster volume set<br>
all &lt;glusterd.option&gt; &lt;value&gt;&quot; be used for setting glusterd options?<br>
IIUC &quot;all&quot; is a reserved volume name and we can use this reserved name<br>
for setting glusterd option.<br>
</blockquote>
<br>
&#39;volume set all&#39; is mostly used for options that are applicable to all<br>
volumes. Since glusterd options are beyond the scope of a volume, tying<br>
them to the peer entity might be a good idea. We can introduce &#39;peer set<br>
all &lt;key&gt; &lt;value&gt;&#39; which sets a particular option on all peers.<br>
<br>
</blockquote>
<br>
You mean by &#39;gluster peer set all rpc-auth-allow-insecure on&#39; will<br>
enable insecured port access to all glusterds in the peer environment?<br>
</blockquote>
<br>
<br>
Yes.<br>
</blockquote>
<br>
This still doesn&#39;t help the VDSM usecase, when VDSM host ( aka hypervisor host ) is not part of gluster peer.<br>
One of the goal here was to provide a cli way to modify glusterd options so that VDSM can exploit it, when Gluster volume is used as a storage domain, and VDSM needs rpc-auth-allow-insecure to be ON as VMs accessing Gluster volume natively via libgfapi will be running as non-root.<br>

<br>
On the same lines.. how does oVirt Engine &#39;Volumes&#39; GUI manage Gluster volumes.... when the oVirt host is not part of the Gluster peer ? Just wondering....<br>
<br></blockquote><div><br></div><div>Why oVirt Engine host needs to be a gluster peer to be able to communicate with gluster(through vdsm)? As super-vdsm is running as root in the gluster node and it should be able to communicate with underlying gluster cli and can respond to oVirt engine.</div>
<div><br></div><div>If not, are you talking about the scenario where gluster node doesn&#39;t have vdsm installed also the storage cluster is not managed through oVirt.</div><div><br></div><div>Thanks,</div><div>Kanagaraj</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
thanx,<br>
deepak<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
IIUC <a href="http://glusterd.info" target="_blank">glusterd.info</a> file can be used to store about these parameters<br>
similar to how volume specific options are stored in vols/&lt;volname&gt;/info<br>
file?<br>
<br>
</blockquote>
<br>
We can persist this in glusterd.vol referred by the respective glusterd<br>
instance.<br>
</blockquote>
<br>
So glusterd.vol is not [re]generated during glusterd init?<br>
</blockquote>
<br>
<br>
No, glusterd.vol does not get altered during init.<br>
<br>
-Vijay<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
-Vijay<br>
</blockquote>
<br>
<br>
<br>
</blockquote>
<br>
<br>
______________________________<u></u>_________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@nongnu.org" target="_blank">Gluster-devel@nongnu.org</a><br>
<a href="https://lists.nongnu.org/mailman/listinfo/gluster-devel" target="_blank">https://lists.nongnu.org/<u></u>mailman/listinfo/gluster-devel</a><br>
<br>
<br>
<br>
</blockquote>
<br>
<br>
______________________________<u></u>_________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@nongnu.org" target="_blank">Gluster-devel@nongnu.org</a><br>
<a href="https://lists.nongnu.org/mailman/listinfo/gluster-devel" target="_blank">https://lists.nongnu.org/<u></u>mailman/listinfo/gluster-devel</a><br>
</blockquote></div><br>