Bug 1762201 - provisioning kickstart conflicts with static networking setup
Summary: provisioning kickstart conflicts with static networking setup
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Beaker
Classification: Retired
Component: general
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: beaker-dev-list
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks: 1761589
TreeView+ depends on / blocked
 
Reported: 2019-10-16 08:10 UTC by Dan Horák
Modified: 2020-10-21 14:13 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-10-21 14:13:57 UTC
Embargoed:


Attachments (Terms of Use)

Description Dan Horák 2019-10-16 08:10:22 UTC
Description of problem:
The kickstart file used for provisioning machines always contains

network --bootproto=dhcp --hostname=...

command, which conflicts with the static networking setup used with s390x machines. I believe this became an issue after anaconda changed their network setup code to rely on NetworkManager.

The "network" command shouldn't be used when the machine has network pre-configured from dracut/initrd environment, like our s390x guests.


Version-Release number of selected component (if applicable):
26.5 as used at beaker.engineering.redhat.com

How reproducible:
100%

Steps to Reproduce:
1. run a reservesys job
2. select s390x
3. select Fedora30
4. supply ip= kernel option used by RHEL-8

Actual results:
- traceback from /tmp/anamon with
    socket.gaierror: [Errno -2] Name or service not known
- network connectivity lost in the "middle" of the provisioning process (right after the pre-install script finished)

Expected results:
- no traceback, machine accessible over network

Additional info:
"network --bootproto=dhcp" breaks installations with static networking setup outside beaker too
The anamon crash isn't fatal, but the loss of network connectivity is.

Comment 1 Dan Horák 2019-10-16 08:16:05 UTC
a sample of the provisioning kickstart - https://beaker.engineering.redhat.com/kickstart/6024063


Note You need to log in before you can comment on or make changes to this bug.