Bug 2067081
Summary: | Impossible to reset linux-bridge vlan-filtering with vlan: {} | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Quique Llorente <ellorent> | |
Component: | Networking | Assignee: | Christoph Stäbler <cstabler> | |
Networking sub component: | kubernetes-nmstate | QA Contact: | Aleksandra Malykhin <amalykhi> | |
Status: | CLOSED ERRATA | Docs Contact: | ||
Severity: | high | |||
Priority: | medium | CC: | amalykhi | |
Version: | 4.10 | |||
Target Milestone: | --- | |||
Target Release: | 4.10.z | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2069086 (view as bug list) | Environment: | ||
Last Closed: | 2022-07-20 07:46:10 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: | 2104938 | |||
Bug Blocks: | 2069086 |
Description
Quique Llorente
2022-03-23 09:10:17 UTC
*** Bug 2069086 has been marked as a duplicate of this bug. *** Verified on Cluster version is 4.10.23 kubernetes-nmstate-operator.4.10.0-202207140916 Steps to reproduce: $ cat <<EOF | kubectl apply -f - apiVersion: nmstate.io/v1 kind: NodeNetworkConfigurationPolicy metadata: name: linux-bridge-vlan-filtering spec: desiredState: interfaces: - name: dummy1 type: dummy state: up - name: linux-br0 type: linux-bridge state: up bridge: port: - name: dummy1 stp-hairpin-mode: false stp-path-cost: 100 stp-priority: 32 vlan: mode: trunk trunk-tags: - id: 101 - id-range: min: 500 max: 599 tag: 100 enable-native: true EOF nodenetworkconfigurationpolicy.nmstate.io/linux-bridge-vlan-filtering created $ oc get nnce NAME STATUS master-0-0.linux-bridge-vlan-filtering Available master-0-1.linux-bridge-vlan-filtering Available master-0-2.linux-bridge-vlan-filtering Available worker-0-0.linux-bridge-vlan-filtering Available worker-0-1.linux-bridge-vlan-filtering Available $ oc get nns ci-ln-fs3cvbk-72292-fkm59-master-0 -o yaml apiVersion: nmstate.io/v1beta1 kind: NodeNetworkState metadata: name: ci-ln-fs3cvbk-72292-fkm59-master-0 ... status: currentState: ... interfaces: ... - bridge: ... port: - name: dummy1 stp-hairpin-mode: false stp-path-cost: 100 stp-priority: 32 vlan: enable-native: true mode: trunk tag: 100 trunk-tags: - id: 101 - id-range: max: 599 min: 500 ipv4: address: [] dhcp: false enabled: false $ $ cat <<EOF | kubectl apply -f - apiVersion: nmstate.io/v1 kind: NodeNetworkConfigurationPolicy metadata: name: linux-bridge-vlan-filtering spec: desiredState: interfaces: - name: dummy1 type: dummy state: up - name: linux-br0 type: linux-bridge state: up bridge: port: - name: dummy1 stp-hairpin-mode: false stp-path-cost: 100 stp-priority: 32 vlan: {} EOF nodenetworkconfigurationpolicy.nmstate.io/linux-bridge-vlan-filtering configured [kni@provisionhost-0-0 ~]$ oc get nnce NAME STATUS master-0-0.linux-bridge-vlan-filtering Available master-0-1.linux-bridge-vlan-filtering Available master-0-2.linux-bridge-vlan-filtering Available worker-0-0.linux-bridge-vlan-filtering Available worker-0-1.linux-bridge-vlan-filtering Available $ oc get nns ci-ln-fs3cvbk-72292-fkm59-master-0 -o yaml apiVersion: nmstate.io/v1beta1 kind: NodeNetworkState metadata: ... name: ci-ln-fs3cvbk-72292-fkm59-master-0 status: currentState: ... interfaces: ... - bridge: ... port: - name: dummy1 stp-hairpin-mode: false stp-path-cost: 100 stp-priority: 32 ipv4: address: [] dhcp: false enabled: 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 (OpenShift Container Platform 4.10.23 bug fix 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-2022:5568 |