Bug 2018301
Summary: | Kickstart network --mtu option is ignored if the command is added via %include | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Chris Adams <linux> | ||||
Component: | anaconda | Assignee: | Radek Vykydal <rvykydal> | ||||
Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | CentOS Stream | CC: | bstinson, jkonecny, jstodola, jwboyer, rvykydal | ||||
Target Milestone: | rc | Keywords: | Triaged | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | anaconda-33.16.6.3-1.el8 | Doc Type: | No Doc Update | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 2019813 (view as bug list) | Environment: | |||||
Last Closed: | 2022-05-10 13:37:05 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 2019813 | ||||||
Attachments: |
|
Description
Chris Adams
2021-10-28 18:54:43 UTC
Could you please attach log file /var/log/anaconda/journal.log from the installed system? Created attachment 1839465 [details]
anaconda journal.log
One thing I didn't think but could matter - this kickstart sets the network config in a %pre script that's then %included.
Upstream PR with fix: https://github.com/rhinstaller/anaconda/pull/3678 Reproduced locally using this kickstart: %include /tmp/ksinclude %pre echo "network --device=ens3 --bootproto=dhcp --mtu=9000" > /tmp/ksinclude %end PR for a kickstart test update: https://github.com/rhinstaller/kickstart-tests/pull/613 RHEL-9 clone: bug 2019813 Reproduced on RHEL-8.5 using the "network-options-pre" kickstart-test: *** Failed check: DEFROUTE=no in /etc/sysconfig/network-scripts/ifcfg-enp2s0 or ipv4.never-default=true in /etc/NetworkManager/system-connections/enp2s0.nmconnection *** Failed check: MTU=9000 in /etc/sysconfig/network-scripts/ifcfg-enp3s0 or ethernet.mtu=9000 in /etc/NetworkManager/system-connections/enp3s0.nmconnection The same test passed on RHEL-8.6.0-20211117.d.3 with anaconda-33.16.6.3-1.el8: INFO: RESULT:network-options-pre:b3a4cd274619:SUCCESS:test done Marking as Verified:Tested anaconda-33.16.6.3-1.el8 is included in RHEL-8.6.0-20211121.1, moving to VERIFIED. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (anaconda bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:1780 |