Bug 2094750
| Summary: | nmstate rust requires "route-table-id" when changing vrf "port" only | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Mingyu Shi <mshi> |
| Component: | nmstate | Assignee: | Gris Ge <fge> |
| Status: | CLOSED ERRATA | QA Contact: | Mingyu Shi <mshi> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 9.1 | CC: | ferferna, jiji, jishi, network-qe, sfaye, till |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | nmstate-2.2.1-1.el9 | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-05-09 07:31:01 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: | |||
Verified with: nmstate-2.2.2-2.el9.x86_64 nispor-1.2.9-1.el9.x86_64 NetworkManager-1.41.7-2.el9.x86_64 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (nmstate bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:2190 |
Description of problem: When changing "port" of a running vrf interface, nmstate rust requires "route-table-id", which can be omitted with nmstate python. Version-Release number of selected component (if applicable): nmstate-2.1.1-0.alpha.20220602.5accbd1.el9.x86_64 NetworkManager-1.39.5-1.el9.x86_64 How reproducible: 100% Steps to Reproduce: echo " interfaces: - name: vrf0 type: vrf state: up vrf: route-table-id: 100 " | nmstatectl apply echo " interfaces: - name: vrf0 type: vrf state: up vrf: port: - dummy0 - name: dummy0 state: up type: dummy " | nmstatectl apply Actual results: serde_yaml::Error: missing field `route-table-id` Expected results: No failure, dummy0 is added to "port" while "route-table-id" unchanged. Additional info: