Issues with clearing routers in OSTF tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Tatyanka | ||
6.0.x |
Fix Committed
|
High
|
Tatyanka |
Bug Description
When running OSTF tests with Neutron network there are errors appearing in ostf log:
2015-02-06 13:20:53 DEBUG (neutronmanager) Traceback (most recent call last):
File "/usr/lib/
cls.
TypeError: unbound method _remove_router() must be called with TestNeutron instance as first argument (got unicode instance instead)
2015-02-06 13:20:53 DEBUG (neutronmanager) Traceback (most recent call last):
File "/usr/lib/
cls.
TypeError: unbound method _remove_subnet() must be called with TestNeutron instance as first argument (got dict instance instead)
2015-02-06 13:20:53 DEBUG (neutronmanager) Traceback (most recent call last):
File "/usr/lib/
cls.
TypeError: unbound method _remove_network() must be called with TestNeutron instance as first argument (got dict instance instead)
This is because wrong this _clear_network [1] which is a classmethod calls instance methods [2]. This may cause to pollute environment with routers, networks and subntes created in OSTF tests.
[1] https:/
[2] https:/
Changed in fuel: | |
status: | New → Confirmed |
Changed in fuel: | |
assignee: | Fuel QA Team (fuel-qa) → Tatyanka (tatyana-leontovich) |
status: | Confirmed → In Progress |
Fix proposed to branch: master /review. openstack. org/168322
Review: https:/