[DVR] Deleting qrouter namespace from compute after destroying non-primary controller
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
High
|
Oleg Bondarev | ||
7.0.x |
Won't Fix
|
Medium
|
Sergii Rizvan | ||
8.0.x |
Fix Released
|
High
|
Oleg Bondarev |
Bug Description
After destroying controller with snat qrouter interface disappeared from compute with vm and there are no connection to internet from VM now
Steps to reproduce:
1) Deploy env with DVR
2) Create new net1, subnet1
3) Create DVR router1 with gateway to external net
4) Connect router with new subnet1
5) Boot vm in new net1 without floating
6) Find controller with snat for router1
7) Destroy controller with snat
8) Wait 10 min
9) Check reshedulling snat
Expected result: router is scheduled on all health controllers and compute with vm, snat was rescheduled and ping 8.8.8.8 from vm works
Current result: no qrouter interface on compute and connection to 8.8.8.8 failed
iso:
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "7.0"
openstack_
api: "1.0"
build_number: "287"
build_id: "287"
nailgun_sha: "46a7a2177a0b7e
python-
fuel-agent_sha: "082a47bf014002
fuel-
astute_sha: "a717657232721a
fuel-library_sha: "43224223dab8cf
fuel-ostf_sha: "1f08e6e7102117
fuelmain_sha: "6b83d6a6a75bf7
vxlan, 3 controllers, 2 compute
Changed in mos: | |
status: | New → Confirmed |
Trace seen in server logs:
2015-09-09 06:08:59.732 3394 ERROR neutron. db.l3_agentsche dulers_ db [req-271baca5- bad6-4bd7- a1da-9ea7a87a89 44 ] Exception encountered during router rescheduling. db.l3_agentsche dulers_ db Traceback (most recent call last): db.l3_agentsche dulers_ db File "/usr/lib/ python2. 7/dist- packages/ neutron/ db/l3_agentsche dulers_ db.py", line 121, in reschedule_ routers_ from_down_ agents db.l3_agentsche dulers_ db self.reschedule _router( context, binding.router_id) db.l3_agentsche dulers_ db File "/usr/lib/ python2. 7/dist- packages/ neutron/ db/l3_agentsche dulers_ db.py", line 265, in reschedule_router db.l3_agentsche dulers_ db self.schedule_ router( context, router_id, candidates= candidates) db.l3_agentsche dulers_ db File "/usr/lib/ python2. 7/dist- packages/ neutron/ db/l3_agentsche dulers_ db.py", line 528, in schedule_router db.l3_agentsche dulers_ db self, context, router, candidates= candidates) db.l3_agentsche dulers_ db File "/usr/lib/ python2. 7/dist- packages/ neutron/ scheduler/ l3_agent_ scheduler. py", line 358, in schedule db.l3_agentsche dulers_ db plugin, context, router_id, candidates= candidates) db.l3_agentsche dulers_ db File "/usr/lib/ python2. 7/dist- packages/ neutron/ scheduler/ l3_agent_ scheduler. py", line 240, in _schedule_router db.l3_agentsche dulers_ db self.bind_ router( context, router_id, chosen_agent) db.l3_agentsche dulers_ db File "/usr/lib/ python2. 7/dist- packages/ neutron/ scheduler/ l3_agent_ scheduler. py", line 216, in bind_router db.l3_agentsche dulers_ db context. session. add(binding) db.l3_agentsche dulers_ db File "/usr/lib/ python2. 7/dist- packages/ sqlalchemy/ orm/session. py", line 470, in __exit__ db.l3_agentsche dulers_ db self.rollback() db.l3_agentsche dulers_ db File "/usr/lib/ python2. 7/dist- packages/ sqlalchemy/ util/langhelper s.py", line 60, in __exit__ db.l3_agentsche dulers_ db compat. reraise( exc_type, exc_value, exc_tb) db.l3_agentsche dulers_ db File "/usr/lib/ python2. 7/dist- packages/ sqlalchemy/ orm/session. py", line 467, in __exit__ db.l3_agentsche dulers_ db self.commit() db.l3_agentsche dulers_ db File "/usr/lib/ python2. 7/dist- packages/ sqlalchemy/ orm/session. py", line 377, in commit db.l3_agentsche dulers_ db self._prepare_ impl() db.l3_agentsche dulers_ db File "/usr/l...
2015-09-09 06:08:59.732 3394 TRACE neutron.
2015-09-09 06:08:59.732 3394 TRACE neutron.
2015-09-09 06:08:59.732 3394 TRACE neutron.
2015-09-09 06:08:59.732 3394 TRACE neutron.
2015-09-09 06:08:59.732 3394 TRACE neutron.
2015-09-09 06:08:59.732 3394 TRACE neutron.
2015-09-09 06:08:59.732 3394 TRACE neutron.
2015-09-09 06:08:59.732 3394 TRACE neutron.
2015-09-09 06:08:59.732 3394 TRACE neutron.
2015-09-09 06:08:59.732 3394 TRACE neutron.
2015-09-09 06:08:59.732 3394 TRACE neutron.
2015-09-09 06:08:59.732 3394 TRACE neutron.
2015-09-09 06:08:59.732 3394 TRACE neutron.
2015-09-09 06:08:59.732 3394 TRACE neutron.
2015-09-09 06:08:59.732 3394 TRACE neutron.
2015-09-09 06:08:59.732 3394 TRACE neutron.
2015-09-09 06:08:59.732 3394 TRACE neutron.
2015-09-09 06:08:59.732 3394 TRACE neutron.
2015-09-09 06:08:59.732 3394 TRACE neutron.
2015-09-09 06:08:59.732 3394 TRACE neutron.
2015-09-09 06:08:59.732 3394 TRACE neutron.
2015-09-09 06:08:59.732 3394 TRACE neutron.