Neutron with NSX plugin generates an error when adding of interface to external network to tenants router
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vmware-nsx |
New
|
Undecided
|
Unassigned |
Bug Description
Neutron server with NSX core plugin throws UnboundLocalError when operator tries
to add interface to router into external network.
Scenario for reproduction:
1. Create External network and subnet for it
$ neutron net-create --router:external --provider:
$ neutron subnet-create --name ExtSubnet --allocation-pool start=172.
2. Create tenant router and add interface to it in External network
$ neutron router-create Admin-router --router_type shared
$ neutron router-
Request Failed: internal server error while processing your request
Nevertheless Horizon 'Network topology' view shows that router is connected to External network.
Environment: vCenter 5.5, NSX 6.1.4, Neutron NSX plugin tag 2015.1.2 (3de8db42e33150
Neutron log shows a traceback
2015-10-08 11:32:59.876 25187 INFO neutron.wsgi [-] (25187) accepted ('192.168.0.2', 45302)
2015-10-08 11:32:59.880 25187 INFO neutron.wsgi [-] 192.168.0.2 - - [08/Oct/2015 11:32:59] "OPTIONS / HTTP/1.0" 200 262 0.001621
2015-10-08 11:33:00.214 25188 ERROR neutron.
2015-10-08 11:33:00.214 25188 TRACE neutron.
2015-10-08 11:33:00.214 25188 TRACE neutron.
2015-10-08 11:33:00.214 25188 TRACE neutron.
2015-10-08 11:33:00.214 25188 TRACE neutron.
2015-10-08 11:33:00.214 25188 TRACE neutron.
2015-10-08 11:33:00.214 25188 TRACE neutron.
2015-10-08 11:33:00.214 25188 TRACE neutron.
2015-10-08 11:33:00.214 25188 TRACE neutron.
2015-10-08 11:33:00.214 25188 TRACE neutron.
2015-10-08 11:33:00.214 25188 TRACE neutron.
, in add_router_
2015-10-08 11:33:00.214 25188 TRACE neutron.
2015-10-08 11:33:00.214 25188 TRACE neutron.
terface
2015-10-08 11:33:00.214 25188 TRACE neutron.
2015-10-08 11:33:00.214 25188 TRACE neutron.
2015-10-08 11:33:00.214 25188 TRACE neutron.
Neutron server reports itself as
root@node-1:~# neutron-server --version
neutron-server 2015.1.1