l3 agent migration tests failed with l3 agent hosting router with id not found.
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Fuel for OpenStack | ||||||
8.0.x |
Fix Released
|
High
|
Oleg Bondarev | |||
Mitaka |
Fix Released
|
High
|
Oleg Bondarev | |||
Mirantis OpenStack |
Fix Released
|
High
|
Oleg Bondarev |
Bug Description
Steps:
Scenario:
1. Revert snapshot with neutron cluster
2. Create an instance with a key pair
3. Manually reschedule router from primary controller
to another one
4. Destroy controller with l3-agent
5. Check l3-agent was rescheduled
6. Check network connectivity from instance via
dhcp namespace
7. Run OSTF
Actual:
l3 agent hosting router with id:cb0cfa86-
Traceback (most recent call last):
File "/usr/lib/
testMethod()
File "/usr/lib/
self.
File "/home/
compatabili
File "/home/
func()
File "/home/
func(
File "/home/
result = func(*args, **kwargs)
File "/home/
super(
File "/home/
self.
File "/home/
result = func(*args, **kwargs)
File "/home/
" not found."
NotFound: l3 agent hosting router with id:cb0cfa86-
tags: | added: area-library |
Changed in fuel: | |
assignee: | nobody → Fuel Library Team (fuel-library) |
status: | New → Confirmed |
Changed in fuel: | |
status: | Confirmed → Triaged |
status: | Triaged → Confirmed |
tags: | added: team-bugfix |
tags: | added: swarm-blocker |
tags: |
added: area-ci removed: area-library |
tags: |
added: area-mos removed: area-ci |
tags: | removed: team-bugfix |
tags: | added: hit-hcf |
tags: | added: wait-for-stable |
affects: | fuel → mos |
Changed in mos: | |
milestone: | 9.0 → none |
milestone: | none → 9.0 |
I think it is a problem in neutron python client. If we try to remove router manually from console neutronclient - it was done:
root@node-2:~# neutron router-list ------- ------- ------- ------- ----+-- ------- -+----- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------+ ------- ------+ ------- + gateway_ info | distributed | ha | ------- ------- ------- ------- ----+-- ------- -+----- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------+ ------- ------+ ------- + 9634-41fc- a7ae-fefa04c950 30 | router04 | {"network_id": "d3be38c2- 6747-4094- ab6c-ac033bc6c2 10", "enable_snat": true, "external_ fixed_ips" : [{"subnet_id": "96961479- e144-46d7- 8186-338cb4a073 94", "ip_address": "10.109.3.128"}]} | False | False | ------- ------- ------- ------- ----+-- ------- -+----- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------+ ------- ------+ ------- +
+------
| id | name | external_
+------
| 5b2710c4-
+------
root@node-4:~# neutron router-port-list 5b2710c4- 9634-41fc- a7ae-fefa04c950 30 ------- ------- ------- ------- ----+-- ----+-- ------- ------- ---+--- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -----+ ------- ------- ------- ------- ----+-- ----+-- ------- ------- ---+--- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -----+ 8c17-438c- 96e1-9c564d68de 21 | | fa:16:3e:26:65:d9 | {"subnet_id": "1e45b5cb- f5f9-4941- a521-dd4c7f2d9d 8c", "ip_address": "10.109.4.1"} | a33e-4db1- ac85-bddc75bd8a 4b | | fa:16:3e:e2:70:6b | {"subnet_id": "96961479- e144-46d7- 8186-338cb4a073 94", "ip_address": "10.109.3.128"} | ------- ------- ------- ------- ----+-- ----+-- ------- ------- ---+--- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -----+
+------
| id | name | mac_address | fixed_ips |
+------
| e285498e-
| f873c8e2-
+------
root@node-4:~# neutron router- interface- delete 5b2710c4- 9634-41fc- a7ae-fefa04c950 30 1e45b5cb- f5f9-4941- a521-dd4c7f2d9d 8c 9634-41fc- a7ae-fefa04c950 30. interface- delete 5b2710c4- 9634-41fc- a7ae-fefa04c950 30 96961479- e144-46d7- 8186-338cb4a073 94 9634-41fc- a7ae-fefa04c950 30 has no interface on subnet 96961479- e144-46d7- 8186-338cb4a073 94
Removed interface from router 5b2710c4-
root@node-4:~# neutron router-
Router 5b2710c4-
root@node-4:~# neutron router-delete 5b2710c4- 9634-41fc- a7ae-fefa04c950 30 9634-41fc- a7ae-fefa04c950 30
Deleted router: 5b2710c4-
root@node-4:~# neutron router-list
root@node-4:~#
So it seems to be a bug in python- neutronclient. Move to mos team.