Bug 1939911
| Summary: | if not explicitly list, don't manage virtual interface | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Mingyu Shi <mshi> |
| Component: | nmstate | Assignee: | Fernando F. Mancera <ferferna> |
| Status: | CLOSED WONTFIX | QA Contact: | Mingyu Shi <mshi> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 8.4 | CC: | ferferna, jiji, jishi, network-qe, sfaye, till |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | 8.8 | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-09-17 07:27:35 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: | |||
|
Description
Mingyu Shi
2021-03-17 10:00:44 UTC
Hi Mingyu, This should be fixed in nmstate-1.1.0-0.3.alpha3.el8 can you give it try? Hi Fernando I still reproduced it with nmstate-1.1.0-0.3.alpha3.el8.noarch. Just run the same reproducer. Hi Mingyu, I tried this out and I were not able to reproduce it. Do you have this section on /etc/NetworkManager/NetworkManager.conf? [keyfile] unmanaged-devices=interface-name:dummy0 Without this, the interface could be managed but connected externally, even if it was created with iproute2. Hi Fernando, It can be reproduced here, I didn't touch NetworkManager.conf. I understand some rules between default unmanaged and strictly unmanaged, but the key is using dummy and veth with the same rule results in different results respectively. Please see the attachment above, you can see: I run two YAML files, the only difference is one using dummy and another one using veth. After running use-dummy.sh, dummy0 became managed and detached, while after running use-veth.sh, veth0 stayed unmanged and attached. Just wonder, is there some difference when nmstate/NetworkManager deal with dummy(or bond, bridge) vs veth(or NIC)? I'm using nmstate-1.3.1-1.el8.x86_64 nispor-1.2.3-1.el8.x86_64 NetworkManager-1.39.10-1.el8.x86_64 (In reply to Mingyu Shi from comment #9) > Hi Fernando, > > It can be reproduced here, I didn't touch NetworkManager.conf. I understand > some rules between default unmanaged and strictly unmanaged, but the key is > using dummy and veth with the same rule results in different results > respectively. > Please see the attachment above, you can see: > I run two YAML files, the only difference is one using dummy and another one > using veth. > After running use-dummy.sh, dummy0 became managed and detached, while > after running use-veth.sh, veth0 stayed unmanged and attached. > > Just wonder, is there some difference when nmstate/NetworkManager deal with > dummy(or bond, bridge) vs veth(or NIC)? > It seems there are differences.. ideally, there shouldn't be differences. I think this comes from NetworkManager because Nmstate shouldn't do anything different. If you think they should have a consistent behaviour please move the bug back to ASSIGNED/NEW and I will take care of it ASAP. Thank you!! Thanks, Fernando. As the original issue was about veth/NIC, plus, so far no one complains about the behavior on bond, dummy or something. I'm lowering the priority. After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. |