midonet ml2 mech driver does not update port status properly

Bug #1507453 reported by Ryu Ishimoto
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
networking-midonet
Confirmed
High
Unassigned

Bug Description

ML2 sets the port status to 'DOWN' by default. For logical ports such as router interface and gateway port, the statuses should be set to ACTIVE upon success of the Neutron->MidoNet translation. In the future, MidoNet will support a better mechanism to update the status (either by the MidoNet cluster updating the status field or the plugin querying the cluster for the status). For now, set it to ACTIVE since the DOWN status is more likely to give the wrong impression of the reality.

Changed in networking-midonet:
importance: Undecided → Medium
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :
Changed in networking-midonet:
milestone: 1.0.0 → 1.0.1
Kengo Hobo (hobo-kengo)
Changed in networking-midonet:
assignee: Ryu Ishimoto (ryu-midokura) → Kengo Hobo (hobo-kengo)
Changed in networking-midonet:
milestone: 1.1.0 → 3.0.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to networking-midonet (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/350820

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to networking-midonet (master)

Reviewed: https://review.openstack.org/350820
Committed: https://git.openstack.org/cgit/openstack/networking-midonet/commit/?id=dd53f014f7011d2e33c31daf013d5229c5be09c3
Submitter: Jenkins
Branch: master

commit dd53f014f7011d2e33c31daf013d5229c5be09c3
Author: YAMAMOTO Takashi <email address hidden>
Date: Thu Aug 4 07:57:43 2016 +0900

    devstackgaterc: Skip test_router_interface_status for ML2

    We currently never update status of purely logical ports
    (in MidoNet term, interior ports) like router interfaces.
    It ought to be fixed, but in case of ML2 it needs some mechanism
    in ML2 driver api. [1]
    For now, just skip the relevant test.

    [1] Something like https://review.openstack.org/#/c/336068/

    Closes-Bug: #1608796
    Related-Bug: #1507453
    Change-Id: Ie0123333edfbb9681f166519cbd6d7d8dae5f2ae

Changed in networking-midonet:
milestone: 3.0.0 → 4.0.0
Revision history for this message
Sam Morrison (sorrison) wrote :

Just wondering if anyone is working on this. This is the number 1 confusion for our users and I'd really like a fix.

Even if that fix was to say it was ACTIVE all the time as opposed to DOWN all the time.

Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :

Sam,

to fix it properly, there needs an api for MDs to report port status.
eg. https://review.openstack.org/#/c/336068/
it will likely be one of the ML2 topics for the next PTG.

Changed in networking-midonet:
milestone: 4.0.0 → none
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :

i occasionally see reports about this. maybe it's more important for users than i thought.

Changed in networking-midonet:
assignee: Kengo Hobo (hobo-kengo) → nobody
importance: Medium → High
tags: added: midokura-jira-tracked
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.