nvp test_routers test suite fail due to KeyError 'distributed'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Armando Migliaccio |
Bug Description
We use nvp 2.2, python 2.6, Oracle Linux 6.3, if it matters.
The tempest fail when executing any of 3 tests defined in test_routers suite.
1. test_add_
2. test_add_
3. test_create_
The tempest fail with following error:
Details: {"NeutronError": "Request Failed: internal server error while processing your request."}
The neutron.log says:
2013-09-03 18:45:43,004 (neutron.
Traceback (most recent call last):
File ".../python2.
result = method(
File ".../python2.
obj = obj_creator(
File ".../python2.
KeyError: 'distributed'
We have not defined default_router_type in our config files. I'd presume, it use centralized router type, by default. In such case, possibly the lrouter doesn't have 'distribtued' key defined. We should possibly check if key exist, before accessing it.
OTOH, if it's not supposed to work with nvp 2.2, let me know a workaround to fix tempest execute these test cases.
In case you need more info, let me know.
Changed in neutron: | |
status: | Invalid → Incomplete |
assignee: | nobody → Salvatore Orlando (salvatore-orlando) |
Changed in neutron: | |
status: | Incomplete → Confirmed |
assignee: | Salvatore Orlando (salvatore-orlando) → Armando Migliaccio (armando-migliaccio) |
Changed in neutron: | |
milestone: | none → havana-rc1 |
importance: | Undecided → Medium |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | havana-rc1 → 2013.2 |
Um...I am straw here; this patch:
https:/ /review. openstack. org/#/c/ 41795/
The functionality worked from NVP 3.2 onwards and return BadRequest for anything lower.
Can you provide more information on what version of neutron you're running?