[LU-14690] RHEL8.4 support Created: 17/May/21  Updated: 04/Jan/23  Resolved: 22/Jun/21

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.12.7, Lustre 2.15.0

Type: Improvement Priority: Minor
Reporter: Olaf Faaland Assignee: Jian Yu
Resolution: Fixed Votes: 0
Labels: llnl

Issue Links:
Duplicate
is duplicated by LU-14691 support for RHEL 8.4 Resolved
Related
is related to LU-14829 kernel update [RHEL8.4 4.18.0-305.7.1... Resolved
Rank (Obsolete): 9223372036854775807

 Description   

Update master (client and server) for compatability with RHEL8.4. Backport patches necessary for the client to b2_12.



 Comments   
Comment by Olaf Faaland [ 17/May/21 ]

For my tracking purposes, my local ticket is TOSS5204

Comment by Jian Yu [ 18/May/21 ]

Patch for RHEL 8.4 client support on master branch: https://review.whamcloud.com/43725

Comment by Olaf Faaland [ 19/May/21 ]

Thanks!

Looks like 8.4 was released today:
https://access.redhat.com/discussions/6050441

Comment by Jian Yu [ 19/May/21 ]

Thanks Olaf for the info. The kernel version is 4.18.0-305.el8. Let me update the patch.

Comment by Gerrit Updater [ 19/May/21 ]

Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/43744
Subject: LU-14690 kernel: new kernel [RHEL 8.4 4.18.0-305.el8]
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: d54c0efd7556c1682c67802f93c5dd44162c3752

Comment by Olaf Faaland [ 25/May/21 ]

Hi Jian,

I pushed an update for the b2_12 patch to https://review.whamcloud.com/43744 (patch set 2).

It's your "new kernel" patch from v1 on top of 3 backports:

  • def078c LU-13783 osc: handle removal of NR_UNSTABLE_NFS
  • 973d905 LU-12355 llite: MS_* flags and SB_* flags split
  • 92f2b07 LU-12355 llite: totalram_pages changed to atomic_long_t

If you've already started on this and I messed anything up for you, my apologies.

thanks,
Olaf

Comment by Jian Yu [ 25/May/21 ]

No problem, Olaf. I've been trying to resolve the build failures on b2_12 and updated patch https://review.whamcloud.com/40379 today. Thank you for updating patches to resolve the remaining failures. I'm proceeding to work on the server support on master branch.

Comment by Olaf Faaland [ 25/May/21 ]

Great, thanks Jian.

Do you have any sense whether https://review.whamcloud.com/#/c/43725/ is sufficient for a ZFS server?

Right now, we build 2.14 server (zfs only) + client and 2.12 client for RHEL 8. We haven't yet started building ldiskfs for 2.14. So when you think we might have good patch sets for those, I'd love to know. We'll then start our own testing in parallel with testing here.

Comment by Gerrit Updater [ 25/May/21 ]

Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/43791
Subject: LU-14690 kernel: RHEL 8.4 server support
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 4c4c16c2d970f20a50075058ad4c583d92c69ad4

Comment by Jian Yu [ 25/May/21 ]

Welcome, Olaf. I have not tried the ZFS server build and just pushed the above patch to support the server. Will see the Jenkins build result.

Comment by Jian Yu [ 01/Jun/21 ]

A new kernel version is available: 4.18.0-305.3.1.el8_4
https://access.redhat.com/errata/RHSA-2021:2168?sc_cid=701600000006NHXAA2

Comment by Olaf Faaland [ 03/Jun/21 ]

Jian, please see LU-14733. Thank you.

Comment by Gerrit Updater [ 08/Jun/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/43725/
Subject: LU-14690 kernel: new kernel [RHEL 8.4 4.18.0-305.3.1.el8_4]
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: f269497ac7a730880e590eb9e8405f082522c5e0

Comment by Gerrit Updater [ 08/Jun/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/43744/
Subject: LU-14690 kernel: new kernel [RHEL 8.4 4.18.0-305.3.1.el8_4]
Project: fs/lustre-release
Branch: b2_12
Current Patch Set:
Commit: 7ebcba96e3442fb7d3cea3e15a4d81433c58da22

Comment by SC Admin (Inactive) [ 09/Jun/21 ]

Hiya,

I think 2.12 client + RHEL 8.4 also requires LU-13182. that ticket perfectly describes the issue I'm seeing.

I grabbed https://review.whamcloud.com/40221/ which applies cleanly to 2.12.6 and tested it, and it's fixed the problem for me.

without the MAP_POPULATE patch, nodes with root-on-lustre don't reboot and logrotate hangs.

RHEL/centos 8.3 didn't need this patch, so I guess it's an 8.4 kernel change.

cheers,
robin

Comment by Jian Yu [ 09/Jun/21 ]

Thank you, Robin.
The back-ported patch for LU-13182 on Lustre b2_12 branch is https://review.whamcloud.com/43958.

 

Comment by Gerrit Updater [ 21/Jun/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/43791/
Subject: LU-14690 kernel: RHEL 8.4 server support
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 644a14196810f0c6b663957720414e042d2ae965

Comment by Peter Jones [ 22/Jun/21 ]

Landed for 2.15

Comment by Gerrit Updater [ 07/Jul/21 ]

Gian-Carlo DeFazio (defazio1@llnl.gov) uploaded a new patch: https://review.whamcloud.com/44173
Subject: LU-14690 kernel: new kernel [RHEL 8.4 4.18.0-305.3.1.el8_4]
Project: fs/lustre-release
Branch: b2_14
Current Patch Set: 1
Commit: bfe7e28483fc1a7bab5016b367b0f1ad48507c3f

Comment by Gerrit Updater [ 07/Jul/21 ]

Gian-Carlo DeFazio (defazio1@llnl.gov) uploaded a new patch: https://review.whamcloud.com/44174
Subject: LU-14690 kernel: RHEL 8.4 server support
Project: fs/lustre-release
Branch: b2_14
Current Patch Set: 1
Commit: 87a95794ca0827b61d20ccd901f07e3254423b91

Comment by Olaf Faaland [ 19/Jul/21 ]

Looks good on our test system.

Comment by Gerrit Updater [ 09/Nov/21 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/44173/
Subject: LU-14690 kernel: new kernel [RHEL 8.4 4.18.0-305.3.1.el8_4]
Project: fs/lustre-release
Branch: b2_14
Current Patch Set:
Commit: ee34810da63bab3fa5a17e3898b5ddf67713b552

Comment by Gerrit Updater [ 09/Nov/21 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/44174/
Subject: LU-14690 kernel: RHEL 8.4 server support
Project: fs/lustre-release
Branch: b2_14
Current Patch Set:
Commit: 20624f3a031525bb6bd19c9b1a1288eb05235670

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