Bug 1325752
| Summary: | Vlan devices do not inherit the bonding device MAC address when bonding driver is reloaded | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Jonathan Maxwell <jmaxwell> | ||||||
| Component: | NetworkManager | Assignee: | Beniamino Galvani <bgalvani> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Desktop QE <desktop-qa-list> | ||||||
| Severity: | urgent | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 7.2 | CC: | atragler, bgalvani, dcbw, jmaxwell, lrintel, npatil, rkhan, thaller, vbenes, villapla | ||||||
| Target Milestone: | rc | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | NetworkManager-1.2.0-1.el7 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2016-11-03 19:08:53 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: | |||||||||
| Attachments: |
|
||||||||
|
Description
Jonathan Maxwell
2016-04-11 06:05:03 UTC
I had no luck in reproducing this both on virtual and physical machines. Could you please provide logs with debug enabled (level=DEBUG in [logging] section of /etc/NetworkManager/NetworkManager.conf; a restart of the service is required)? Thanks! Hi Beniamino, The issue isn't reproducible on virtual machines. I suspect it has something to do with Dell machine because that's the one the customer is using. I was able to reproduce the issue on dell-r430-24.gsslab.rdu2.redhat.com Hi Sibu, Can we please get the logs as requested in Comment 2 above, from the machine where it is reproducible. Thanks Created attachment 1146095 [details]
The debug logs of NetworkManager
Hi Rashid/Beniamino, Please find attached the debug logs of NetworkManager from /var/log/messages. The reproducer starts with the following log: "Starting Producer for Bugzilla 1325752" And the following are the sequence of steps executed: # nmcli net off; modprobe -r bonding; nmcli net on # nmcli connection show # nmcli connection add type vlan con-name bond0.692 ifname bond0.692 dev bond0 id 692 # nmcli net off; modprobe -r bonding; nmcli net on # nmcli connection show Created attachment 1146445 [details]
[PATCH] device/vlan: update hw address also during prepare phase
Proposed fix.
LGTM lgtm too Merged to master: https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=a032ce72ea3dc9618be04bba893bc5e50b9b92b9 nm-1-2: https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?h=nm-1-2&id=8e405e99f0a748ac415922a87e03c85fe8c1d9b6 and nm-1-0: https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?h=nm-1-0&id=383997306d7f9df921aaccccb3de5769f403edd8 Hi Beniamino, Can I a test package be shared so that it can be passed on to the customer to verify whether is fixes the issue? This is very much hw related. Tested on dell-r430-2.
with NM-1.0.6:
11: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
link/ether 44:a8:42:32:8e:35 brd ff:ff:ff:ff:ff:ff
inet 10.10.183.217/21 brd 10.10.183.255 scope global dynamic bond0
valid_lft 43195sec preferred_lft 43195sec
inet6 2620:52:0:ab0:46a8:42ff:fe32:8e35/64 scope global noprefixroute dynamic
valid_lft 2591994sec preferred_lft 604794sec
inet6 fe80::46a8:42ff:fe32:8e35/64 scope link
valid_lft forever preferred_lft forever
12: bond0.692@bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
link/ether 22:7c:70:59:73:f2 brd ff:ff:ff:ff:ff:ff
^^^^^^^^^^^
several attempts with NM-1.2.0:
14: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
link/ether 44:a8:42:32:8e:35 brd ff:ff:ff:ff:ff:ff
inet 10.10.183.217/21 brd 10.10.183.255 scope global dynamic bond0
valid_lft 43154sec preferred_lft 43154sec
inet6 2620:52:0:ab0:46a8:42ff:fe32:8e35/64 scope global noprefixroute dynamic
valid_lft 2591954sec preferred_lft 604754sec
inet6 fe80::46a8:42ff:fe32:8e35/64 scope link
valid_lft forever preferred_lft forever
16: bond0.692@bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
link/ether 44:a8:42:32:8e:35 brd ff:ff:ff:ff:ff:ff
*** Bug 1357026 has been marked as a duplicate of this bug. *** Hi Beniamino, I come from bz#1357026 and i'm very interested in getting this bug fixed ASAP, any chance to have access to the updated NetworkManager RPM (or SRC)? Installed NetworkManager-1.4.0-0.5.beta1.el7.x86_64.rpm from 7.3 Beta-1 on a 7.2 test box and the bug is FIXED (in our case in a team interface). 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://rhn.redhat.com/errata/RHSA-2016-2581.html |