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>
This commit is contained in:
cfiehe 2023-05-06 07:12:21 +02:00 committed by GitHub
commit 9c11230824
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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'