Bug 1727411
| Summary: | NetworkManager 1.20.0-0.3.fc31 seems to ignore newly-created ifcfg-eth0 on service restart, using "Wired connection 1" instead | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Adam Williamson <awilliam> | ||||
| Component: | NetworkManager | Assignee: | Lubomir Rintel <lkundrak> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | bgalvani, dcbw, fgiudici, gnome-sig, john.j5live, lkundrak, mclasen, rhughes, rstrode, sandmann, thaller | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | openqa | ||||||
| Fixed In Version: | NetworkManager-1.20.0-0.4.fc31 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2019-07-08 16:15:02 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: | |||||||
| Attachments: |
|
||||||
|
Description
Adam Williamson
2019-07-05 23:35:16 UTC
So basically my best bet is that what's going on here is, if ifcfg-(whatever) doesn't exist on startup so NM creates a "Wired connection" for it automatically, but then ifcfg-(whatever) is created *after that*, NM won't switch from "Wired connection X" to "System (whatever)" on restart any more, it just sticks with "Wired connection X"? Just my guess, anyway. Created attachment 1587870 [details]
logs from a failed test (includes some diagnostic output, then a dump of the journal)
Gah, this paragraph is wrong of course: "Doing 'systemctl down "Wired connection 1"; systemctl down "System eth0"; systemctl up "System eth0"' *does* seem to work around the problem, so I think I'll hack openQA up to do that for now..." I meant 'nmcli con down' and 'nmcli con up', not 'systemctl down' and 'systemctl up', so it should read: "Doing 'nmcli con down "Wired connection 1"; nmcli con down "System eth0"; nmcli con up "System eth0"' *does* seem to work around the problem, so I think I'll hack openQA up to do that for now..." Thanks for the report. The fixed package NetworkManager-1.20.0-0.4.fc31 is now being built. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/commit/c6106672861f9a188469f7e490cc38af60943a10 This same problem seems to be back with 1.20.0-0.5.fc31 and later, but the cause must be different. Filed https://bugzilla.redhat.com/show_bug.cgi?id=1739148 . |