David Gibbons
2014-Nov-30 16:27 UTC
[Gluster-users] Upgraded from 3.4.1 to 3.5.2, quota no longer working
Hi All, I performed a long-awaited upgrade from 3.4.1 to 3.5.2 today following the instructions for an offline upgrade outlined here: http://www.gluster.org/community/documentation/index.php/Upgrade_to_3.5 I ran the pre- and post- upgrade scripts as instructed, intending to move the quotas over to the new version. The upgrade seemed to go well, the volume is online and it appears to be functioning properly. When I attempt to check quotas, the list is empty:> [root at gfs-a-1 glusterfs]# gluster volume quota shares list > > Path Hard-limit Soft-limit Used >> Available > > >> -------------------------------------------------------------------------------- > > [root at gfs-a-1 glusterfs]# > > >And upon execution of that command, the cli.log file fills up with entries like this. I am assuming it's one cli log entry per quota entry:> [2014-11-30 14:00:02.154143] W >> [cli-rpc-ops.c:2469:print_quota_list_from_quotad] 0-cli: path key is not >> present in dict > > [2014-11-30 14:00:02.160507] W >> [cli-rpc-ops.c:2469:print_quota_list_from_quotad] 0-cli: path key is not >> present in dict > > [2014-11-30 14:00:02.167947] W >> [cli-rpc-ops.c:2469:print_quota_list_from_quotad] 0-cli: path key is not >> present in dic > >So, it appears that somehow the quota database has become offline or corrupt. Any thoughts on what I can do to resolve this? I have checked all of the binaries on all 4 machines in the cluster, and they all appear to be running the correct version:> [root at gfs-a-1 glusterfs]# glusterfsd --version > > glusterfs 3.5.2 built on Nov 30 2014 08:16:37 > >Cheers, Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20141130/c3ed7189/attachment.html>
Krutika Dhananjay
2014-Dec-01 04:46 UTC
[Gluster-users] Upgraded from 3.4.1 to 3.5.2, quota no longer working
Hi, Could you confirm whether quotad (Quota Daemon) is online from the output of `gluster volume status shares`? Also, could you share quota daemon's log file from the node where you executed `quota list` command, which you will find at @ /var/log/glusterfs/quotad.log? -Krutika ----- Original Message -----> From: "David Gibbons" <david.c.gibbons at gmail.com> > To: "gluster-users" <gluster-users at gluster.org> > Sent: Sunday, November 30, 2014 9:57:02 PM > Subject: [Gluster-users] Upgraded from 3.4.1 to 3.5.2, quota no longer > working> Hi All,> I performed a long-awaited upgrade from 3.4.1 to 3.5.2 today following the > instructions for an offline upgrade outlined here: > http://www.gluster.org/community/documentation/index.php/Upgrade_to_3.5> I ran the pre- and post- upgrade scripts as instructed, intending to move the > quotas over to the new version. The upgrade seemed to go well, the volume is > online and it appears to be functioning properly.> When I attempt to check quotas, the list is empty:> > > [root at gfs-a-1 glusterfs]# gluster volume quota shares list > > > > > > Path Hard-limit Soft-limit Used Available > > > > > > -------------------------------------------------------------------------------- > > > > > > [root at gfs-a-1 glusterfs]# > > > > And upon execution of that command, the cli.log file fills up with entries > like this. I am assuming it's one cli log entry per quota entry:> > > [2014-11-30 14:00:02.154143] W > > > [cli-rpc-ops.c:2469:print_quota_list_from_quotad] 0-cli: path key is not > > > present in dict > > > > > > [2014-11-30 14:00:02.160507] W > > > [cli-rpc-ops.c:2469:print_quota_list_from_quotad] 0-cli: path key is not > > > present in dict > > > > > > [2014-11-30 14:00:02.167947] W > > > [cli-rpc-ops.c:2469:print_quota_list_from_quotad] 0-cli: path key is not > > > present in dic > > > > So, it appears that somehow the quota database has become offline or corrupt. > Any thoughts on what I can do to resolve this?> I have checked all of the binaries on all 4 machines in the cluster, and they > all appear to be running the correct version:> > > [root at gfs-a-1 glusterfs]# glusterfsd --version > > > > > > glusterfs 3.5.2 built on Nov 30 2014 08:16:37 > > > > Cheers, > Dave> _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://supercolony.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20141130/7eb9087b/attachment.html>