[LU-16084] sanity test_130b: build e2fsprogs for Ubuntu2204 client Created: 09/Aug/22  Updated: 29/Oct/22  Resolved: 01/Sep/22

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.15.1
Fix Version/s: Lustre 2.16.0

Type: Bug Priority: Minor
Reporter: Maloo Assignee: Andreas Dilger
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-15997 e2fsprogs rpms support for RHEL9 Open
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

This issue was created by maloo for sarah <sarah@whamcloud.com>

This issue relates to the following test suite run: https://testing.whamcloud.com/test_sets/7ab8b0d0-0c09-4831-8651-0dc75a37094c

test_130b failed with the following error:

filefrag /mnt/lustre/f130b.sanity failed

It seems similar situation as LU-15997 for Ubuntu2204 client

sanity test_130* failed as

FIBMAP/FIEMAP unsupported

VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV
sanity test_130b - filefrag /mnt/lustre/f130b.sanity failed



 Comments   
Comment by Minh Diep [ 09/Aug/22 ]

I think this is because lustre e2fsprogs version is less than ubuntu2204 upstream

Comment by Andreas Dilger [ 09/Aug/22 ]

According to https://packages.ubuntu.com/jammy/e2fsprogs Ubuntu22.04 is using e2fsprogs-1.46.5-2ubuntu1.1, which includes one patch ("ab51d587b libext2fs: add sanity check to extent manipulation") that is not currently in https://review.whamcloud.com/47075 "build: update version to 1.46.5.wc1".

There are currently 22 patches on the "maint" branch beyond the baseline 1.46.5, of which about 5 or 6 (including the above patch in Ubuntu) look like they might be useful in rare cases (e.g. more robust extent/xattr handling in case of random filesystem corruption), and 6 others are already in the 1.46.5.wc1 branch. The rest are unlikely to affect Lustre usage. I'll update to include those commits into a 1.46.5.wc2 build once the 47075 patch is landed.

Comment by Andreas Dilger [ 10/Aug/22 ]

The Ubuntu e2fsprogs is only really needed for "filefrag" so I don't think this is a blocker. Once e2fsprogs is updated (independent of the Lustre release) it would be possible to install the patched version on the Ubuntu 22.04 clients (or servers) as needed.

The test itself used to be skipped for unpatched e2fsprogs because of the "filefrag -e" check, but that option was merged into the upstream e2fsprogs in v1.42.6-50-g2508eaa7 to reduce the Lustre-specific delta. Instead, the test should be updated to check for "filefrag -l", which is still Lustre-e2fsprogs specific (and will also work on older Lustre/e2fsprogs combinations.

Comment by Gerrit Updater [ 10/Aug/22 ]

"Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/48188
Subject: LU-16084 tests: fix lustre-patched filefrag check
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 3542bdf7b6b13d4a4b5c3d31f77e4591b6292bf5

Comment by Gerrit Updater [ 01/Sep/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/48188/
Subject: LU-16084 tests: fix lustre-patched filefrag check
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: fef1db004c4230e1051f9266f34a658501bf5d03

Comment by Peter Jones [ 01/Sep/22 ]

Landed for 2.16

Generated at Sat Feb 10 03:23:51 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.