| Summary: | Not all connections have an interface name | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Dominik Perpeet <dperpeet> |
| Component: | cockpit | Assignee: | Dominik Perpeet <dperpeet> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | qe-baseos-daemons |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.3 | CC: | dperpeet, mvollmer, stefw |
| Target Milestone: | rc | Keywords: | Extras |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-09-13 11:23:44 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: | |
|
Description
Dominik Perpeet
2016-11-14 08:01:07 UTC
Upstream master commit https://github.com/cockpit-project/cockpit/commit/5d3f012faf468235954083312b1bd15ac8fc29c8 We should describe the actual problem caused by this bug before approving it for a patch. Dominik, do you have that information? Here is the background for the patch: Cockpit builds a internal data structure that is derived from the information exposed by NetworkManager. Specifically, it finds all names of interfaces that don't currently exist in the kernel but can be potentially created by activating existing connection settings for bridges, bonds, teams, or vlans. Previously, Cockpit assumed that all connection settings for bridges, bonds, teams, and vlans have a value for the "interface-name" property. It would crash if a setting didn't have a value. These kind of incomplete settings are legal and work okay with NetworkManager. We would need more work in Cockpit to also make them work okay in the UI. This patch prevents (In reply to Marius Vollmer from comment #3) > Previously, Cockpit assumed that all connection settings for bridges, bonds, > teams, and vlans have a value for the "interface-name" property. It would > crash if a setting didn't have a value. We want to prevent said crash. current version contains the patch |