Description Failed to invoke the API interface to obtain the address group list
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| neutron |
Fix Released
|
High
|
Reason li | ||
Bug Description
Call API interface:
GET /v2.0/address_
Exception log:
2023-09-28 09:05:07.951 182 ERROR futurist.periodics File "/var/lib/
2023-09-28 09:05:07.951 182 ERROR futurist.periodics context, _pager=
2023-09-28 09:05:07.951 182 ERROR futurist.periodics TypeError: get_objects() argument after ** must be a mapping, not NoyeType
2023-09-28 09:05:07.951 182 ERROR futurist.periodics
View code:
...
def get_address_
pager = base_obj.
solution:
You need to add that you can judge whether the filters are None before using **filters
Add code:
filters = filters or {}
| Changed in neutron: | |
| assignee: | nobody → Reason li (lireason) |
| Changed in neutron: | |
| status: | New → In Progress |
| Changed in neutron: | |
| importance: | Undecided → High |
| tags: | added: backport-potential |

Related patch: https:/ /review. opendev. org/c/openstack /neutron/ +/896649