← Back to team overview

touch-packages team mailing list archive

[Bug 1401141] Re: DHCP server does not work for IPoIB (Infiniband)

 

I think during the fix of:

https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1529815

I accidentally missed the following:

> +	/* Set the broadcast flag */
> +	ip->client->config->bootp_broadcast_always = 1;
> +

in find_subnet.

This comes from: dhcp-4.2.5-lpf-ib.patch in tag "dhcp-4.2.5-30.fc20" from 
pkgs.fedoraproject.org/git/rpms/dhcp.git (since all IB patches are coming
from fedora project). 

I'll review this and provide a PPA, asking for feedback.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/1401141

Title:
  DHCP server does not work for IPoIB (Infiniband)

Status in isc-dhcp package in Ubuntu:
  Fix Released
Status in isc-dhcp source package in Trusty:
  Fix Released
Status in isc-dhcp source package in Utopic:
  Fix Released
Status in isc-dhcp source package in Vivid:
  Fix Released

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-upstream-tree) were outdated.

  [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.d/isc-dhcp-server
  start” we don’t see the line that tells on which interfaces the dhcpd
  is listening on the /var/log/syslog when running it with “dhcpd –d”
  command – we do see it.

  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
                                                                     both interfaces are configured in /etc/dhcp/dhclient.conf with their dhcp-client-identifier Ib0@HOST_A, Ib1@HOST_B and Ib2@HOST_B are connected to an infiniband switch.

  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1401141/+subscriptions


References