DHCP server does not work for IPoIB (Infiniband)
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | isc-dhcp (Ubuntu) |
Undecided
|
Rafael David Tinoco | ||
| | Trusty |
Undecided
|
Rafael David Tinoco | ||
| | Utopic |
Undecided
|
Rafael David Tinoco | ||
| | Vivid |
Undecided
|
Rafael David Tinoco | ||
Bug Description
[Impact]
* DHCP for InfiniBand IPoIB does not work currently.
* After providing missing GPXE patch it had problems (by Mellanox tests).
* IPoIB patches from Fedora project (out-of-
[Test Case]
* To have IPoIB devices (2 if possible)
* Try to acquire IP using either DHCPv4 or DHCPv6
[Regression Potential]
* DHCP for InfiniBand was not working
* Based on already implemented code (Fedora)
* Mellanox has tested it
[Other Info]
Original BUG description:
Release: Ubuntu 14.04.1 LTS
Version: 4.2.4-7ubuntu12
The current DHCP package in Ubuntu can't handle IPoIB clients. For IB, Mellanox uses IPoIB, which is “Eth emulator” for the control path. DHCP is not working in this mode without a patch for DHCP server.
ISC-DHCP-SERVER Missing GPXE patch.
After applying GPXE patch only we faced the following problems:
After apply
1.
dhcp ipoib, does not write in the log on which interface the dhcp work upon when starting the dhcp server using “/etc/init.
2.
dhcp ipoib ipv6, it did not provide ip6 when we start 2 ib interfaces in a parallel using the following setup:
HOST_A:
acting as a dhcp server, listening on one of its
ipoib (ib0) interfaces.
HOST_B:
running dhcp clients on two ipoib interfaces (ib1, ib2) ib1
and ib2 are two ports onf the same HCA both interfaces are
configured in /etc/interfaces such as:
auto ib1
iface ib1 inet6 dhcp
We are running on the client (HOST_B) the following:
$ ifup ib1
-> ib1 get configured as expected
but then when we run on the other interface:
$ ifup ib2
-> ib2 get configured, but ib1 is losing its configuration
| Changed in isc-dhcp (Ubuntu): | |
| assignee: | nobody → Rafael David Tinoco (inaddy) |
| Rafael David Tinoco (inaddy) wrote : | #2 |
Tks Mathieu,
Description was made based on a "fast look" into what was needed.
Thank you very much for your comment. I'll work on that as soon as I get some free time.
Feel free to provide any other comment that might be useful to this.
| Changed in isc-dhcp (Ubuntu): | |
| status: | New → In Progress |
| Brian Fromme (brianfromme) wrote : | #3 |
From Mellanox.
gpxe patch (http://
| Rafael David Tinoco (inaddy) wrote : | #4 |
Hello Brian, sorry I was out due to end-of-year holidays + vacation :o).
I'll be providing them a hotfixed dhcp server and asking for SRU sponsorship soon.
Tks
| Rafael David Tinoco (inaddy) wrote : | #5 |
I've provided the following PPA:
https:/
# add-apt-repository ppa:inaddy/
# apt-get update
# apt-get install isc-dhcp-server
(make sure to have version 4.2.4-7ubuntu13
Could you please test and provide feedback if GPXE patch solves the issue ?
If it does I'll work together with sponsors to provide SRU to isc-dhcp-server package.
Thank you
Tinoco
| summary: |
- IPoIB does not work on Ubuntu due to DHCP + DHCP server does not work for IPoIB (Infiniband) |
| Kamal Heib (kamalh-s) wrote : | #6 |
Hi Rafael,
The issue verified with 4.2.4-7ubuntu13
Thanks,
Kamal
| Rafael David Tinoco (inaddy) wrote : | #7 |
Kamal,
Sorry does that mean the issue was fixed or the issue is still there ? We are finishing setting our IB environment here and I'll be able to test it myself, just wanted to clarify meanwhile.
Thank you
Rafael Tinoco
| Kamal Heib (kamalh-s) wrote : | #8 |
Hi Rafael,
I sorry about the misunderstanding, The issue fixed.
Thanks,
Kamal
| Rafael David Tinoco (inaddy) wrote : | #9 |
Awesome!! I'll clarify what was done in this bug case and ask for the fix to be accepted as a "Stable Release Update" for our isc-dhcp-package (showing that our IB support was broken). I may need you to "verify" the fix after it gets released to -proposed.
Thank you
Rafael
| description: | updated |
| description: | updated |
| Rafael David Tinoco (inaddy) wrote : | #10 |
Providing debdiff for Trusty (fixes the issue)
| Rafael David Tinoco (inaddy) wrote : | #11 |
Providing debdiff for Utopic (fixes the issue)
| Rafael David Tinoco (inaddy) wrote : | #12 |
isc-dhcp-server | 4.2.4-7ubuntu12 | trusty | amd64, arm64, armhf, i386, powerpc, ppc64el
isc-dhcp-server | 4.2.4-7ubuntu14 | utopic | amd64, arm64, armhf, i386, powerpc, ppc64el
I'll have to adequate the backport to Vivid:
isc-dhcp-server | 4.3.1-5ubuntu2 | vivid | amd64, arm64, armhf, i386, powerpc, ppc64el
Will provide the merge proposal soon.
The attachment "trusty_
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]
| tags: | added: patch |
| Rafael David Tinoco (inaddy) wrote : | #14 |
Fixed utopic SRU patch and attached it again.
| Rafael David Tinoco (inaddy) wrote : | #15 |
Attaching fix for Vivid.
Asking for sponsorship and for the Stable Release Update to be accepted.
Thank you
Rafael Tinoco
| Launchpad Janitor (janitor) wrote : | #16 |
This bug was fixed in the package isc-dhcp - 4.3.1-5ubuntu3
---------------
isc-dhcp (4.3.1-5ubuntu3) wily; urgency=medium
[ Rafael David Tinoco (Inaddy) ]
* replaced broken IB support with working one (LP: #1401141)
* removed:
- d/p/infiniband_lpf
- d/p/infiniband_
* added:
+ d/p/dhcp-
+ d/p/dhcp-
+ d/p/dhcp-
+ d/p/dhcp-
-- Mathieu Trudel-Lapierre <email address hidden> Mon, 11 May 2015 14:23:41 -0400
| Changed in isc-dhcp (Ubuntu): | |
| status: | In Progress → Fix Released |
| Rafael David Tinoco (inaddy) wrote : | #17 |
I'm reattaching debdiff for Trusty since a version was uploaded to -proposed while this was waiting for sponsorship. Please include Trusty in the "affected" list and consider this patch, being attached, as the fix for Trusty.
Thank you
Rafael Tinoco
| Changed in isc-dhcp (Ubuntu Trusty): | |
| milestone: | none → ubuntu-14.04.3 |
| Launchpad Janitor (janitor) wrote : | #18 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in isc-dhcp (Ubuntu Trusty): | |
| status: | New → Confirmed |
| Changed in isc-dhcp (Ubuntu Utopic): | |
| status: | New → Confirmed |
| Changed in isc-dhcp (Ubuntu Vivid): | |
| status: | New → Confirmed |
| Changed in isc-dhcp (Ubuntu Trusty): | |
| assignee: | nobody → Rafael David Tinoco (inaddy) |
| Changed in isc-dhcp (Ubuntu Utopic): | |
| assignee: | nobody → Rafael David Tinoco (inaddy) |
| Changed in isc-dhcp (Ubuntu Vivid): | |
| assignee: | nobody → Rafael David Tinoco (inaddy) |
| James Page (james-page) wrote : | #21 |
Updates for trusty, utopic and vivid uploaded to proposed for SRU team review.
Hello Brian, or anyone else affected,
Accepted isc-dhcp into trusty-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Changed in isc-dhcp (Ubuntu Trusty): | |
| status: | Confirmed → Fix Committed |
| tags: | added: verification-needed |
| Changed in isc-dhcp (Ubuntu Utopic): | |
| status: | Confirmed → Fix Committed |
| Chris J Arges (arges) wrote : | #23 |
Hello Brian, or anyone else affected,
Accepted isc-dhcp into utopic-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Changed in isc-dhcp (Ubuntu Vivid): | |
| status: | Confirmed → Fix Committed |
| Chris J Arges (arges) wrote : | #24 |
Hello Brian, or anyone else affected,
Accepted isc-dhcp into vivid-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Rafael David Tinoco (inaddy) wrote : | #25 |
I have tested ISC-DHCP for Trusty, Utopic & Vivid for InfiniBand IPoIB and it is working as expected.
Flagging as "verification-
| tags: |
added: verification-done removed: verification-needed |
| Launchpad Janitor (janitor) wrote : | #26 |
This bug was fixed in the package isc-dhcp - 4.2.4-7ubuntu14.1
---------------
isc-dhcp (4.2.4-7ubuntu14.1) utopic; urgency=medium
* Replaced broken IB support with working one (LP: #1401141):
- removed:
+ d/p/infiniband_lpf
+ d/p/infiniband_
- added:
+ d/p/dhcp-
+ d/p/dhcp-
+ d/p/dhcp-
+ d/p/dhcp-
-- Rafael David Tinoco (Inaddy) <email address hidden> Tue, 02 Jun 2015 15:14:52 +0100
| Changed in isc-dhcp (Ubuntu Utopic): | |
| status: | Fix Committed → Fix Released |
The verification of the Stable Release Update for isc-dhcp has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.
| Launchpad Janitor (janitor) wrote : | #28 |
This bug was fixed in the package isc-dhcp - 4.3.1-5ubuntu2.2
---------------
isc-dhcp (4.3.1-5ubuntu2.2) vivid; urgency=medium
* Replaced broken IB support with working one (LP: #1401141):
- removed:
+ d/p/infiniband_lpf
+ d/p/infiniband_
- added:
+ d/p/dhcp-
+ d/p/dhcp-
+ d/p/dhcp-
+ d/p/dhcp-
-- Rafael David Tinoco (Inaddy) <email address hidden> Tue, 02 Jun 2015 15:34:42 +0100
| Changed in isc-dhcp (Ubuntu Vivid): | |
| status: | Fix Committed → Fix Released |
| Launchpad Janitor (janitor) wrote : | #29 |
This bug was fixed in the package isc-dhcp - 4.2.4-7ubuntu12.3
---------------
isc-dhcp (4.2.4-7ubuntu12.3) trusty; urgency=medium
* Replaced broken IB support with working one (LP: #1401141):
- removed:
+ d/p/infiniband_lpf
+ d/p/infiniband_
- added:
+ d/p/dhcp-
+ d/p/dhcp-
+ d/p/dhcp-
+ d/p/dhcp-
-- Rafael David Tinoco (Inaddy) <email address hidden> Tue, 02 Jun 2015 14:26:37 +0100
| Changed in isc-dhcp (Ubuntu Trusty): | |
| status: | Fix Committed → Fix Released |
| Rafael David Tinoco (inaddy) wrote : | #30 |
I received good feedback from a User by email:
"""
Dear sir,
A couple of days ago I ran a manual update on Zorin OS 9 32 bits (based on Ubuntu 14.04 LTS).
The only update offered at that time was isc-dhcp.
How interesting, I thought ... will this fix my WIFI connection problems?
I think it did!
Before the update, reconnecting automatically to an existing WIFI connection could take a long time. Sometimes about 10 minutes. As far as I remember, connection after a clean reboot was usually normal, but there were problems after the system was suspended or hibernated. I did not investigate the problem thouroughly, but I noticed that most people with this kind of problem blame energy management.
After the update of isc-dhcp, my system reconnects almost instantly.
....
Thanks for the update(s),
--
Hans van der Weij
"""
It looks like this fix also fixed possible regression in isc-dhcp. Posting here for documentation, hope Hans does not mind.
Thank you
Rafael Tinoco
| Rafael David Tinoco (inaddy) wrote : | #31 |
I think during the fix of:
https:/
I accidentally missed the following:
> + /* Set the broadcast flag */
> + ip->client-
> +
in find_subnet.
This comes from: dhcp-4.
pkgs.fedoraproj
from fedora project).
I'll review this and provide a PPA, asking for feedback.


This is actually a little misleading; in that document they are talking about DHCP, but without specifying which DHCP server software. We normally ship isc-dhcp; so the version number in that document would be wrong, since we're now at 4.2.4 (as per the bug description).
As I understand it we already have two of the three required patches for infiniband support (see https:/ /lists. isc.org/ pipermail/ dhcp-users/ 2013-April/ 016653. html); only missing the gpxe-cid patch, along with an additional fix for a segfault that was found afterwards.
As far as I can see we don't have the gpxe CID or segfault fixes in vivid either, so they should land there first before being SRU to 14.04.