Hide Forgot
Description of problem: Setting a value to default-soft-limit does not work For example: [root@boggs ~]# gluster volume quota pure_gold list Path Hard-limit Soft-limit Used Available -------------------------------------------------------------------------------- / 100.0GB 20% 77.9GB 22.1GB [root@boggs ~]# gluster volume quota pure_gold default-soft-limit 40 volume quota : success [root@boggs ~]# gluster volume quota pure_gold list Path Hard-limit Soft-limit Used Available -------------------------------------------------------------------------------- / 100.0GB 20% 16384.0PB 101.2GB [root@boggs ~]# gluster volume quota pure_gold default-soft-limit 40% volume quota : success [root@boggs ~]# gluster volume quota pure_gold list Path Hard-limit Soft-limit Used Available -------------------------------------------------------------------------------- / 100.0GB 20% 77.9GB 22.1GB [root@boggs ~]# Version-Release number of selected component (if applicable): glusterfs 3.4.0.34rhs How reproducible: Intermittent Expected results: Should be able to set a different value to default-soft-limit Additional info: This is a pre-existing volume. i.e the volume existed in Big Bend, now the cluster is upgraded to glusterfs 3.4.0.34rhs If I create a fresh volume and change the default-soft-limit, it works as expected. For example: [root@boggs ~]# gluster volume quota sh list / Path Hard-limit Soft-limit Used Available -------------------------------------------------------------------------------- / 40.0GB 100 29.8MB 40.0GB [root@boggs ~]# gluster volume quota sh default-soft-limit 50 volume quota : success [root@boggs ~]# gluster volume quota sh default-soft-limit 55% volume quota : success [root@boggs ~]# gluster volume quota sh list Path Hard-limit Soft-limit Used Available -------------------------------------------------------------------------------- / 40.0GB 55% 29.8MB 40.0GB [root@boggs ~]# gluster volume quota sh default-soft-limit 60 volume quota : success [root@boggs ~]# gluster volume quota sh list Path Hard-limit Soft-limit Used Available -------------------------------------------------------------------------------- / 40.0GB 60 29.8MB 40.0GB [root@boggs ~]# ============================= Uploading sosreports. It is very huge. There is no definitive way to reproduce the issue. Hence keeping all the logs, not to miss anything.
[root@boggs ~]# gluster vol info Volume Name: pure_gold Type: Distributed-Replicate Volume ID: c5ac684b-fe8f-4e6c-ba06-53f7aac6e210 Status: Started Number of Bricks: 2 x 2 = 4 Transport-type: tcp Bricks: Brick1: 10.70.37.91:/rhs/brick1/r0 Brick2: 10.70.37.216:/rhs/brick1/r0 Brick3: 10.70.37.64:/rhs/brick1/r1 Brick4: 10.70.37.117:/rhs/brick1/r1 Options Reconfigured: features.default-soft-limit: 40% features.quota: on The sosreport can be found at: http://rhsqe-repo.lab.eng.blr.redhat.com/sosreports/1017036/ Note: The reset value can be found in vol info but not in quota list.
per discussion with Saurabh, closing this as not a bug