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.
Created attachment 1594673[details]
Reproduce script.
Description of problem:
When reapply the change of ipv6.method ignore -> dhcp, the autoconf
will got enabled after some seconds.
nmcli c add type ethernet ifname dhcpcli \
connection.id dhcpcli \
ipv4.method disabled \
ipv6.method ignore
nmcli c up dhcpcli
nmcli c modify dhcpcli ipv6.method dhcp
nmcli d reapply dhcpcli
Version-Release number of selected component (if applicable):
NetworkManager-1.20.0-0.3.el8.x86_64
How reproducible:
100%
Steps to Reproduce:
1. Download the attached script.
2. sudo bash ./nm_reapply_ipv6.sh
3.
Actual results:
autoconf routes show up at second 7, and disappear second 12, then show up again
at second 17:
Expected results:
No autoconf routes.
Additional info:
The output of reproduce scripts:
====
[fge@el8 ~]$ sudo ./nm_reapply_ipv6.sh
Error: unknown connection 'dhcpcli'.
Error: cannot delete unknown connection(s): 'dhcpcli'.
Cannot find device "dhcpcli"
radvd-2.17-12.el8.x86_64
0
0
Connection 'dhcpcli' (0816d2d0-b070-4d9b-b630-5e4cc806ec48) successfully added.
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/3)
::1 dev lo proto kernel metric 256 pref medium
2001:db8:1::/64 dev dhcpsrv proto kernel metric 256 pref medium
fe80::/64 dev enp1s0 proto kernel metric 100 pref medium
fe80::/64 dev dhcpsrv proto kernel metric 256 pref medium
fe80::/64 dev dhcpcli proto kernel metric 256 pref medium
Connection successfully reapplied to device 'dhcpcli'.
1
2
3
default via fe80::b0ec:c5ff:fedd:b7b2 dev dhcpcli proto ra metric 1024 expires 299sec hoplimit 64 pref medium
4
default via fe80::b0ec:c5ff:fedd:b7b2 dev dhcpcli proto ra metric 1024 expires 298sec hoplimit 64 pref medium
5
default via fe80::b0ec:c5ff:fedd:b7b2 dev dhcpcli proto ra metric 1024 expires 297sec hoplimit 64 pref medium
6
default via fe80::b0ec:c5ff:fedd:b7b2 dev dhcpcli proto ra metric 1024 expires 296sec hoplimit 64 pref medium
7
default via fe80::b0ec:c5ff:fedd:b7b2 dev dhcpcli proto ra metric 1024 expires 295sec hoplimit 64 pref medium
8
9
10
11
12
13
14
15
16
17
default via fe80::b0ec:c5ff:fedd:b7b2 dev dhcpcli proto ra metric 1024 expires 299sec hoplimit 64 pref medium
18
default via fe80::b0ec:c5ff:fedd:b7b2 dev dhcpcli proto ra metric 1024 expires 298sec hoplimit 64 pref medium
19
default via fe80::b0ec:c5ff:fedd:b7b2 dev dhcpcli proto ra metric 1024 expires 297sec hoplimit 64 pref medium
20
default via fe80::b0ec:c5ff:fedd:b7b2 dev dhcpcli proto ra metric 1024 expires 296sec hoplimit 64 pref medium
rm: cannot remove '/etc/dnsmasq.d/test.conf': No such file or directory
Connection 'dhcpcli' (0816d2d0-b070-4d9b-b630-5e4cc806ec48) successfully deleted.
=====
autoconf routes show up at second 3, and disappear second 8, then show up again
at second 17
Comment 3Beniamino Galvani
2019-08-13 12:59:31 UTC
Probably those addresses are added by kernel because we leave 'accept_ra' set to 1, and so kernel does autoconfiguration even when it's disabled in NM.
Comment 5Beniamino Galvani
2019-08-25 07:59:15 UTC
Comment 6Beniamino Galvani
2019-08-25 08:04:39 UTC
Created attachment 1607778[details]
Script to check RA neigh parameters
The branch above disables kernel handling of RAs (accept_ra), that was introduced to fix bug 1068673. The parameters mentioned in the bug (retrans_time, reachable_time) are now handled by NM. This scripts can be used to verify that we still set the parameters correctly.
Comment 7Beniamino Galvani
2019-08-30 09:25:33 UTC
Requesting a backport to z-stream:
RHV is not expecting traffic disruption while updating a bridge interface.
The issue discussed in this BZ disrupts traffic and connectivity as it requires the usage if "activation" instead of "reapply".
It will be very helpful to have this issue fixed in 8.1.z so RHV can consume it from day 1.
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, 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:1847
Created attachment 1594673 [details] Reproduce script. Description of problem: When reapply the change of ipv6.method ignore -> dhcp, the autoconf will got enabled after some seconds. nmcli c add type ethernet ifname dhcpcli \ connection.id dhcpcli \ ipv4.method disabled \ ipv6.method ignore nmcli c up dhcpcli nmcli c modify dhcpcli ipv6.method dhcp nmcli d reapply dhcpcli Version-Release number of selected component (if applicable): NetworkManager-1.20.0-0.3.el8.x86_64 How reproducible: 100% Steps to Reproduce: 1. Download the attached script. 2. sudo bash ./nm_reapply_ipv6.sh 3. Actual results: autoconf routes show up at second 7, and disappear second 12, then show up again at second 17: Expected results: No autoconf routes. Additional info: