Description of problem: Could not see the alert messages in the intended logs. This issue is seen with pre-existing data and then setting quota limit on that directory. Version-Release number of selected component (if applicable): glusterfs-3.4.0.43rhs-1 How reproducible: always Steps to Reproduce: 1. create a volume, start the volume, enable quota 2. mount over nfs or glusterfs 3. mkdir dir 4. create data inside the dir, say upto 100GB 5. set quota limit on dir, say 100GB its Actual results: alert message about soft-limit is not seen in the logs. Expected results: alerts should be generated if limit crosses the soft-limit %age Additional info: Though after limit is reached and trying to create more data, sends disk quota exceeded
Testcase ./tests/bugs/quota/bug-1087198.t is failing because sometimes 'Usage crossed soft limit' alert message is not generated in the log.
This is an expected behavior, as alert logs are generated only when there is an IO happening. For a existing data, when quota is enabled, alert logs will not be generated if the existing data already crossed quota limit.
This is an expected behavior, so closing bug.