← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1670524] Re: auto allocate external network callback changes is_default

 

Reviewed:  https://review.openstack.org/442219
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=ea27e1aa1ed7ad802d1167c1c80ae51fcd5cee99
Submitter: Jenkins
Branch:    master

commit ea27e1aa1ed7ad802d1167c1c80ae51fcd5cee99
Author: Armando Migliaccio <armamig@xxxxxxxxx>
Date:   Mon Mar 6 16:47:25 2017 -0800

    Update is_default field only when specified in the request
    
    Closes-bug: 1670524
    
    Change-Id: Ie46fe7126693bcf6732332a479f4b2609c402c5d


** 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/1670524

Title:
  auto allocate external network callback changes is_default

Status in neutron:
  Fix Released

Bug description:
  The code at [1] always gets executed on a network update so if you
  perform a network update to update something unrelated to the
  'is_default' column, 'is_default' will be changed to False. So
  completely unrelated network updates end up clearing the is_default
  value.

  
  1. https://github.com/openstack/neutron/blob/ca751a1486812e498d9539980d8cd7bf6d7ebab7/neutron/services/auto_allocate/db.py#L68-L70

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


References