Storage - lvm thinp stqe test: resize2fs: Permission denied to resize filesystem

Snippet of test failure

# https://datawarehouse.cki-project.org/kcidb/tests/4737762
# https://s3.us-east-1.amazonaws.com/arr-cki-prod-datawarehouse-public/datawarehouse-public/2022/08/08/redhat:606864183/build_x86_64_redhat:606864183_x86_64_debug/tests/2/results_0001/job.01/recipes/12408884/tasks/34/logs/taskout.log
INFO: [2022-08-08 02:38:32] Running: 'lvextend -L48 -rf testvg/snap1'...
  WARNING: You have not turned on protection against thin pools running out of space.
  WARNING: Set activation/thin_pool_autoextend_threshold below 100 to trigger automatic extension of thin pools before they get full.
  Size of logical volume testvg/snap1 changed from 40.00 MiB (10 extents) to 48.00 MiB (12 extents).
  Logical volume testvg/snap1 successfully resized.
Filesystem at /dev/mapper/testvg-snap1 is mounted on /mnt/snap; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 1
  WARNING: Sum of all thin volume sizes (88.00 MiB) exceeds the size of thin pools (80.00 MiB).
resize2fs 1.46.5 (30-Dec-2021)
resize2fs: Permission denied to resize filesystem
fsadm: ext4 resize failed.
  /usr/sbin/fsadm failed: 1
ERROR: lvextend -L48 -rf testvg/snap1
PASS: testvg/snap1 lv_size == 48.00m
ERROR: /mnt/snap did not extend
INFO: init FS size: 26386432, after extend size: 26386432

Test logs on DataWarehouse

DataWarehouse issue

Additional details

N/A

In case opening the links above result in a 404 page on DataWarehouse, please make sure you are correctly logged into DataWarehouse via Red Hat SSO.


Hi @fsuba, CC @bgoncalv, would you please help to check this failure?

  • Please also help to update the field Kind in DW issue#1500, thanks!
    • If it is a kernel bug, please update Issue Kind to be Kernel bug and help to report it to developers;
    • If it is a test bug, please update Issue Kind to be Unstable Test and file an MR to fix it;
    • If you don't know identify the Issue Kind, please take a look at CKI document - Types of Failures. For more documents, please go through CKI for test maintainers.
  • If the DW issue regex#1466 is not correct, please help to fix it too, thanks again!
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information