Bug 1940919
Summary: | parse-kickstart doesn't create expected information for bond ports | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Renaud Métrich <rmetrich> | |
Component: | anaconda | Assignee: | Radek Vykydal <rvykydal> | |
Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> | |
Severity: | high | Docs Contact: | ||
Priority: | medium | |||
Version: | 8.3 | CC: | acardace, bgalvani, dracut-maint-list, dtardon, jikortus, jkonecny, jstodola, kwalker, lrintel, rkhan, rvykydal, sukulkar, till | |
Target Milestone: | rc | Keywords: | Triaged | |
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | anaconda-33.16.8.4-1.el8 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2133053 (view as bug list) | Environment: | ||
Last Closed: | 2023-05-16 08:15:29 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: |
Description
Renaud Métrich
2021-03-19 14:34:56 UTC
> There are 2 solutions for this:
> 1. Generate the appropriate cmdline
> or
> 2. Generate files in /etc/sysconfig/network-scripts (this works, but I fear this will collide with initial boot parameters, if any)
I think parse-kickstart should generate a kernel command line with all the networking parameters.
Options --bondslaves= and --bondopts= can be represented by a command line:
bond=<bondname>[:<bondslaves>:[:<options>[:<mtu>]]]
Radek, do you think this is feasible?
(In reply to Beniamino Galvani from comment #1) > > There are 2 solutions for this: > > 1. Generate the appropriate cmdline > > or > > 2. Generate files in /etc/sysconfig/network-scripts (this works, but I fear this will collide with initial boot parameters, if any) > > I think parse-kickstart should generate a kernel command line with all the > networking parameters. > > Options --bondslaves= and --bondopts= can be represented by a command line: > > bond=<bondname>[:<bondslaves>:[:<options>[:<mtu>]]] > > Radek, do you think this is feasible? Yes, this should work, upstream PR: https://github.com/rhinstaller/anaconda/pull/3296 Kickstart test for the issue: https://github.com/rhinstaller/kickstart-tests/pull/818 https://github.com/rhinstaller/anaconda/pull/4409 (kstest update: https://github.com/rhinstaller/kickstart-tests/pull/820) Reproduced on RHEL-8.7 with a kickstart file included on boot.iso using mkksiso (and also with "--nameserver=192.168.122.1" option added to the network command) With the same steps using compose RHEL-8.8.0-20221213.d.0 with anaconda-33.16.8.4-1.el8, the installer successfully activated the bond device specified in the kickstart file and fetched stage2. bond0 was the only device with an IP address. The bond0 interface was also successfully activated on the installed system. Marking as Verified:Tested 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-2023:2748 |