Admin add/delete router interface will get error

Bug #1616761 reported by Hong Hui Xiao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DragonFlow
In Progress
Medium
Hong Hui Xiao

Bug Description

With a newly deployed devstack(ml2 mech_drvier enabled), I want to add a router interface to the router1. My login tenant/user is admin admin. However, I get error [1]. The same behavior will have no error in legacy neutron.

After checking the DB, router is in the lrouter table of df db. But it is in the demo tenant, while the new router interface will be in admin tenant. So there will be no result at code [2].

Dragonflow should not restrict router and router_port in one tenant, as neutron already checked the tenant/admin relationship. If router_port is created in neutron db, it should also be created in df.

[1] http://paste.openstack.org/show/563268/
[2] https://github.com/openstack/dragonflow/blob/d262cdb29854d9ad6661a4050397f20cf3113579/dragonflow/db/api_nb.py#L534

Hong Hui Xiao (xiaohhui)
Changed in dragonflow:
assignee: nobody → Hong Hui Xiao (xiaohhui)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to dragonflow (master)

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

Changed in dragonflow:
status: New → In Progress
Li Ma (nick-ma-z)
Changed in dragonflow:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on dragonflow (master)

Change abandoned by Sean McGinnis (<email address hidden>) on branch: master
Review: https://review.opendev.org/360404

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.