Bug 1964307
| Summary: | Impossible to add a OVS bridge port | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Quique Llorente <ellorent> | ||||||||
| Component: | nmstate | Assignee: | Fernando F. Mancera <ferferna> | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | Mingyu Shi <mshi> | ||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 8.4 | CC: | ferferna, fge, jiji, jishi, network-qe, phoracek, till | ||||||||
| Target Milestone: | beta | Keywords: | Triaged | ||||||||
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
||||||||
| Hardware: | x86_64 | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | nmstate-1.1.0-3.el8 | Doc Type: | If docs needed, set a value | ||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2021-11-09 17:43:51 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: | |||||||||||
| Bug Depends On: | |||||||||||
| Bug Blocks: | 1885605 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Quique Llorente
2021-05-25 07:36:03 UTC
Created attachment 1786758 [details]
Desired state
Created attachment 1786759 [details]
Full logs after nmstatectl set
Created attachment 1786760 [details]
Full logs after nmstatectl show
Add enp5s0 to the desired state improves things a little since it appears as part of the ports, but if I add the br-ex ovs-interface br-ex ovs-bridge breaks. Hi Quique, thanks for this report. I am looking into this. Verified with versions: nmstate-1.1.0-3.el8.noarch nispor-1.1.1-1.el8.x86_64 NetworkManager-1.32.10-1.el8.x86_64 openvswitch2.13-2.13.0-116.el8fdp.x86_64 [14:03:54@ibm-x3650m4-01-vm-05 ~]0# ip link add enp5s0 type veth [14:03:57@ibm-x3650m4-01-vm-05 ~]0# nmcli dev set enp5s0 managed yes [14:03:57@ibm-x3650m4-01-vm-05 ~]0# [14:03:57@ibm-x3650m4-01-vm-05 ~]0# echo " > interfaces: > - name: br-ex > type: ovs-bridge > state: up > bridge: > options: > fail-mode: '' > mcast-snooping-enable: false > rstp: false > stp: false > port: > - name: br-ex > - name: enp5s0 > " | nmstatectl set /tmp/nmstatelog/2021-08-24-14:03:57-722645120.log Desired state applied: --- interfaces: - name: br-ex type: ovs-bridge state: up bridge: options: fail-mode: '' mcast-snooping-enable: false rstp: false stp: false port: - name: br-ex - name: enp5s0 /tmp/nmstatelog/2021-08-24-14:03:57-722645120.0.log nmstatectl set return 0 [14:03:59@ibm-x3650m4-01-vm-05 ~]0# [14:03:59@ibm-x3650m4-01-vm-05 ~]0# echo " > interfaces: > - name: br-ex > type: ovs-bridge > state: up > bridge: > options: > fail-mode: '' > mcast-snooping-enable: false > rstp: false > stp: false > port: > - name: br-ex > - name: enp5s0 > - name: ovn-veth > lldp: > enabled: false > - ipv4: > enabled: false > dhcp: false > ipv6: > enabled: false > autoconf: false > dhcp: false > name: cnv-veth > state: up > type: veth > veth: > peer: ovn-veth > - ipv4: > enabled: false > dhcp: false > ipv6: > enabled: false > autoconf: false > dhcp: false > name: ovn-veth > state: up > type: veth > veth: > peer: cnv-veth > " | nmstatectl set /tmp/nmstatelog/2021-08-24-14:04:02-674235659.log Desired state applied: --- interfaces: - name: br-ex type: ovs-bridge state: up bridge: options: fail-mode: '' mcast-snooping-enable: false rstp: false stp: false port: - name: br-ex - name: enp5s0 - name: ovn-veth lldp: enabled: false - name: cnv-veth type: veth state: up ipv4: enabled: false dhcp: false ipv6: enabled: false autoconf: false dhcp: false veth: peer: ovn-veth - name: ovn-veth type: veth state: up ipv4: enabled: false dhcp: false ipv6: enabled: false autoconf: false dhcp: false veth: peer: cnv-veth /tmp/nmstatelog/2021-08-24-14:04:02-674235659.0.log nmstatectl set return 0 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-2021:4157 |