auto allocate external network callback changes is_default

Bug #1670524 reported by Kevin Benton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Armando Migliaccio

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

Changed in neutron:
assignee: nobody → Armando Migliaccio (armando-migliaccio)
importance: Undecided → High
Changed in neutron:
status: New → Confirmed
tags: added: auto-allocated-topology
Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/442219

Changed in neutron:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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 <email address hidden>
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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 11.0.0.0b1

This issue was fixed in the openstack/neutron 11.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.