[PR #6387/9c112308 backport][stable-6] Fixes #5143: xfs_quota fails to initialize new project quotas (#6495)

Fixes #5143: xfs_quota fails to initialize new project quotas (#6387)

This fix ensures that in case of a project quota, the corresponding project gets initialized, if required.

Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de>
Co-authored-by: Christoph Fiehe <c.fiehe@eurodata.de>
(cherry picked from commit 9c11230824)

Co-authored-by: cfiehe <cfiehe@users.noreply.github.com>
This commit is contained in:
patchback[bot]
2023-05-06 07:20:03 +02:00
committed by GitHub
parent bf90b4e88a
commit e9e494e1ff
3 changed files with 59 additions and 37 deletions

View File

@@ -123,7 +123,7 @@
- name: Assert project limits results for xft_quotaval after re-apply
assert:
that:
- test_pquota_project_after.changed
- test_pquota_project_after is not changed
- name: Reset default project limits
xfs_quota:
mountpoint: '{{ remote_tmp_dir }}/pquota'