Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix kernel command line for management interface #942

Merged
merged 2 commits into from
Feb 3, 2025

Conversation

m-ildefons
Copy link
Contributor

Fix parsing management interface configuration from the kernel command line.
The parser now accepts more different specifications for the management interface, including just the systemd name for the device. Additionally, should the configuration not be parseable (e.g. due to a typo), the installer doesn't crash anymore, but rather produces a human readable error.

related-to: harvester/harvester#7470

Problem:

Solution:

Related Issue:

Test plan:

Fix parsing management interface configuration from the kernel command
line.
The parser now accepts more different specifications for the management
interface, including just the systemd name for the device.
Additionally, should the configuration not be parseable (e.g. due to a
typo), the installer doesn't crash anymore, but rather produces a human
readable error.

related-to: harvester/harvester#7470

Signed-off-by: Moritz Röhrich <moritz.rohrich@suse.com>
@m-ildefons m-ildefons added the bug Something isn't working label Jan 31, 2025
@m-ildefons m-ildefons self-assigned this Jan 31, 2025
@m-ildefons m-ildefons requested review from a110605 and albinsun and removed request for a110605 January 31, 2025 15:09
Add test case for producing a useful error when parsing management
interface details given on the kernel command line fails.

Signed-off-by: Moritz Röhrich <moritz.rohrich@suse.com>
@albinsun albinsun requested a review from bk201 February 3, 2025 03:57
Copy link
Contributor

@ibrokethecloud ibrokethecloud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. thanks.

@m-ildefons m-ildefons merged commit 772e28e into harvester:master Feb 3, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants