Bug 2016297
| Summary: | Nmstate rust should support OVS interface | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Gris Ge <fge> |
| Component: | nmstate | Assignee: | Gris Ge <fge> |
| Status: | CLOSED ERRATA | QA Contact: | Mingyu Shi <mshi> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | high | ||
| Version: | 9.0 | CC: | ferferna, jiji, jishi, network-qe, till |
| Target Milestone: | rc | Keywords: | FutureFeature, Triaged |
| Target Release: | 9.0 | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | nmstate-2.0.0-0.1.alpha4.el9 | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-05-17 12:32: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
Gris Ge
2021-10-21 08:39:38 UTC
I've tested the patch manually when reviewing it. In addition, the CI tests are passing. Verified with versions:
nmstate-2.0.0-0.7.alpha6.el9.x86_64
nispor-1.2.3-1.el9.x86_64
NetworkManager-1.36.0-0.3.el9.x86_64
openvswitch2.15-2.15.0-33.el9fdp.x86_64
kernel 5.14.0-42.el9.x86_64
cat << EOF > rust-ovs.yaml
interfaces:
- name: rust-ovsbr0
type: ovs-bridge
state: up
bridge:
port:
- name: rust-ovs0
- name: rust-dummy27
- name: rust-ovsbond0
vlan:
mode: access
tag: 0
link-aggregation:
mode: balance-slb
port:
- name: rust-dummy28
- name: rust-ovs1
vlan:
mode: trunk
tag: 1
- name: rust-ovsbond2
link-aggregation:
mode: balance-tcp
port:
- name: rust-dummy30
- name: rust-dummy31
- name: rust-ovs0
type: ovs-interface
state: up
- name: rust-ovs1
type: ovs-interface
state: up
- {name: rust-dummy27, type: dummy, state: up}
- {name: rust-dummy28, type: dummy, state: up}
- {name: rust-dummy29, type: dummy, state: up}
- {name: rust-dummy30, type: dummy, state: up}
- {name: rust-dummy31, type: dummy, state: up}
EOF
[08:59:40@dell-per740-33 ~]0# nmstatectl-rust set rust-ovs.yaml
[2022-01-17T01:04:09Z WARN nmstate::nispor::show] Got unsupported interface g0team4 type Other("team")
[2022-01-17T01:04:09Z WARN nmstate::nispor::show] Got unsupported interface g0team2 type Other("team")
[2022-01-17T01:04:09Z WARN nmstate::nispor::show] Got unsupported interface g0team5 type Other("team")
[2022-01-17T01:04:09Z WARN nmstate::nispor::show] Got unsupported interface g0team3 type Other("team")
[2022-01-17T01:04:09Z WARN nmstate::nispor::show] Got unsupported interface g0team1 type Other("team")
[2022-01-17T01:04:09Z WARN nmstate::nispor::show] Got unsupported interface g0vrf0 type Vrf
[2022-01-17T01:04:09Z WARN nmstate::nispor::show] Got unsupported interface g0team0 type Other("team")
[2022-01-17T01:04:09Z WARN nmstate::nispor::show] Got unsupported interface g0team4 type Other("team")
[2022-01-17T01:04:09Z WARN nmstate::nispor::show] Got unsupported interface g0team5 type Other("team")
[2022-01-17T01:04:09Z WARN nmstate::nispor::show] Got unsupported interface g0team0 type Other("team")
[2022-01-17T01:04:09Z WARN nmstate::nispor::show] Got unsupported interface g0team1 type Other("team")
[2022-01-17T01:04:09Z WARN nmstate::nispor::show] Got unsupported interface g0team2 type Other("team")
[2022-01-17T01:04:09Z WARN nmstate::nispor::show] Got unsupported interface g0team3 type Other("team")
[2022-01-17T01:04:09Z WARN nmstate::nispor::show] Got unsupported interface g0vrf0 type Vrf
---
dns: {}
rules: {}
routes: {}
interfaces:
- name: rust-dummy27
type: dummy
state: up
- name: rust-dummy28
type: dummy
state: up
- name: rust-dummy29
type: dummy
state: up
- name: rust-dummy30
type: dummy
state: up
- name: rust-dummy31
type: dummy
state: up
- name: rust-ovs0
type: ovs-interface
state: up
- name: rust-ovs1
type: ovs-interface
state: up
- name: rust-ovsbr0
type: ovs-bridge
state: up
bridge:
port:
- name: rust-ovs0
- name: rust-dummy27
- name: rust-ovsbond0
link-aggregation:
mode: balance-slb
port:
- name: rust-dummy28
- name: rust-ovs1
- name: rust-ovsbond2
link-aggregation:
mode: balance-tcp
port:
- name: rust-dummy30
- name: rust-dummy31
[09:04:54@dell-per740-33 ~]0# nmstatectl-rust show rust-ovsbr0
[2022-01-17T01:05:10Z WARN nmstate::nispor::show] Got unsupported interface g0team3 type Other("team")
[2022-01-17T01:05:10Z WARN nmstate::nispor::show] Got unsupported interface g0vrf0 type Vrf
[2022-01-17T01:05:10Z WARN nmstate::nispor::show] Got unsupported interface g0team5 type Other("team")
[2022-01-17T01:05:10Z WARN nmstate::nispor::show] Got unsupported interface g0team1 type Other("team")
[2022-01-17T01:05:10Z WARN nmstate::nispor::show] Got unsupported interface g0team0 type Other("team")
[2022-01-17T01:05:10Z WARN nmstate::nispor::show] Got unsupported interface g0team2 type Other("team")
[2022-01-17T01:05:10Z WARN nmstate::nispor::show] Got unsupported interface g0team4 type Other("team")
---
dns-resolver: {}
route-rules: {}
routes: {}
interfaces:
- name: rust-ovsbr0
type: ovs-bridge
state: up
ipv4:
enabled: false
ipv6:
enabled: false
bridge:
options:
stp: false
rstp: false
mcast-snooping-enable: false
fail-mode: ""
port:
- name: rust-ovs0
- name: rust-dummy27
- name: rust-ovsbond0
link-aggregation:
mode: balance-slb
port:
- name: rust-dummy28
- name: rust-ovs1
- name: rust-ovsbond2
link-aggregation:
mode: balance-tcp
port:
- name: rust-dummy30
- name: rust-dummy31
[09:05:10@dell-per740-33 ~]0# nmstatectl-rust show rust-ovs0
[2022-01-17T01:05:36Z WARN nmstate::nispor::show] Got unsupported interface g0vrf0 type Vrf
[2022-01-17T01:05:36Z WARN nmstate::nispor::show] Got unsupported interface g0team4 type Other("team")
[2022-01-17T01:05:36Z WARN nmstate::nispor::show] Got unsupported interface g0team0 type Other("team")
[2022-01-17T01:05:36Z WARN nmstate::nispor::show] Got unsupported interface g0team1 type Other("team")
[2022-01-17T01:05:36Z WARN nmstate::nispor::show] Got unsupported interface g0team5 type Other("team")
[2022-01-17T01:05:36Z WARN nmstate::nispor::show] Got unsupported interface g0team3 type Other("team")
[2022-01-17T01:05:36Z WARN nmstate::nispor::show] Got unsupported interface g0team2 type Other("team")
---
dns-resolver: {}
route-rules: {}
routes: {}
interfaces:
- name: rust-ovs0
type: ovs-interface
state: up
mac-address: "B6:F0:2B:21:72:AB"
mtu: 1500
ipv4:
enabled: false
ipv6:
enabled: false
controller: rust-ovsbr0
accept-all-mac-addresses: false
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 (new packages: nmstate), 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/RHEA-2022:2338 |