Bug 1879458
| Summary: | Bridge creation fails on CNV due to def route lost | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | Giuseppe Cofano <gcofano> |
| Component: | Networking | Assignee: | Petr Horáček <phoracek> |
| Status: | CLOSED DUPLICATE | QA Contact: | Meni Yakove <myakove> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.4.0 | CC: | aos-bugs, cnv-qe-bugs, dholler, ellorent, eparis, fge, jhou, jokerman, phoracek, rbohne, rgarcia, welin |
| Target Milestone: | --- | Flags: | jhou:
needinfo-
|
| Target Release: | 4.8.6 | ||
| 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: | 2021-02-11 13:20:23 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
Giuseppe Cofano
2020-09-16 10:45:03 UTC
*** Bug 1879459 has been marked as a duplicate of this bug. *** *** Bug 1879441 has been marked as a duplicate of this bug. *** @jhou Can you specify the the kernel params passed to configure networking and also attach the NodeNetworkState before applyting the NNCP ? Created attachment 1741582 [details]
using nmtui config static IP for CoreOS installing
Created attachment 1741583 [details]
using nmtui config static IP for CoreOS installing
Created attachment 1741584 [details]
using nmtui config static IP for CoreOS installing
The PR that introduces the new --copy-network option to coreos-installer https://github.com/coreos/coreos-installer/pull/212, it contains the info about what it's done with it. The suspicious part of this `default_connection.nmconnection`: it does not define the interface name or mac address. With that, if the OS only has `default_connection.nmconnection` on bootup, all its NIC will use the same IP address/DNS/Routes. To continue this debug, please provide the output of `ip link && nmcli` Created attachment 1742030 [details]
the output of nmcli & ip link
the output of nmcli & ip link
I have attache output of nmcli & ip link Hi Kevin, From the screenshot, there is `ens192` NIC available. But the bug report are creating a bridge using `eno1np0` which seems does not exists. And bug reporter also mentioned `bond0`. Could you enlighten me on? 1. What's the initial network state after OS boot up? * list of NICs. * Which NIC is holding IP/gateway/DNS using this `default_connection.nmconnection.` 2. What's the desire state would you want to achieve through CNV? And what's the spec passing to CNV? Hi Quique Llorente, Even I cannot reproduced this original problem. But this `multi-connect=3`[1] has triggered a lot problems in my VM. Before I continue my fixes in nmstate on this `multi-connect`, please kindly collect answers for: * Why CNV try to set NM profile without interface name or MAC defined? * Is this `multi-connect=3` intentional and by mistake? * What's the CNV use case for this `multi-connect=3` if that's intentional? [1]: It means NM can use single profiles to activate multiple interface. When that profile has no interface name or MAC address defined, it means NM will apply the same configure to all interface it found. Sadly, I have to postpone this to 2.7. It is not a blocker / there is a workaround. *** Bug 1833358 has been marked as a duplicate of this bug. *** Moving to NEW. A potential fix has been merged on nmstate U/S. Once it is available in RHEL, we could try to verify that this issue is indeed gone. I'm merging this BZ with #1901859. Both seem to be facing the same issue. We should continue the discussion there. *** This bug has been marked as a duplicate of bug 1901859 *** The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days |