neutron net-list bad request on large number of networks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Committed
|
High
|
Sergey Kolekonov |
Bug Description
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "6.0"
api: "1.0"
build_number: "156"
build_id: "2014-10-
astute_sha: "6a11a7c481d116
fuellib_sha: "af2bf11d4a3a07
ostf_sha: "de177931b53fbe
nailgun_sha: "f4bf25da24c4e5
fuelmain_sha: "dab17913263bbe
OpenStack contains 1796 networks. Command 'neutron net-list' fails:
(.venv)
Bad Request (HTTP 400)
In debug mode the command shows huge response with the list of networks followed by request "curl -i -X GET http://
Stacktrace:
DEBUG: keystoneclient.
DEBUG: keystoneclient.
ERROR: neutronclient.shell Bad Request (HTTP 400)
Traceback (most recent call last):
File "/opt/stack/
return run_command(cmd, cmd_parser, sub_argv)
File "/opt/stack/
return cmd.run(known_args)
File "/opt/stack/
return super(OpenStack
File "/opt/stack/
column_names, data = self.take_
File "/opt/stack/
return self.get_
File "/opt/stack/
self.
File "/opt/stack/
_get_
File "/opt/stack/
**search_
File "/opt/stack/
ret = self.function(
File "/opt/stack/
**_params)
File "/opt/stack/
for r in self._paginatio
File "/opt/stack/
res = self.get(path, params=params)
File "/opt/stack/
headers=
File "/opt/stack/
headers=
File "/opt/stack/
content_
File "/opt/stack/
return self.request(url, method, **kwargs)
File "/opt/stack/
return self._request(url, method, body=body, headers=headers, **kwargs)
File "/opt/stack/
**kwargs)
File "/opt/stack/
return func(*args, **kwargs)
File "/opt/stack/
raise exceptions.
BadRequest: Bad Request (HTTP 400)
At the same time UI shows list of networks correctly (contrversary to https:/
Changed in mos: | |
milestone: | none → 6.0 |
tags: | added: scale |
Changed in mos: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in mos: | |
importance: | Medium → High |
assignee: | MOS Neutron (mos-neutron) → Sergey Kolekonov (skolekonov) |
Changed in mos: | |
status: | Confirmed → In Progress |
Changed in mos: | |
status: | In Progress → Fix Committed |
(.venv) developer@ fuel:stack$ neutron subnet-list | wc -l
1153