Bug 1937012

Summary: [RFE] Allow to set physical interfaces in promiscuous mode
Product: Red Hat Enterprise Linux 8 Reporter: Alberto Losada <alosadag>
Component: nmstateAssignee: Fernando F. Mancera <ferferna>
Status: CLOSED ERRATA QA Contact: Mingyu Shi <mshi>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.2CC: djuran, ferferna, jiji, jishi, jmaxwell, mavazque, network-qe, till
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: nmstate-1.1.0-0.1.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-09 17:43:40 UTC Type: Enhancement
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: 1942331    
Bug Blocks: 1935910    
Attachments:
Description Flags
pre-tested.log none

Description Alberto Losada 2021-03-09 16:49:33 UTC
Description of problem:

There is no way to configure a physical interface in promiscuous mode from a NodeNetworkConfigurationPolicy. In this case, a telco customer wanted to set a bond interface into promiscuous mode to permit a couple of CNFs to work properly.

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

kubernetes-nmstate installed from CNV operator on OCP 4.6. Actually using Red Hat Enterprise Linux CoreOS 46.82.202102120340-0 (based on RHEL 8.2)

How reproducible:
Alway


Expected results:

Being able to configure a physical interface in promisc mode.

Comment 3 Fernando F. Mancera 2021-04-29 10:10:01 UTC
Upstream PR: https://github.com/nmstate/nmstate/pull/1578

Comment 5 Mingyu Shi 2021-05-08 16:38:08 UTC
Created attachment 1781049 [details]
pre-tested.log

Pretested with versions:
nmstate-1.1.0-0.20210503105350356963.pr1578.23.g5cf2913.el8.noarch
nispor-1.0.1-4.el8.x86_64
NetworkManager-1.32.0-0.2.el8.x86_64
Linux mshi-rhel-850-20210328d2 4.18.0-301.1.el8.x86_64 #1 SMP Mon Mar 29 15:21:06 EDT 2021 x86_64 x86_64 x86_64 GNU/Linux

Comment 6 Fernando F. Mancera 2021-05-09 13:46:02 UTC
Merged!

Comment 10 Mingyu Shi 2021-06-01 12:05:07 UTC
Verified with versions:
nmstate-1.1.0-0.1.el8.noarch
nispor-1.1.0-1.el8.x86_64
NetworkManager-1.32.0-0.4.el8.x86_64

It works well except for an ovs internal interface, see #bz1966382

Comment 12 errata-xmlrpc 2021-11-09 17:43:40 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 (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