<p dir="ltr">Can we have some volunteers of these BZs?</p>
<p dir="ltr">-Atin<br>
Sent from one plus one</p>
<div class="gmail_quote">On Aug 12, 2015 12:34 PM, &quot;Kaushal M&quot; &lt;<a href="mailto:kshlmster@gmail.com">kshlmster@gmail.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">Hi Csaba,<br>
<br>
These are the updates regarding the requirements, after our meeting<br>
last week. The specific updates on the requirements are inline.<br>
<br>
In general, we feel that the requirements for selective read-only mode<br>
and immediate disconnection of clients on access revocation are doable<br>
for GlusterFS-3.8. The only problem right now is that we do not have<br>
any volunteers for it.<br>
<br>
&gt; 1.    Bug 829042 - [FEAT] selective read-only mode<br>
&gt;          <a href="https://bugzilla.redhat.com/show_bug.cgi?id=829042" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=829042</a><br>
&gt;<br>
&gt;       absolutely necessary for not getting tarred &amp; feathered in Tokyo ;)<br>
&gt;       either resurrect <a href="http://review.gluster.org/3526" rel="noreferrer" target="_blank">http://review.gluster.org/3526</a><br>
&gt;       and _find out integration with auth mechanism for special<br>
&gt;       mounts_, or come up with a completely different concept<br>
&gt;<br>
<br>
With the availability of client_t, implementing this should become<br>
easier. The server xlator would store the incoming connections common<br>
name or address in the client_t associated with the connection. The<br>
read-only xlator could then make use of this information to<br>
selectively allow read-only clients. The read-only xlator would need<br>
to implement a new option for selective read-only, which would be<br>
populated with lists of common-names and addresses of clients which<br>
would get read-only access.<br>
<br>
&gt; 2.    Bug 1245380 - [RFE] Render all mounts of a volume defunct upon access revocation<br>
&gt;          <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1245380" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1245380</a><br>
&gt;<br>
&gt;       necessary to let us enable a watershed scalability<br>
&gt;       enhancement<br>
&gt;<br>
<br>
Currently, when auth.allow/reject and auth.ssl-allow options are<br>
changed, the server xlator does a reconfigure to reload its access<br>
list. It just does a reload, and doesn&#39;t affect any existing<br>
connections. To bring this feature in, the server xlator would need to<br>
iterate through its xprt_list and check every connection for<br>
authorization again on a reconfigure. Those connections which have<br>
lost authorization would be disconnected.<br>
<br>
&gt; 3.    Bug 1226776 – [RFE] volume capability query<br>
&gt;          <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1226776" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1226776</a><br>
&gt;<br>
&gt;       eventually we&#39;ll be choking in spaghetti if we don&#39;t get<br>
&gt;       this feature. The ugly version checks we need to do against<br>
&gt;       GlusterFS as in<br>
&gt;<br>
&gt;       <a href="https://review.openstack.org/gitweb?p=openstack/manila.git;a=commitdiff;h=29456c#patch3" rel="noreferrer" target="_blank">https://review.openstack.org/gitweb?p=openstack/manila.git;a=commitdiff;h=29456c#patch3</a><br>
&gt;<br>
&gt;       will proliferate and eat the guts of the code out of its<br>
&gt;       living body if this is not addressed.<br>
&gt;<br>
<br>
This requires some more thought to figure out the correct solution.<br>
One possible way to get the capabilities of the cluster would be to<br>
look at the clusters running op-version. This can be obtained using<br>
`gluster volume get all cluster.op-version` (the volume get command is<br>
available in glusterfs-3.6 and above). But this doesn&#39;t provide much<br>
improvement over the existing checks being done in the driver.<br>
_______________________________________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-devel</a><br>
</blockquote></div>