Bug 2026876

Summary: [4.x] vlan-filtering is getting applied on veth ports
Product: Container Native Virtualization (CNV) Reporter: Geetika Kapoor <gkapoor>
Component: NetworkingAssignee: Radim Hrazdil <rhrazdil>
Status: CLOSED ERRATA QA Contact: Meni Yakove <myakove>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.9.0CC: cnv-qe-bugs, phoracek
Target Milestone: ---   
Target Release: 4.9.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kubernetes-nmstate-handler-container-v4.9.1-9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2026881 (view as bug list) Environment:
Last Closed: 2021-12-13 19:59: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:
Bug Depends On:    
Bug Blocks: 2026881    

Description Geetika Kapoor 2021-11-26 10:10:13 UTC
Description of problem:

vlan filtering is failed while applying on veth ports. We don't use them

error reconciling NodeNetworkConfigurationPolicy at desired state apply: failed to enable vlan-filtering via nmcli: , failed to enable vlan filtering via nmcli: failed to execute nmcli con mod veth0817ddf6 bridge-port.vlans 2-4094: 'exit status 10', '', 'Error: unknown connection 'veth0817ddf6'.

Version-Release number of selected component (if applicable):

4.x

How reproducible:
always 

Steps to Reproduce:
1. Apply any nncp yaml with vlan-filtering fields. Sample given in additional info.
2.
3.

Actual results:

nncp failed to create 

Expected results:

NNCP creation should be successful.

Additional info:

Use below yaml for configuring and reproducing:

apiVersion: nmstate.io/v1beta1
kind: NodeNetworkConfigurationPolicy
metadata:
  name: upgrade-br-marker
spec:
  desiredState:
    interfaces:
    - bridge:
        options:
          stp:
            enabled: false
        port: []
      ipv4:
        dhcp: false
        enabled: false
      ipv6:
        enabled: false
      name: upg-br-mark
      state: up
      type: linux-bridge
  nodeSelector:
    kubernetes.io/hostname: cnv-qe-infra-32.cnvqe2.lab.eng.rdu2.redhat.com

Comment 1 Geetika Kapoor 2021-12-06 13:00:28 UTC
Run as part of infra

Comment 7 errata-xmlrpc 2021-12-13 19:59:01 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 (OpenShift Virtualization 4.9.1 Images), 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:5091