Bug 2026881 - [4.8.3] vlan-filtering is getting applied on veth ports
Summary: [4.8.3] vlan-filtering is getting applied on veth ports
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Networking
Version: 4.8.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.8.3
Assignee: Radim Hrazdil
QA Contact: Meni Yakove
URL:
Whiteboard:
Depends On: 2026876
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-26 10:47 UTC by Petr Horáček
Modified: 2021-12-02 17:01 UTC (History)
6 users (show)

Fixed In Version: kubernetes-nmstate-handler-container-v4.8.3-8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2026876
Environment:
Last Closed: 2021-12-02 17:01:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt cluster-network-addons-operator pull 1093 0 None open bump nmstate to v0.47.9 2021-11-26 11:29:46 UTC
Github kubevirt cluster-network-addons-operator pull 1095 0 None open Release 0.53.10 2021-11-26 12:48:57 UTC
Github nmstate kubernetes-nmstate pull 903 0 None open [release-0.47] Fix applying vlan filtering via nmcli 2021-11-26 10:49:13 UTC
Red Hat Product Errata RHSA-2021:4914 0 None None None 2021-12-02 17:01:48 UTC

Description Petr Horáček 2021-11-26 10:47:30 UTC
+++ This bug was initially created as a clone of Bug #2026876 +++

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 Yossi Segev 2021-11-29 11:42:04 UTC
Verified by following the same scenario as in the bug description.
CNV Version: 4.8.3
nmstate-handler: v4.8.3-8

Comment 2 Yossi Segev 2021-11-29 16:29:45 UTC
Just to clarify - in addition to the original scenario, I also verified that the bridge interface was successfully deleted, after applying "state: absent" (instead of "state: up") in the NNCP.

Comment 6 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


Note You need to log in before you can comment on or make changes to this bug.