Bug 1885913

Summary: adapt ccw_init for network info written to /etc/NetworkManager/system-connections
Product: [Fedora] Fedora Reporter: Dan Horák <dan>
Component: s390utilsAssignee: Dan Horák <dan>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 33CC: anaconda-maint-list, awilliam, dan, hannsj_uhl, jkonecny, jonathan, jstodola, kellin, vanmeeuwen+fedora, vponcova, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Unspecified   
Whiteboard: AcceptedFreezeException
Fixed In Version: s390utils-2.14.0-4.fc34 s390utils-2.14.0-4.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-08 21:23:11 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: 467765, 1766778    

Description Dan Horák 2020-10-07 09:30:27 UTC
Anaconda used to write the s390x specific details for network interfaces into ifcfg file, but this doesn't happen any more. As a result system boots after installation without networking. I believe it's a relatively recent change, but I lost the history from my test VM (reinstalled, terminal output cleared).

It affects the s390x native network interfaces (qeth), there is no problem with virtio networking under KVM (AFAICT).


Version-Release number of selected component (if applicable):
anaconda 33.25.2-4.fc33

Comment 1 Dan Horák 2020-10-07 09:31:40 UTC
As Radek told me this is an effect of https://fedoraproject.org/wiki/Releases/33/ChangeSet#NetworkManager_keyfile_instead_of_ifcfg-rh and will require adaptation of ccw_init. Switching to s390utils.

Comment 2 Dan Horák 2020-10-07 10:13:40 UTC
device_cio_free also needs an update

Comment 3 Fedora Blocker Bugs Application 2020-10-07 10:15:54 UTC
Proposed as a Freeze Exception for 33-final by Fedora user sharkcz using the blocker tracking app because:

 Without the fix from the bug the freshly installed system will start without networking when a native s390x network adapter (eq. qeth) is used.

Comment 4 Fedora Update System 2020-10-07 13:27:07 UTC
FEDORA-2020-5ffc9f5485 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-5ffc9f5485

Comment 5 Fedora Update System 2020-10-07 14:30:49 UTC
FEDORA-2020-5ffc9f5485 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-5ffc9f5485`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-5ffc9f5485

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Dan Horák 2020-10-07 16:44:57 UTC
What's still missing is handling other options than "layer2" in ccw_init. This would need a real parser for "ini" files, so we can get the whole list of options/variable in a specific section.

Comment 7 Adam Williamson 2020-10-08 18:19:39 UTC
+4 in the ticket, marking accepted FE.

Comment 8 Fedora Update System 2020-10-08 21:23:11 UTC
FEDORA-2020-5ffc9f5485 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.