yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #59495
[Bug 1647715] [NEW] get_subnetpool() raise error when called with unset filters
Public bug reported:
get_subnetpools() from db_base_plugin_v2 is raising error when called with unset filters argument.
This is because filters are by default set to None and when calling OVO, the filters are passed as kwargs using '**':
https://github.com/openstack/neutron/blob/10.0.0.0b1/neutron/db/db_base_plugin_v2.py#L1087
It is only issue when calling directly using plugin.
Unit tests were not covering it.
API is tested and okay.
This is also affecting Newton.
** Affects: neutron
Importance: Undecided
Assignee: Artur Korzeniewski (artur-korzeniewski)
Status: In Progress
** Changed in: neutron
Assignee: (unassigned) => Artur Korzeniewski (artur-korzeniewski)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1647715
Title:
get_subnetpool() raise error when called with unset filters
Status in neutron:
In Progress
Bug description:
get_subnetpools() from db_base_plugin_v2 is raising error when called with unset filters argument.
This is because filters are by default set to None and when calling OVO, the filters are passed as kwargs using '**':
https://github.com/openstack/neutron/blob/10.0.0.0b1/neutron/db/db_base_plugin_v2.py#L1087
It is only issue when calling directly using plugin.
Unit tests were not covering it.
API is tested and okay.
This is also affecting Newton.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1647715/+subscriptions
Follow ups