[LU-12269] Support RHEL 8.0 Created: 07/May/19 Updated: 04/Sep/20 Resolved: 04/Sep/20 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Jian Yu | Assignee: | Jian Yu |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | llnl | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Severity: | 3 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
Red Hat Enterprise Linux 8.0 is general available today: |
| Comments |
| Comment by Gerrit Updater [ 14/May/19 ] |
|
Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34862 |
| Comment by Gerrit Updater [ 16/May/19 ] |
|
Ben Menadue (ben.menadue@anu.edu.au) uploaded a new patch: https://review.whamcloud.com/34883 from Provides |
| Comment by Gerrit Updater [ 17/May/19 ] |
|
Ben Menadue (ben.menadue@anu.edu.au) uploaded a new patch: https://review.whamcloud.com/34892 |
| Comment by Jian Yu [ 21/May/19 ] |
|
After applying the following patches to the latest master branch, manual build passed:
|
| Comment by Jian Yu [ 22/May/19 ] |
|
I incorporated the above patches into a for-test-only patch in https://review.whamcloud.com/34908 to verify. Jenkins build failed as follows: 00:35:12 liblnetconfig.c: In function 'yaml_copy_peer_nids': 00:35:12 liblnetconfig.c:4321:3: error: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation] 00:35:12 strncpy(nids[num], entry->cy_valuestring, 00:35:12 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 00:35:12 strlen(entry->cy_valuestring)); 00:35:12 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 00:35:12 liblnetconfig.c: In function 'lnet_expr2ips': 00:35:12 liblnetconfig.c:722:30: error: '%s' directive output may be truncated writing up to 127 bytes into a region of size 104 [-Werror=format-truncation=] 00:35:12 "\"cannot parse ip_range '%s'\"", ip_range); 00:35:12 ^~ ~~~~~~~~ 00:35:12 liblnetconfig.c:720:3: note: 'snprintf' output between 27 and 154 bytes into a destination of size 128 00:35:12 snprintf(err_str, 00:35:12 ^~~~~~~~~~~~~~~~~ 00:35:12 LNET_MAX_STR_LEN, 00:35:12 ~~~~~~~~~~~~~~~~~ 00:35:12 "\"cannot parse ip_range '%s'\"", ip_range); 00:35:12 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 00:35:12 cc1: all warnings being treated as errors However, the output of configure was: 00:21:24 checking for -Wno-format-truncation support... yes 00:21:24 checking for -Wno-stringop-truncation support... yes 00:21:24 checking for -Wno-stringop-overflow support... yes <~snip~> 00:21:28 EXTRA_KCFLAGS: -include /var/lib/jenkins/workspace/lustre-reviews/arch/x86_64/build_type/client/distro/el8/ib_stack/inkernel/BUILD/lustre/undef.h -include /var/lib/jenkins/workspace/lustre-reviews/arch/x86_64/build_type/client/distro/el8/ib_stack/inkernel/BUILD/lustre/config.h -g -I/var/lib/jenkins/workspace/lustre-reviews/arch/x86_64/build_type/client/distro/el8/ib_stack/inkernel/BUILD/lustre/libcfs/include -I/var/lib/jenkins/workspace/lustre-reviews/arch/x86_64/build_type/client/distro/el8/ib_stack/inkernel/BUILD/lustre/lnet/include -I/var/lib/jenkins/workspace/lustre-reviews/arch/x86_64/build_type/client/distro/el8/ib_stack/inkernel/BUILD/lustre/lustre/include -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow The "-Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow" were specified. Not sure why they did not work. In manual build, I specified them in CFLAGS and they worked. |
| Comment by Yang Sheng [ 22/May/19 ] |
|
Hi, Yujian, EXTRA_KCFLAGS should only impact kernel build process. Are you sure it also is effect in user environment? Thanks, |
| Comment by Jian Yu [ 22/May/19 ] |
|
I see, Yang Sheng, so that might be the reason. However, I saw those flags were also specified in EXTRA_CFLAGS in lustre-relase/Rules: EXTRA_CFLAGS := $(EXTRA_PRE_CFLAGS) EXTRA_CFLAGS += -include /root/lustre-release/undef.h -include /root/lustre-release/config.h -g -I/root/lustre-release/libcfs/include -I/root/lustre-release/lnet/include -I/root/lustre-release/lustre/include -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow -g -O2 -Wall -Werror EXTRA_CFLAGS += $(EXTRA_POST_CFLAGS) |
| Comment by Yang Sheng [ 22/May/19 ] |
|
Hi, Yujian, Yes, Since it was substituted from EXTRA_KCFLAGS and please note that part only apply to kernel build(when PATCHLEVEL no NULL). Thanks, |
| Comment by James A Simmons [ 22/May/19 ] |
|
You need the |
| Comment by Jian Yu [ 22/May/19 ] |
|
Thank you, Yang Sheng and James. |
| Comment by Jian Yu [ 22/May/19 ] |
|
After applying the following patches to the latest master branch, RHEL 8.0 Lustre client build passed: https://build.whamcloud.com/job/lustre-reviews/64783/
|
| Comment by Gerrit Updater [ 29/May/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34882/ |
| Comment by Gerrit Updater [ 29/May/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34883/ from Provides |
| Comment by Gerrit Updater [ 29/May/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34892/ |
| Comment by Gerrit Updater [ 01/Jun/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34862/ |
| Comment by James A Simmons [ 06/Jun/19 ] |
|
3 build patches left for server support. https://review.whamcloud.com/#/c/34675/ |
| Comment by Peter Jones [ 06/Jun/19 ] |
|
Isn't https://review.whamcloud.com/#/c/33967/ needed too? |
| Comment by James A Simmons [ 06/Jun/19 ] |
|
That was mislabled. It should be apart of |
| Comment by Peter Jones [ 06/Jun/19 ] |
|
Surely it's https://review.whamcloud.com/#/c/34674/ that's mislabeled? All the patches mentioned are being tracked under |
| Comment by Jian Yu [ 06/Jun/19 ] |
|
Lustre build: https://build.whamcloud.com/job/lustre-master/3904/ (tag 2.12.54) runtests passed: https://testing.whamcloud.com/test_sessions/d94cc3b8-8826-11e9-8c65-52540065bddc |
| Comment by James A Simmons [ 06/Jun/19 ] |
|
The reason for the test 130[b,c,e] failure is that your missing e2fsprog for testing. Same as closed ticket https://jira.whamcloud.com/browse/LU-11666 |
| Comment by Jian Yu [ 06/Jun/19 ] |
|
Yes, James. e2fsprog was not built on RHEL 8.0, so I created DCO-8347. |
| Comment by Gerrit Updater [ 11/Jun/19 ] |
|
Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35161 |
| Comment by Gerrit Updater [ 11/Jun/19 ] |
|
Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35162 from Provides |
| Comment by Gerrit Updater [ 11/Jun/19 ] |
|
Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35163 |
| Comment by Gerrit Updater [ 11/Jun/19 ] |
|
Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35164 |
| Comment by Jian Yu [ 11/Jun/19 ] |
|
With the back-ported patches for
|
| Comment by Jian Yu [ 14/Jun/19 ] |
|
Here is the tip of the patch series (19 patches) for building RHEL 8.0 client on Lustre b2_12 branch: https://review.whamcloud.com/35164. All of the patches passed building and testing. Some of them are still pending review. |
| Comment by Gerrit Updater [ 27/Jun/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35164/ |
| Comment by Gerrit Updater [ 27/Jun/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35163/ |
| Comment by Gerrit Updater [ 27/Jun/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35162/ from Provides |
| Comment by Gerrit Updater [ 28/Jun/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35161/ |
| Comment by Gerrit Updater [ 01/Aug/19 ] |
|
Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35665 |
| Comment by Gerrit Updater [ 17/Sep/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35665/ |
| Comment by Minh Diep [ 18/Sep/19 ] |
|
Here is the fix for zfs build issue https://review.whamcloud.com/#/c/36095/ |
| Comment by Andreas Dilger [ 04/Sep/20 ] |
|
I'm going to close this issue, since we are already working on RHEL8.2, and it is more than a year since any patches landed under this ticket. |