Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1812335

Summary: Bond: cannot set back 'arp_ip_target' and 'arp_interval' options to default value
Product: Red Hat Enterprise Linux 8 Reporter: Mingyu Shi <mshi>
Component: nmstateAssignee: Gris Ge <fge>
Status: CLOSED ERRATA QA Contact: Mingyu Shi <mshi>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.2CC: ferferna, jiji, jishi, jwboyer, network-qe, till
Target Milestone: rcKeywords: ZStream
Target Release: 8.3Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: nmstate-0.3.2-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1817478 (view as bug list) Environment:
Last Closed: 2020-11-04 03:08:25 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: 1817478    
Attachments:
Description Flags
reproducer.log
none
verified.log none

Description Mingyu Shi 2020-03-11 03:20:34 UTC
Created attachment 1669143 [details]
reproducer.log

Description of problem:
Once you set 'arp_ip_target'(arp_interval is required meanwhile), you cannot empty it anymore. It means we can't set back 'arp_ip_target' and 'arp_interval' options to default value

Version-Release number of selected component (if applicable):
nmstate-0.2.6-3.8.el8.noarch
NetworkManager-1.22.8-4.el8.x86_64


How reproducible:
100%

Steps to Reproduce:
1. Set a bond with 'arp_ip_target' and 'arp_interval'
2. Try to remove these two options
3.
See the attachment for the details.

Actual results:
Fail

Expected results:
No failure

Additional info:
Now you have to change 'arp_interval' and 'arp_ip_target' at the same time:
2020-03-11 11:01:39,011 root         ERROR    NM main-loop aborted: Connection adding failed: error=nm-connection-error-quark: bond.options: 'arp_interval' option requires 'arp_ip_target' option to be set (7)
2020-03-11 10:59:47,438 root         ERROR    NM main-loop aborted: Connection update failed: error=nm-connection-error-quark: bond.options: 'arp_ip_target' option requires 'arp_interval' option to be set (7), dev=temp3/<enum NM_DEVICE_STATE_ACTIVATED of type NM.DeviceState>

Comment 3 Gris Ge 2020-04-28 07:04:26 UTC
*** Bug 1828302 has been marked as a duplicate of this bug. ***

Comment 7 Mingyu Shi 2020-06-19 02:01:08 UTC
Created attachment 1698029 [details]
verified.log

verified:
nmstate-0.3.2-1.el8.noarch
NetworkManager-1.26.0-0.1.el8.x86_64
DISTRO=RHEL-8.3.0-20200616.0
Linux hp-dl388g8-08.rhts.eng.pek2.redhat.com 4.18.0-214.el8.x86_64 #1 SMP Fri Jun 12 08:55:08 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

See the attachment for details.

Comment 10 errata-xmlrpc 2020-11-04 03:08:25 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-2020:4696