Bug 2025475

Summary: [4.8.3] Upgrade from 2.6 to 4.x versions failed due to vlan-filtering issues
Product: Container Native Virtualization (CNV) Reporter: Petr Horáček <phoracek>
Component: NetworkingAssignee: Radim Hrazdil <rhrazdil>
Status: CLOSED ERRATA QA Contact: Meni Yakove <myakove>
Severity: high Docs Contact:
Priority: high    
Version: 2.6.8CC: cnv-qe-bugs, gkapoor, myakove, rhrazdil, ysegev
Target Milestone: ---   
Target Release: 4.8.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kubernetes-nmstate-handler-container-v4.8.3-7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2024674 Environment:
Last Closed: 2021-12-02 17:01:42 UTC Type: ---
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: 2024674    
Bug Blocks:    

Comment 1 Yossi Segev 2021-11-29 16:27:13 UTC
Verified by the following scenario:
1. Applying this this policy:
apiVersion: nmstate.io/v1beta1
kind: NodeNetworkConfigurationPolicy
metadata:
  name: kubemacpool-cnv-qe-infra-17
spec:
  desiredState:
    interfaces:
    - bridge:
        options:
          stp:
            enabled: false
        port:
        - name: eno3
      ipv4:
        dhcp: false
        enabled: false
      ipv6:
        enabled: false
      name: br3test
      state: up
      type: linux-bridge
  nodeSelector:
    kubernetes.io/hostname: cnv-qe-infra-13.cnvqe2.lab.eng.rdu2.redhat.com

This policy is one if the failed policies in https://main-jenkins-csb-cnvqe.apps.ocp-c1.prod.psi.redhat.com/job/test-pytest-cnv-4.8-network/98/testReport/, which was referenced in the original bug as a run in which may NNCPs failed.

2. Verifying that br3test bridge interface was created on the node.
3. Ediing the policy and changing "state: up" to "state: absent" in order to delete the bridge.
4. Verifying the bridge interface was deleted from the node.

CNV: 4.8.3
nmstate-handler v4.8.3-8

Comment 5 errata-xmlrpc 2021-12-02 17:01:42 UTC
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 (Moderate: OpenShift Virtualization 4.8.3 Images security and 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/RHSA-2021:4914