← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1237028] Re: Fix dhcp_release lease race condition

 

Reviewed:  https://review.openstack.org/51005
Committed: http://github.com/openstack/neutron/commit/ba99783a80ee0f92135dcfd562f3cfc9dad46d86
Submitter: Jenkins
Branch:    milestone-proposed

commit ba99783a80ee0f92135dcfd562f3cfc9dad46d86
Author: Aaron Rosen <arosen@xxxxxxxxxx>
Date:   Tue Oct 8 12:24:21 2013 -0700

    Fix dhcp_release lease race condition
    
    There is a possible race condition when delete or updating fixed_ips
    on ports where an instance could renew its ip address again after
    dhcp_release has already been executed. To fix this, the order of
    reload_allocation and release_lease need to be switched. This way an
    instance will not be able to renew it's ip address after it is
    removed from the host file.
    
    Fixes bug: 1237028
    
    Change-Id: If05ec2be507378c634f5c1856dab0fbd396f43cc


** Changed in: neutron
       Status: Fix Committed => 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/1237028

Title:
  Fix dhcp_release lease race condition

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  There is a possible race condition when delete or updating fixed_ips
  on ports where an instance could renew its ip address again after
  dhcp_release has already been executed. To fix this, the order of
  reload_allocation and release_lease need to be switched. This way an
  instance will not be able to renew it's ip address after it is removed
  from the host file.

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