yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #48716
[Bug 1535707] Re: Create router with external network attached doesn't notify l3 agent
Reviewed: https://review.openstack.org/290470
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=da00d1a186c55c91887c9546e893f6d075a2c2ad
Submitter: Jenkins
Branch: master
commit da00d1a186c55c91887c9546e893f6d075a2c2ad
Author: Andreas Scheuring <andreas.scheuring@xxxxxxxxxx>
Date: Wed Mar 9 13:56:22 2016 +0100
l3: Send notify on router_create when ext gw is specified
A router that got created with an external gateway specified now
triggers a notfiy_router_updated event. This triggers scheduling
of the router and creation of the network namespace on the target
node.
Change-Id: I7f6ff5edf6a9c5ffa6d8978c1f3de0e106b6a8bb
Closes-Bug: #1535707
** 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/1535707
Title:
Create router with external network attached doesn't notify l3 agent
Status in OpenStack Dashboard (Horizon):
Fix Released
Status in neutron:
Fix Released
Bug description:
Description of problem:
======================
When creating a router with an external network attached, the q-l3 agent does not get triggered.
Steps to Reproduce via GUI:
==========================
1. Go to Project-> Network -> Routers
2. Click Create Router
3. Input name, Admin state UP and select an External Network from the list
Steps to Reproduce via CLI:
# neutron router-create router4 --external_gateway_info type=dict network_id=<ext-network-id>
Actual results:
==============
Router gets created but no router namespace gets created on the controller. The q-l3 is not getting triggered.
There's no entry in the "routerl3agentbindings" table
mysql: select * from routerl3agentbindings
Deleting the port from the router using neutron port-delete results in a DB error
"DBError: (IntegrityError) (1451, 'Cannot delete or update a pare
nt row: a foreign key constraint fails (`neutron`.`routers`, CONSTRAINT `routers_ibfk_1` FOREIGN KEY (`gw_port_id`) REFERENC
ES `ports` (`id`))') 'DELETE FROM ports WHERE ports.id = %s' ('76573418-f9ff-4f2d-8ffb-d0a200f7f1ea',)"
--> More details see duplicate bug!
Expected results:
=================
Router namespace gets created on the controller with an IP assigned from the selected external network.
The l3 agent get's triggered
Deletion of the port should fail with
"Port cd885903-ca26-445e-848b-a65dc4a0811c cannot be deleted directly via the port API: has device owner network:router_gateway."
Additional info:
===============
If I don't select the external network in the Create Router form when I create it and attach it to the external network afterwards by using the set gateway button then everything is ok.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1535707/+subscriptions
References