<div dir="ltr"><div><div><div>This is definitely a bug and we have broken the older client support. [1] is the one which has caused it.<br></div><br></div>We have changed the type of rda-request-size from int to size_t because of which the older clients are unable to understand the KB format. I remember when this patch was in its implementation this change had to be done to avoid a crash [2] . We&#39;d have to revert back the data type to int to ensure backward compatibility, now how do we solve the crash which we were seeing earlier is something to be looked at.<br></div><div><br>[1] <a href="https://review.gluster.org/#/c/16137/">https://review.gluster.org/#/c/16137/</a><br>[2] <a href="https://build.gluster.org/job/centos6-regression/2388/consoleFull">https://build.gluster.org/job/centos6-regression/2388/consoleFull</a><br><br><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 17, 2017 at 5:36 AM, Shyam <span dir="ltr">&lt;<a href="mailto:srangana@redhat.com" target="_blank">srangana@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">Hi,<br>
<br>
Post upgrading brick nodes from 3.8.8 to 3.10rc0 (sort of), I tried a to mount from a 3.8.8 client (as I had not upgraded the client till then). The mount failed with the following in the logs (at the end of the mail).<br>
<br>
The issue was that I did an rpm -U to get the latest version, so all vol files were upgraded (from the spec file, glusterd --xlator-option *.upgrade=on -N), this resulted in client vol files being upgraded as well, and now the client does not understand the option as below,<br>
<br>
0-testvolssd-readdir-ahead: invalid number format &quot;128KB&quot; in option &quot;rda-request-size&quot;<br>
0-testvolssd-readdir-ahead: validate of rda-request-size returned -1<br>
0-testvolssd-readdir-ahead: validation failed: invalid number format &quot;128KB&quot; in option &quot;rda-request-size&quot;<br>
<br>
So is this a bug? Or something to document? or, am I missing something? Poornima/Du/Atin?<br>
<br>
Thanks,<br>
Shyam<br>
<br>
::Full logs::<br>
# mount -t glusterfs 10.21.76.10:/testvolssd /mnt/testvol1<br>
Mount failed. Please check the log file for more details.<br>
<br>
# cat /var/log/glusterfs/mnt-testvol<wbr>1.log<br>
[2017-02-16 17:37:12.703983] I [MSGID: 100030] [glusterfsd.c:2454:main] 0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 3.8.8 (args: /usr/sbin/glusterfs --volfile-server=10.21.76.10 --volfile-id=/testvolssd /mnt/testvol1)<br>
[2017-02-16 17:37:12.726213] I [MSGID: 101190] [event-epoll.c:628:event_dispa<wbr>tch_epoll_worker] 0-epoll: Started thread with index 1<br>
[2017-02-16 17:37:12.744187] E [MSGID: 101002] [options.c:69:xlator_option_va<wbr>lidate_int] 0-testvolssd-readdir-ahead: invalid number format &quot;128KB&quot; in option &quot;rda-request-size&quot;<br>
[2017-02-16 17:37:12.744221] W [MSGID: 101029] [options.c:945:xl_opt_validate<wbr>] 0-testvolssd-readdir-ahead: validate of rda-request-size returned -1<br>
[2017-02-16 17:37:12.744235] E [MSGID: 101090] [graph.c:301:glusterfs_graph_v<wbr>alidate_options] 0-testvolssd-readdir-ahead: validation failed: invalid number format &quot;128KB&quot; in option &quot;rda-request-size&quot;<br>
[2017-02-16 17:37:12.744248] E [MSGID: 101090] [graph.c:665:glusterfs_graph_a<wbr>ctivate] 0-graph: validate options failed<br>
[2017-02-16 17:37:12.753368] W [glusterfsd.c:1327:cleanup_and<wbr>_exit] (--&gt;/usr/sbin/glusterfs(mgmt_g<wbr>etspec_cbk+0x3c1) [0x7fbf4eb38eb1] --&gt;/usr/sbin/glusterfs(gluster<wbr>fs_process_volfp+0x172) [0x7fbf4eb335d2] --&gt;/usr/sbin/glusterfs(cleanup<wbr>_and_exit+0x6b) [0x7fbf4eb32b4b] ) 0-: received signum (1), shutting down<br>
[2017-02-16 17:37:12.753420] I [fuse-bridge.c:5794:fini] 0-fuse: Unmounting &#39;/mnt/testvol1&#39;.<br>
[2017-02-16 17:37:12.753957] W [glusterfsd.c:1327:cleanup_and<wbr>_exit] (--&gt;/lib64/libpthread.so.0(+0x<wbr>7dc5) [0x7fbf4d49edc5] --&gt;/usr/sbin/glusterfs(gluster<wbr>fs_sigwaiter+0xe5) [0x7fbf4eb32cd5] --&gt;/usr/sbin/glusterfs(cleanup<wbr>_and_exit+0x6b) [0x7fbf4eb32b4b] ) 0-: received signum (15), shutting down<br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><br></div><div>~ Atin (atinm)<br></div></div></div></div>
</div>