[SRU] python-neutronclient 1:2.3.11 + long request URI's don't work with Kilo
Bug #1479496 reported by
David Medberry
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-neutronclient (Ubuntu) |
Fix Released
|
High
|
James Page | ||
Vivid |
Fix Released
|
High
|
Unassigned | ||
Wily |
Fix Released
|
High
|
James Page |
Bug Description
[Impact]
Users with any number of networks and routers are unable to query the neutron api due to the large size of the request URI being made.
[Test Case]
See original bug report
[Regression Potential]
Minimal; fixes regression in behaviour in neutronclient 2.3.11.
[Original bug report]
python-
In a network with 80+ networks and routers
returns an error with:
[DEV] root@bfd02-
Request URI Too Long
See attached file for output from: neutron --debug net-list
A quick check with venv pip install indicates 2.6.0 works fine.
Changed in python-neutronclient (Ubuntu): | |
importance: | Undecided → High |
Changed in python-neutronclient (Ubuntu Vivid): | |
status: | New → Fix Released |
importance: | Undecided → High |
summary: |
- python-neutronclient 1:2.3.11 doesn't work with Kilo + python-neutronclient 1:2.3.11 + long request URI's don't work with Kilo |
description: | updated |
Changed in python-neutronclient (Ubuntu Wily): | |
status: | In Progress → Fix Released |
To post a comment you must log in.
[DEV] root@bfd02- control- 001:~# neutron --debug net-list session REQ: curl -g -i -X GET http:// bfd02-internal. os.cloud. twc.net: 5000/v2. 0/ -H "Accept: application/json" -H "User-Agent: python- keystoneclient" session RESP: [200] content-length: 348 vary: X-Auth-Token server: Apache/2.4.7 (Ubuntu) connection: close date: Wed, 29 Jul 2015 19:44:36 GMT x-openstack- request- id: req-42db0f8e- e7f8-4c72- b63d-6e5c1f76f8 62 content-type: application/json x-distribution: Ubuntu 17T00:00: 00Z", "media-types": [{"base": "application/json", "type": "application/ vnd.openstack. identity- v2.0+json" }], "id": "v2.0", "links": [{"href": "http:// bfd02.os. cloud.twc. net:5000/ v2.0/", "rel": "self"}, {"href": "http:// docs.openstack. org/", "type": "text/html", "rel": "describedby"}]}}
DEBUG: keystoneclient.
DEBUG: keystoneclient.
RESP BODY: {"version": {"status": "stable", "updated": "2014-04-
DEBUG: stevedore.extension found extension EntryPoint. parse(' table = cliff.formatter s.table: TableFormatter' ) parse(' csv = cliff.formatter s.commaseparate d:CSVLister' ) neutron. v2_0.network. ListNetwork get_data( Namespace( columns= [], fields=[], formatter='table', max_width=0, page_size=None, quote_mode= 'nonnumeric' , request_ format= 'json', show_details=False, sort_dir=[], sort_key=[])) auth.identity. v2 Making authentication request to http:// bfd02.os. cloud.twc. net:5000/ v2.0/tokens session REQ: curl -g -i -X GET http:// bfd02.os. cloud.twc. net:9696/ v2.0/networks. json -H "User-Agent: python- neutronclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}2197b6b3c f2efe0c97e40a4f f5dc879e811b338 0" session RESP: [200] date: Wed, 29 Jul 2015 19:44:38 GMT connection: keep-alive content-type: application/json; charset=UTF-8 content-length: 102252 x-openstack- request- id: req-d5d3e4d2- dde2-40f8- a917-44af7045cd 98 951e-41eb- 8e0b-b1d531532b 77"], "name": "dwm2-net-41", "provider: physical_ network" : null, "router:external": false, "tenant_id": "d29c77bdbdde4e 159d490dc7cc8ff 3f5", "admin_state_up": true, "provider: network_ type": "vxlan", "shared": false, "port_security_ enabled" : true, "mtu": null, "id": "003b01f6- f97a-415f- 9b80-5ba73eed0e de", "provider: segmentation_ id": 5226}, {"status": "ACTIVE", "subnets": ["9e11277b- 37c3-4453- 9632-67898b842a 07"], "name": "dwm-net-23", "provider: physical_ network" : null, "router:external": false, "tenant_id": "d29c77bdbdde4e 159d490dc7cc8ff 3f5", "admin_state_up": true, "provider: network_ type": "vxlan", "shared": false, "port_security_ enabled" : true, "mtu": null, "id": "006a0886- 277b-41a0- a989-c277de374d 31", "provider: segmentation_ id": 5098}, {"status": "ACTIVE", "subnets": ["ceef02a3- 0a1e-4c7f- 83fe-eee95c7756 56"], "name": "dwm-net-7", "provider: physical_ network" : null, "router:external": false, "tenant_id": "d29c77bdbdde4e 159d490dc7cc8ff 3f5", "admin_state_up": true, "provider: network_ type": "vxlan", "shared": false, "port_security_ enabled" : true, "mtu": null, "id": "01ef6e08- 701a-4b24- 9782-270c33e571 c5", "provider: segmentation_ id": 5082}, {"status": "ACTIVE", "subnets...
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: neutronclient.
DEBUG: keystoneclient.
DEBUG: keystoneclient.
DEBUG: keystoneclient.
RESP BODY: {"networks": [{"status": "ACTIVE", "subnets": ["ad0fd0a0-