Bug 1281301
Summary: | NetworkManager infiniband connected mode fails with some adapters | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Dominique Martinet <dominique.martinet> | ||||
Component: | NetworkManager | Assignee: | Beniamino Galvani <bgalvani> | ||||
Status: | CLOSED ERRATA | QA Contact: | Desktop QE <desktop-qa-list> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | urgent | ||||||
Version: | 7.1 | CC: | aloughla, bgalvani, dcbw, dominique.martinet, lrintel, rkhan, thaller, vbenes | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-11-03 19:20:19 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: | 1301628, 1313485 | ||||||
Attachments: |
|
Description
Dominique Martinet
2015-11-12 09:26:37 UTC
Yeah, nm-device-infiniband.c::act_stage1_prepare() should probably take the device down, set the mode, and bring it back up. Created attachment 1111844 [details] [PATCH] device/infiniband: take interface down to set transport mode Hi Dominique, the attached patch should fix the issue, however I was not able to test it since the hardware I have available accepts a mode change even when the interface is up. Could you please grab packages at: http://people.redhat.com/~bgalvani/NM/rh1281301/ upgrade them with "rpm -Fvh *.rpm" (so that only the packages you have already installed will be upgraded), restart NM and check if this solves the problem? Thanks! Hi, I can confirm this works for me (I just brought an interface down, changed mode to datagram and restarted NetworkManager after updating the packages - the interface is back up in connected mode) Thank you, -- Dominique Martinet (In reply to Beniamino Galvani from comment #3) > Created attachment 1111844 [details] > [PATCH] device/infiniband: take interface down to set transport mode > > Hi Dominique, > > the attached patch should fix the issue, however I was not able to > test it since the hardware I have available accepts a mode change > even when the interface is up. Could you please grab packages at: > > http://people.redhat.com/~bgalvani/NM/rh1281301/ > > upgrade them with "rpm -Fvh *.rpm" (so that only the packages you > have already installed will be upgraded), restart NM and check if this > solves the problem? Thanks! LGTM Merged to master: http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=5bf0697f659b262d7d385ff5903f3b86611a8c35 and nm-1-0: http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?h=nm-1-0&id=2f012d80d771b5ca95dabce0f628393395c800eb Infiniband transport mode is changed after device is taken down. This should prevent any such failures on random devices. 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 |