← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1811639] Re: virtual machine cannot get DHCP (DHCPv6) lease for IPV6 due to packet has no checksum.

 

Reviewed:  https://review.openstack.org/630297
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=26eb2509fea632e67ffabcc15195cc13ee02bf68
Submitter: Zuul
Branch:    master

commit 26eb2509fea632e67ffabcc15195cc13ee02bf68
Author: Bence Romsics <bence.romsics@xxxxxxxxxxxx>
Date:   Fri Jan 11 16:08:53 2019 +0100

    Always fill UDP checksums in DHCPv6 replies
    
    Bug #1244589 re-appeared for IPv6.
    
    This change adds an ip6tables rule to fix the checksum of DHCPv6
    response packets. Those checksums were left unfilled by virtio (as a
    hypervisor internal optimization), but some picky dhcp clients (AFAIU
    particularly ISC dhclient) try verifying the checksums, so they fail
    to acquire an address if the checksums are left incorrect.
    
    Change-Id: I4a045e0dcfcbd3c7959a78f1460d5bf7da0252ff
    Closes-Bug: #1811639
    Related-Bug: #1244589


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1811639

Title:
  virtual machine cannot get DHCP (DHCPv6) lease for IPV6 due to packet
  has no checksum.

Status in neutron:
  Fix Released

Bug description:
  if virtual machine are using virtio driver and switch vhost_net on,
  then virtual machine cannot get DHCPv6 lease because the DHCPv6  packet
  has no checksum and the kernel of virtual machine will drop those packet.
  So we should fill checksum before we pass the DHCPv6 packet to virtual machine.
  Similar bug for IPV4 (https://bugs.launchpad.net/neutron/+bug/1244589)is raised and fixed as part of commit:
    
  https://review.openstack.org/#/c/148718/8/neutron/agent/linux/dhcp.py

  This functionality need to support for IPV6 as well and should cover both IPV6 stateless and state full address
  management cases.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1811639/+subscriptions


References