ml2 plugin may let hyperv agents ports to build status

Bug #1224991 reported by Francois Eleouet
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Critical
Lucian Petrut

Bug Description

ml2 implementation of l2-population changed port status management workflow: when get_device_details is called on the plugin, corresponding port status is changed to "build", and agents are expected to call update_device_up/down once port details have been processed.

OVS and LB agents have been changed to update port status, but not hyperv agent, as a consequence, port plugged on hyperv agents may stay to 'build' status. Two solutions can be investigated to fix this issue:

-update_port_status plugin method should be called when port status changes to 'build'. hyperv mechanism driver would be notified and could re-set port status to 'active'

-hyperv agent could be changed to call update_device_up/down once a port has been plugged (but in that case, unchanged would still face the issue)

tags: added: hyper-v
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/48306

Changed in neutron:
assignee: nobody → Petrut Lucian (petrutlucian94)
status: New → In Progress
tags: added: havana-rc-potential
Changed in neutron:
milestone: none → havana-rc2
importance: Undecided → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/48306
Committed: http://github.com/openstack/neutron/commit/01194b356e39e3b0affca67015efb7634bf28697
Submitter: Jenkins
Branch: master

commit 01194b356e39e3b0affca67015efb7634bf28697
Author: Petrut Lucian <email address hidden>
Date: Wed Sep 25 20:07:01 2013 +0300

    Fixes port status hanging to build status

    ML2 plugin changes the port status to "build" when get_device_details
    is called. For this reason, the port status must be updated once the
    port details are processed.

    Fixes bug: #1224991

    Change-Id: I2c0321073cc07e1764fedbfbecbc844557ac6bc9

Changed in neutron:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (milestone-proposed)

Fix proposed to branch: milestone-proposed
Review: https://review.openstack.org/51139

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (milestone-proposed)

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

commit 16b501f5f0fc7577418a3d4a0d1bd62218e41d39
Author: Petrut Lucian <email address hidden>
Date: Wed Sep 25 20:07:01 2013 +0300

    Fixes port status hanging to build status

    ML2 plugin changes the port status to "build" when get_device_details
    is called. For this reason, the port status must be updated once the
    port details are processed.

    Fixes bug: #1224991

    Change-Id: I2c0321073cc07e1764fedbfbecbc844557ac6bc9
    (cherry picked from commit 01194b356e39e3b0affca67015efb7634bf28697)

Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: havana-rc2 → 2013.2
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.