← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1393655] [NEW] An unknown exception "Unable to connect to Neutro" occurred when clicked panel "Instances" in openstack dashboard

 

Public bug reported:

An unknown exception "Unable to connect to Neutro" occurred when clicked
panel "Instances" in openstack dashboard

We created multi instances and each instance take several ports, then
click the panel "Instances" in Openstack dashborad, the exception
"Unable to connect to Neutro" occurred.

Please see below log:

2014-11-18 01:52:26,895 49960 ERROR neutronclient.v2_0.client tonyaw self.httpclient.endpoint_url = http://135.252.135.193:9696/ action=/v2.0/floatingips.json?port_id=02657989-8557-453c-9c46-1ac31997e885&port_id=03796381-2327-442f-bd03-3cdb010ea2fc&port_id=040f7540-d69a-4321-88d5-fb8a395384dd&port_id=04909a94-951b-4849-bb32-2e4eef7741c4&port_id=05cfd928-f247-43ea-83ac-78b3a700cc55&port_id=086f2d3e-3645-49c7-a60b-a91c09a904cc&port_id=09d15de1-7443-479a-ab5d-134882346327&port_id=0a4e82fe-2082-414f-a730-bb961b0a3635&port_id=0bf69eb1-d3eb-4898-8349-23ed8817dbd3&port_id=0d4a0619-29e6-48fe-b3e0-fdeff916fb37&port_id=0ec9a2f5-fb4c-4082-a1c5-64323e1b1128&port_id=1093b544-ef33-461d-87f0-03a679bfa8c0&port_id=12b25c6e-06da-43f4-9eaa-d8e421d7a0a4&port_id=13144a2f-b1b6-45d2-a2fc-a3c1933c3e4b&port_id=14b6ddbf-bee2-4b19-832d-ffb35d99f723&port_id=16cd469d-8387-4092-abd7-e0e6c09574fd&port_id=180611a5-7007-4fb4-bb85-fa48f9f200fb&port_id=1ba0e5bd-a3a1-4a83-9c9f-f30b1207c1b1&port_id=1cb8fe1d-ee20-4e80-8112-fa865e1de8c1&port_id=1d1c4e12-5bf7-4394-97bc-e9546eb2afe0&port_id=2190c806-c8af-4f73-b30c-3c95b63c4c15&port_id=22af9762-ce71-4d0d-a1d8-f02f74568ebe&port_id=26d23e40-8aaf-4c16-9fbe-56cebcd0e42b&port_id=26d7302b-6d06-484b-8f7f-566df1eb1256&port_id=27928f11-ff87-492a-8a83-5a6d74c8dbc8&port_id=28b2ff11-d370-48df-97c3-445553f0f92b&port_id=293c509d-a674-45f9-953e-fc5dc0f06d2c&port_id=2b350171-def3-426e-b908-7f0de8181acb&port_id=2b7bea25-1b04-4209-b93d-d2a385f4a053&port_id=2ced7f77-6534-4118-910a-e316e53d77e3&port_id=2e8aea59-8a8c-4d8e-93b7-a3e8a6d36c30&port_id=2e9b8c9f-a117-4492-849a-9f460fc303e7&port_id=32d40914-183c-4786-9d51-4e7f33680d07&port_id=34a9fbae-1eb0-491f-9328-9359ff9406dd&port_id=35ed6652-4cef-496c-88e7-fdf0a3d1306a&port_id=36fd0d42-eaa3-4866-9709-515543342e7f&port_id=37f104c1-8753-436d-903b-2e15368ded73&port_id=38d3a289-ff42-411e-adcb-1d4b5d8f2391&port_id=3ac160ca-4974-42f3-b907-79c6d73291dd&port_id=3b8694f3-b922-4eb8-b953-f89cd60dacc4&port_id=3bf4ebee-e7de-4886-8964-1b118e5cd273&port_id=3c0d4225-6544-47c8-8daf-e93adb47d321&port_id=3ce94a32-bfe6-4f64-b454-bbb8f6f2f046&port_id=3e22a4d1-1f69-44bf-857d-8e5635fec812&port_id=3f7fa668-b2bd-47e2-a239-e9423f09c831&port_id=3fe5e570-99fc-4a54-b792-5f1818f4ebdb&port_id=411e80d4-6990-42a3-a80b-ef2587ae295e&port_id=41d8c320-bfaa-4dd6-85f2-df72e40246db&port_id=41ea116a-73ce-460f-8b5d-f1aa2379ca95&port_id=436c18e2-0476-4f1d-8001-7f4a899ad99a&port_id=449b54fc-bbaf-46d8-b30e-6191bc8a7b7a&port_id=485a1f0d-b6be-4db2-bae5-aa5e6765d5c9&port_id=4b4bb9c1-4b1b-4457-9ff0-b5680a4ad97b&port_id=4b773646-7b5b-493a-81f2-c490d375198c&port_id=4f3849d8-5c04-4332-b3e7-ff752a9a4edb&port_id=51fa75b6-3e26-49a9-8e23-011c39e309c2&port_id=526e81ac-dd08-4d21-8265-5b7292a8253b&port_id=54e8c58b-e371-4fc6-a546-e3b5f20396fc&port_id=552b7902-23b2-4493-9769-44254a0dad00&port_id=5579b248-821a-4fd3-b345-39df87899ec9&port_id=57af57b1-2a78-4191-9deb-915d3cdaaa29&port_id=5838ed8e-ada7-43b5-bd24-4d3765fc26a4&port_id=58b7db17-854a-4fc3-9c08-7b03a4c6909a&port_id=595006b2-38d3-49a3-8565-c91a1fb68507&port_id=59720fdb-bedc-45e5-9b93-39d70c588e93&port_id=5a47ff56-32a1-4760-acfc-a477da43451b&port_id=5ac68221-6744-4e8a-ac99-9a440fdefc3c&port_id=5b86cbea-5a5d-4ad3-9e7c-db7aa20e5632&port_id=5d71487a-74ff-409c-8640-7e2721f0c6d1&port_id=5e7c2449-d705-4d4b-a1f8-ec774d049ba3&port_id=604f4a83-0441-4a1d-a5e6-30722bfdec3a&port_id=619244c4-5464-4d62-89d2-1cb71ca5b7d3&port_id=6327b454-5618-4edb-b737-2ae93f43c4bc&port_id=63cff1f8-91bd-4546-bf70-51ce6296cfe1&port_id=63f4fcb1-e47f-4551-9b93-c2d2fd25db8a&port_id=63f9fcd4-c23a-4f82-8b8d-2be6ed456044&port_id=6416f673-27bd-44a0-ab55-56b282086dec&port_id=64a229cc-aaba-401b-97c3-e8e6eb801c8a&port_id=64dd8e3c-d79d-4acb-9cb3-fc765511bb75&port_id=64ee794f-9870-4aac-9874-fc4374423469&port_id=66389f51-4949-4f52-b515-73912b71c1d0&port_id=669e5be3-4606-4a62-ab76-6745c9b41ee9&port_id=66cfaded-713f-4fb9-aad9-6c1aee6258c2&port_id=67b08bf6-0d48-466b-89be-f3f7fd10991a&port_id=68291f99-3e24-4a43-8eb9-0e2b416df155&port_id=694a9680-ad25-4cd9-86d8-251b60660d44&port_id=6b88e64c-2253-4aff-9d2a-5176b3b4939d&port_id=6d6e7757-4eb0-4e1b-8261-93197cd808cc&port_id=6f57a16a-6037-43f6-a7b1-ca07f4df8d9e&port_id=6fc3a5df-8c7b-41ad-88e8-bf428a468c14&port_id=70f893e6-5b97-42e5-9040-400b87c66b37&port_id=718814b0-f0af-46eb-9a4a-98252f210296&port_id=72484ab8-7344-4215-881a-422772a97a31&port_id=75218b85-5835-4fcb-b841-187f688620b7&port_id=7600fdfc-abd3-4d72-8e21-eec842b0f81e&port_id=76f658a3-8c17-4950-8211-eb531d324491&port_id=77e6066e-a42b-4144-9b97-9c74a174da8f&port_id=77f8253d-77c3-482d-9962-62a3c51588fb&port_id=7963dabb-844e-45e2-ace2-bf580ec35cc0&port_id=7c3824e5-6056-488a-938d-9608467bff43&port_id=7e19f034-5eb6-48cd-bb8f-9a593257e744&port_id=7ea13ba6-ac9b-4f54-9027-dc19b060ff4c&port_id=8104970d-8527-42ec-ab46-35022b4596b4&port_id=814dba01-c74c-4f9f-a051-928d99026bf0&port_id=82d3f446-7b1e-4f3e-ae6b-96ebff7c6146&port_id=82fc06eb-03b0-4276-9e0f-fd643481d045&port_id=831b3161-5ec0-4fdf-b5cd-e8f49c753f93&port_id=859ed1e7-ef69-4b63-bc48-115eb075c85f&port_id=870d4b6a-100e-42d4-9b78-695702c4f8fc&port_id=89cfb8f7-c5e9-4d35-8198-41fe5a9a544f&port_id=89ddf522-904e-4536-92b3-82a5bf781fd6&port_id=8ae4fd23-d536-4ca6-a5e7-8e4adb0ef95f&port_id=8c7820a6-0d9e-4624-8aea-9761cbadcfed&port_id=8d215f93-3f09-43e1-bc20-514d495aea4a&port_id=8ed41601-5977-427d-ad49-e7fd0f63c85f&port_id=9263b80d-6617-4719-b327-9bbdfff36a00&port_id=9326d0b4-34ae-4758-8bd6-3263e3264a88&port_id=93bd127a-f4ed-4cb6-8c2f-d780d23da3f1&port_id=950cae17-f172-47b5-8476-b261d6ab2609&port_id=95cf7f09-0b09-47f1-91b4-b11f55b5ef7d&port_id=96a14abe-18e4-473c-97a9-4735d1b996b0&port_id=9855fec4-3403-42f2-962b-e2676eb8f0ff&port_id=988b4ac2-f955-4acd-adf8-1bae008db12e&port_id=9a30c829-323a-4846-b297-1d240c6b7eed&port_id=9a9b0eb5-3b54-4512-966e-c080beea4e22&port_id=9ba5256a-a1fc-4e19-aa19-26ae7ab35ffa&port_id=9cd9c0b4-8479-401a-b7d2-16dfe5937e82&port_id=9d1272e2-eb21-4746-9ad7-de7f24260139&port_id=9dddd100-aa42-4136-a178-07124b668e18&port_id=9f601135-8845-4797-ba24-ce2d124c0dd3&port_id=9fac3b34-e55a-48c6-8306-7ec8a0de2995&port_id=a28ce7c1-b6fd-4f2b-80b9-1f1d826a157d&port_id=a4335d39-bf69-44ba-92bb-2ca581b5a90a&port_id=a4643b65-262a-4e5d-855f-afa44c6758a9&port_id=a5943b06-7536-4caf-b80c-12c383100852&port_id=a6ccdd0a-58bf-4e44-9419-a36a769c7c8c&port_id=aacafa3c-ca34-4a09-afdb-4d343c6a65a1&port_id=aacdb8bf-a7d1-4d15-a9cf-e2ed0b055fa4&port_id=ac680643-8bce-4cd7-ad0a-c51190ec3b5e&port_id=adfa60da-7aef-4998-914d-162093896ab7&port_id=ae6a6e28-6bd2-45a8-b2d5-81e7fa9dc72b&port_id=af3c6920-34f2-4f13-aadf-78f6eab59729&port_id=b3805f01-2da7-444a-9e3b-66e3145fd574&port_id=b780665c-bf13-4329-a138-a6ac3008e05f&port_id=b8466f44-37ce-462b-879b-faabd0e5b4a0&port_id=ba46ee2c-4728-4924-862e-f9fe2a291e4d&port_id=bae66e80-da99-4014-a2cc-e6ccf6fa0dcf&port_id=bb338d64-8434-4393-b7cb-0da6e35bb7ca&port_id=bb877e0c-f5d6-46b1-9bdc-12c9cd4f9998&port_id=bd55cefa-de5f-4fe2-b131-3533205223b4&port_id=bd69ec9b-ced4-4197-a56b-cd1e1b40ee52&port_id=be6065bc-797d-450f-8aa0-f1c153b3b69a&port_id=bf6183c1-c11a-4868-8efb-1a0577e8d774&port_id=c103d5cc-1adf-4cc7-92f1-ec8e510e6bde&port_id=c19ea4fb-6972-41a3-b10f-9e9f5e7ab172&port_id=c1c4807e-cbd1-431e-9516-9505a406a900&port_id=c1d9ef66-90a8-4e2b-abdd-7d1106ca5828&port_id=c27b87a2-3697-4567-bd4e-be09eff7a686&port_id=c2d1c814-6dca-4148-b4a2-da991bdceacc&port_id=c3a494c4-f3e9-47aa-a90a-a54a328d2424&port_id=c5f4eabb-7dde-4de6-b9d0-176a08a6431e&port_id=c6fab316-a1f1-4802-82fe-33dd6dee3a68&port_id=c8b47b6b-73ab-4209-8b78-7e82d630fcc9&port_id=c9643413-fd38-467f-bd1f-43ab865caa62&port_id=ca8eddc0-2137-4d8a-b714-21cd45387ad4&port_id=ccf7cc6e-103e-420f-91d8-8a6efd0f7084&port_id=cd61c423-ce1a-4df5-9fab-0e121a66d5e7&port_id=ce155f52-4473-45ad-8de0-a823c4843fa3&port_id=d0143788-1188-41ba-b96f-3bd2162566fb&port_id=d0a5d423-2383-4faa-94c7-f2ab1f47016b&port_id=d43f0579-1f97-4535-a434-6b31ae588dd0&port_id=d4a1fbeb-27fa-4c10-9376-1618f748e1cb&port_id=d8f391a1-47a6-44e2-a889-80648119b92d&port_id=d958d2b3-ff6c-4a56-b77b-0c55fecf69e6&port_id=dae90004-cecd-45f4-a1c7-75e12202cab6&port_id=dc64bf58-6062-449c-9980-4eb55668aeed&port_id=dd299081-9f03-4669-9025-0e42bb1d29cc&port_id=dd366b7c-54f8-479a-a8dc-14ee42741c1b&port_id=df63f702-d4c6-4f06-ad05-ff4448b175a5&port_id=e11775ed-3292-45cb-95b2-2b3ba668aaa5&port_id=e1835382-78d6-42b8-ac1e-e41a0b770725&port_id=e1cdf6c9-e5d0-45b7-8c0d-5709b7bf8c01&port_id=e4e8ab43-8e8f-4f91-8491-774d1f0a23d0&port_id=e651ac25-8517-4642-b4dd-2d44ef5ae112&port_id=e6f6fba5-40c3-44ff-8619-e1f9a5232f29&port_id=e7e620e8-48dd-48f9-950d-9bcfd18b214d&port_id=e840fb8b-def7-4b9b-80c0-e5ae477d810e&port_id=eb580403-6c8a-40ee-8323-5392ba3e84fb&port_id=ef262c6d-1ae2-4e5d-b066-540eedc667c4&port_id=ef4ee48d-d445-40fe-aa5e-b06fd24a54bf&port_id=ef6173a8-51df-4677-90d8-ffb585059742&port_id=f3888bae-d6a7-44e2-bde3-be334378a7db&port_id=f3fec8bf-4703-4c6e-b38b-1a0c54267335&port_id=f670dfec-6da6-4991-858c-d445ed9742d0&port_id=f7814687-3d09-4aa8-befa-32e5cf3824e8&port_id=f8734500-a56a-4c83-8cd6-8c9916f3e269&port_id=fca866e0-bceb-4881-b946-0d5ffe33c99d&port_id=ff0cd497-47dc-4f52-8711-425845df4e49&port_id=ffae6042-9a90-4887-9151-e848973a92ad&port_id=fff02977-e271-4f04-81a1-6ee365b460bd
2014-11-18 01:52:26,896 49960 ERROR neutronclient.v2_0.client tonyaw url_len=9050 self.MAX_URI_LEN=8192
2014-11-18 01:52:26,896 49960 ERROR openstack_dashboard.api.neutron tonyaw-Unable to connect to Neutron.:An unknown exception occurred.
Traceback (most recent call last):
  File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py", line 847, in servers_update_addresses
    port_id=[port.id for port in ports])
  File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py", line 367, in list
    fips = self.client.list_floatingips(**search_opts)
  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 98, in with_params
    ret = self.function(instance, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 443, in list_floatingips
    **_params)
  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1337, in list
    for r in self._pagination(collection, path, **params):
  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1350, in _pagination
    res = self.get(path, params=params)
  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1323, in get
    headers=headers, params=params)
  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1300, in retry_request
    headers=headers, params=params)
  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1236, in do_request
    self._check_uri_length(action)
  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1225, in _check_uri_length
    excess=uri_len - self.MAX_URI_LEN)
RequestURITooLong: An unknown exception occurred.
2014-11-18 01:52:26,897 49960 ERROR openstack_dashboard.api.neutron <django.utils.functional.__proxy__ object at 0x7f752b3b0e50>

/var/log/httpd/error_log:
[Tue Nov 18 02:27:30 2014] [error] tonyaw url_len=9050 self.MAX_URI_LEN=8192
[Tue Nov 18 02:27:30 2014] [error] <django.utils.functional.__proxy__ object at 0x7fb41c7d4950>
[Tue Nov 18 02:29:04 2014] [error] tonyaw self.httpclient.endpoint_url = http://135.252.135.230:9696 action=/v2.0/ports.json?device_id=9acc7906-2f46-483a-8fe7-9579d838f017&device_id=1a102800-53c0-49da-98e5-dbfaa06c8a74&device_id=db3e0c6c-d922-4347-ac73-179ed0a5d105&device_id=58b2f598-e9c2-414e-86f1-568df23d4d7c&device_id=8709a144-168d-4976-8566-8ecc6462eac0&device_id=3bf7e358-c571-45f6-a04e-9e4c195ed47b&device_id=9b79b724-1d02-4d51-9931-63217bac9013&device_id=777f7e99-ee3d-4656-b20e-aafdbdfe73e3&device_id=41d2d9b8-dcfd-4083-9c8b-fba8eedda0c5&device_id=400d859f-0a04-4424-ae15-631a9366a390&device_id=95821431-7528-4ad1-91ab-ab409d7ecf0a&device_id=9aea49b7-a273-4163-acec-663671e30f95&device_id=4753292e-95e7-4407-85ad-2f3208bf9b1d&device_id=280cc241-331e-4402-8556-00a6e3c4761b&device_id=d55a8c51-ca37-4596-a46f-e7f6c397c3c6&device_id=690f8265-c662-4131-b6a1-893e5f0af52d&device_id=a42e10d7-654b-4e9f-9aea-1de442aa61bf&device_id=c888d365-e8a2-40f5-af52-61437cce40a1&device_id=29dc7cb6-7213-40c6-9220-ee959f7fb991&device_id=fb786637-efa0-4cb3-bd6a-f2fedf3d9e4f


>From the code, we can finde the defination of MAX_URI_LEN which is for eventlet.wsgi.server, we couldn't change it randomly.
"/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py"
    # 8192 Is the default max URI len for eventlet.wsgi.server 
    MAX_URI_LEN = 8192

We tried the case in both Icehouse and Juno releases, and the issue can
be happened in both releases. Please help to check and fix it. Thanks in
advance.

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1393655

Title:
  An unknown exception "Unable to connect to Neutro" occurred when
  clicked panel "Instances" in openstack dashboard

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  An unknown exception "Unable to connect to Neutro" occurred when
  clicked panel "Instances" in openstack dashboard

  We created multi instances and each instance take several ports, then
  click the panel "Instances" in Openstack dashborad, the exception
  "Unable to connect to Neutro" occurred.

  Please see below log:

  2014-11-18 01:52:26,895 49960 ERROR neutronclient.v2_0.client tonyaw self.httpclient.endpoint_url = http://135.252.135.193:9696/ action=/v2.0/floatingips.json?port_id=02657989-8557-453c-9c46-1ac31997e885&port_id=03796381-2327-442f-bd03-3cdb010ea2fc&port_id=040f7540-d69a-4321-88d5-fb8a395384dd&port_id=04909a94-951b-4849-bb32-2e4eef7741c4&port_id=05cfd928-f247-43ea-83ac-78b3a700cc55&port_id=086f2d3e-3645-49c7-a60b-a91c09a904cc&port_id=09d15de1-7443-479a-ab5d-134882346327&port_id=0a4e82fe-2082-414f-a730-bb961b0a3635&port_id=0bf69eb1-d3eb-4898-8349-23ed8817dbd3&port_id=0d4a0619-29e6-48fe-b3e0-fdeff916fb37&port_id=0ec9a2f5-fb4c-4082-a1c5-64323e1b1128&port_id=1093b544-ef33-461d-87f0-03a679bfa8c0&port_id=12b25c6e-06da-43f4-9eaa-d8e421d7a0a4&port_id=13144a2f-b1b6-45d2-a2fc-a3c1933c3e4b&port_id=14b6ddbf-bee2-4b19-832d-ffb35d99f723&port_id=16cd469d-8387-4092-abd7-e0e6c09574fd&port_id=180611a5-7007-4fb4-bb85-fa48f9f200fb&port_id=1ba0e5bd-a3a1-4a83-9c9f-f30b1207c1b1&port_id=1cb8fe1d-ee20-4e80-8112-fa865e1de8c1&port_id=1d1c4e12-5bf7-4394-97bc-e9546eb2afe0&port_id=2190c806-c8af-4f73-b30c-3c95b63c4c15&port_id=22af9762-ce71-4d0d-a1d8-f02f74568ebe&port_id=26d23e40-8aaf-4c16-9fbe-56cebcd0e42b&port_id=26d7302b-6d06-484b-8f7f-566df1eb1256&port_id=27928f11-ff87-492a-8a83-5a6d74c8dbc8&port_id=28b2ff11-d370-48df-97c3-445553f0f92b&port_id=293c509d-a674-45f9-953e-fc5dc0f06d2c&port_id=2b350171-def3-426e-b908-7f0de8181acb&port_id=2b7bea25-1b04-4209-b93d-d2a385f4a053&port_id=2ced7f77-6534-4118-910a-e316e53d77e3&port_id=2e8aea59-8a8c-4d8e-93b7-a3e8a6d36c30&port_id=2e9b8c9f-a117-4492-849a-9f460fc303e7&port_id=32d40914-183c-4786-9d51-4e7f33680d07&port_id=34a9fbae-1eb0-491f-9328-9359ff9406dd&port_id=35ed6652-4cef-496c-88e7-fdf0a3d1306a&port_id=36fd0d42-eaa3-4866-9709-515543342e7f&port_id=37f104c1-8753-436d-903b-2e15368ded73&port_id=38d3a289-ff42-411e-adcb-1d4b5d8f2391&port_id=3ac160ca-4974-42f3-b907-79c6d73291dd&port_id=3b8694f3-b922-4eb8-b953-f89cd60dacc4&port_id=3bf4ebee-e7de-4886-8964-1b118e5cd273&port_id=3c0d4225-6544-47c8-8daf-e93adb47d321&port_id=3ce94a32-bfe6-4f64-b454-bbb8f6f2f046&port_id=3e22a4d1-1f69-44bf-857d-8e5635fec812&port_id=3f7fa668-b2bd-47e2-a239-e9423f09c831&port_id=3fe5e570-99fc-4a54-b792-5f1818f4ebdb&port_id=411e80d4-6990-42a3-a80b-ef2587ae295e&port_id=41d8c320-bfaa-4dd6-85f2-df72e40246db&port_id=41ea116a-73ce-460f-8b5d-f1aa2379ca95&port_id=436c18e2-0476-4f1d-8001-7f4a899ad99a&port_id=449b54fc-bbaf-46d8-b30e-6191bc8a7b7a&port_id=485a1f0d-b6be-4db2-bae5-aa5e6765d5c9&port_id=4b4bb9c1-4b1b-4457-9ff0-b5680a4ad97b&port_id=4b773646-7b5b-493a-81f2-c490d375198c&port_id=4f3849d8-5c04-4332-b3e7-ff752a9a4edb&port_id=51fa75b6-3e26-49a9-8e23-011c39e309c2&port_id=526e81ac-dd08-4d21-8265-5b7292a8253b&port_id=54e8c58b-e371-4fc6-a546-e3b5f20396fc&port_id=552b7902-23b2-4493-9769-44254a0dad00&port_id=5579b248-821a-4fd3-b345-39df87899ec9&port_id=57af57b1-2a78-4191-9deb-915d3cdaaa29&port_id=5838ed8e-ada7-43b5-bd24-4d3765fc26a4&port_id=58b7db17-854a-4fc3-9c08-7b03a4c6909a&port_id=595006b2-38d3-49a3-8565-c91a1fb68507&port_id=59720fdb-bedc-45e5-9b93-39d70c588e93&port_id=5a47ff56-32a1-4760-acfc-a477da43451b&port_id=5ac68221-6744-4e8a-ac99-9a440fdefc3c&port_id=5b86cbea-5a5d-4ad3-9e7c-db7aa20e5632&port_id=5d71487a-74ff-409c-8640-7e2721f0c6d1&port_id=5e7c2449-d705-4d4b-a1f8-ec774d049ba3&port_id=604f4a83-0441-4a1d-a5e6-30722bfdec3a&port_id=619244c4-5464-4d62-89d2-1cb71ca5b7d3&port_id=6327b454-5618-4edb-b737-2ae93f43c4bc&port_id=63cff1f8-91bd-4546-bf70-51ce6296cfe1&port_id=63f4fcb1-e47f-4551-9b93-c2d2fd25db8a&port_id=63f9fcd4-c23a-4f82-8b8d-2be6ed456044&port_id=6416f673-27bd-44a0-ab55-56b282086dec&port_id=64a229cc-aaba-401b-97c3-e8e6eb801c8a&port_id=64dd8e3c-d79d-4acb-9cb3-fc765511bb75&port_id=64ee794f-9870-4aac-9874-fc4374423469&port_id=66389f51-4949-4f52-b515-73912b71c1d0&port_id=669e5be3-4606-4a62-ab76-6745c9b41ee9&port_id=66cfaded-713f-4fb9-aad9-6c1aee6258c2&port_id=67b08bf6-0d48-466b-89be-f3f7fd10991a&port_id=68291f99-3e24-4a43-8eb9-0e2b416df155&port_id=694a9680-ad25-4cd9-86d8-251b60660d44&port_id=6b88e64c-2253-4aff-9d2a-5176b3b4939d&port_id=6d6e7757-4eb0-4e1b-8261-93197cd808cc&port_id=6f57a16a-6037-43f6-a7b1-ca07f4df8d9e&port_id=6fc3a5df-8c7b-41ad-88e8-bf428a468c14&port_id=70f893e6-5b97-42e5-9040-400b87c66b37&port_id=718814b0-f0af-46eb-9a4a-98252f210296&port_id=72484ab8-7344-4215-881a-422772a97a31&port_id=75218b85-5835-4fcb-b841-187f688620b7&port_id=7600fdfc-abd3-4d72-8e21-eec842b0f81e&port_id=76f658a3-8c17-4950-8211-eb531d324491&port_id=77e6066e-a42b-4144-9b97-9c74a174da8f&port_id=77f8253d-77c3-482d-9962-62a3c51588fb&port_id=7963dabb-844e-45e2-ace2-bf580ec35cc0&port_id=7c3824e5-6056-488a-938d-9608467bff43&port_id=7e19f034-5eb6-48cd-bb8f-9a593257e744&port_id=7ea13ba6-ac9b-4f54-9027-dc19b060ff4c&port_id=8104970d-8527-42ec-ab46-35022b4596b4&port_id=814dba01-c74c-4f9f-a051-928d99026bf0&port_id=82d3f446-7b1e-4f3e-ae6b-96ebff7c6146&port_id=82fc06eb-03b0-4276-9e0f-fd643481d045&port_id=831b3161-5ec0-4fdf-b5cd-e8f49c753f93&port_id=859ed1e7-ef69-4b63-bc48-115eb075c85f&port_id=870d4b6a-100e-42d4-9b78-695702c4f8fc&port_id=89cfb8f7-c5e9-4d35-8198-41fe5a9a544f&port_id=89ddf522-904e-4536-92b3-82a5bf781fd6&port_id=8ae4fd23-d536-4ca6-a5e7-8e4adb0ef95f&port_id=8c7820a6-0d9e-4624-8aea-9761cbadcfed&port_id=8d215f93-3f09-43e1-bc20-514d495aea4a&port_id=8ed41601-5977-427d-ad49-e7fd0f63c85f&port_id=9263b80d-6617-4719-b327-9bbdfff36a00&port_id=9326d0b4-34ae-4758-8bd6-3263e3264a88&port_id=93bd127a-f4ed-4cb6-8c2f-d780d23da3f1&port_id=950cae17-f172-47b5-8476-b261d6ab2609&port_id=95cf7f09-0b09-47f1-91b4-b11f55b5ef7d&port_id=96a14abe-18e4-473c-97a9-4735d1b996b0&port_id=9855fec4-3403-42f2-962b-e2676eb8f0ff&port_id=988b4ac2-f955-4acd-adf8-1bae008db12e&port_id=9a30c829-323a-4846-b297-1d240c6b7eed&port_id=9a9b0eb5-3b54-4512-966e-c080beea4e22&port_id=9ba5256a-a1fc-4e19-aa19-26ae7ab35ffa&port_id=9cd9c0b4-8479-401a-b7d2-16dfe5937e82&port_id=9d1272e2-eb21-4746-9ad7-de7f24260139&port_id=9dddd100-aa42-4136-a178-07124b668e18&port_id=9f601135-8845-4797-ba24-ce2d124c0dd3&port_id=9fac3b34-e55a-48c6-8306-7ec8a0de2995&port_id=a28ce7c1-b6fd-4f2b-80b9-1f1d826a157d&port_id=a4335d39-bf69-44ba-92bb-2ca581b5a90a&port_id=a4643b65-262a-4e5d-855f-afa44c6758a9&port_id=a5943b06-7536-4caf-b80c-12c383100852&port_id=a6ccdd0a-58bf-4e44-9419-a36a769c7c8c&port_id=aacafa3c-ca34-4a09-afdb-4d343c6a65a1&port_id=aacdb8bf-a7d1-4d15-a9cf-e2ed0b055fa4&port_id=ac680643-8bce-4cd7-ad0a-c51190ec3b5e&port_id=adfa60da-7aef-4998-914d-162093896ab7&port_id=ae6a6e28-6bd2-45a8-b2d5-81e7fa9dc72b&port_id=af3c6920-34f2-4f13-aadf-78f6eab59729&port_id=b3805f01-2da7-444a-9e3b-66e3145fd574&port_id=b780665c-bf13-4329-a138-a6ac3008e05f&port_id=b8466f44-37ce-462b-879b-faabd0e5b4a0&port_id=ba46ee2c-4728-4924-862e-f9fe2a291e4d&port_id=bae66e80-da99-4014-a2cc-e6ccf6fa0dcf&port_id=bb338d64-8434-4393-b7cb-0da6e35bb7ca&port_id=bb877e0c-f5d6-46b1-9bdc-12c9cd4f9998&port_id=bd55cefa-de5f-4fe2-b131-3533205223b4&port_id=bd69ec9b-ced4-4197-a56b-cd1e1b40ee52&port_id=be6065bc-797d-450f-8aa0-f1c153b3b69a&port_id=bf6183c1-c11a-4868-8efb-1a0577e8d774&port_id=c103d5cc-1adf-4cc7-92f1-ec8e510e6bde&port_id=c19ea4fb-6972-41a3-b10f-9e9f5e7ab172&port_id=c1c4807e-cbd1-431e-9516-9505a406a900&port_id=c1d9ef66-90a8-4e2b-abdd-7d1106ca5828&port_id=c27b87a2-3697-4567-bd4e-be09eff7a686&port_id=c2d1c814-6dca-4148-b4a2-da991bdceacc&port_id=c3a494c4-f3e9-47aa-a90a-a54a328d2424&port_id=c5f4eabb-7dde-4de6-b9d0-176a08a6431e&port_id=c6fab316-a1f1-4802-82fe-33dd6dee3a68&port_id=c8b47b6b-73ab-4209-8b78-7e82d630fcc9&port_id=c9643413-fd38-467f-bd1f-43ab865caa62&port_id=ca8eddc0-2137-4d8a-b714-21cd45387ad4&port_id=ccf7cc6e-103e-420f-91d8-8a6efd0f7084&port_id=cd61c423-ce1a-4df5-9fab-0e121a66d5e7&port_id=ce155f52-4473-45ad-8de0-a823c4843fa3&port_id=d0143788-1188-41ba-b96f-3bd2162566fb&port_id=d0a5d423-2383-4faa-94c7-f2ab1f47016b&port_id=d43f0579-1f97-4535-a434-6b31ae588dd0&port_id=d4a1fbeb-27fa-4c10-9376-1618f748e1cb&port_id=d8f391a1-47a6-44e2-a889-80648119b92d&port_id=d958d2b3-ff6c-4a56-b77b-0c55fecf69e6&port_id=dae90004-cecd-45f4-a1c7-75e12202cab6&port_id=dc64bf58-6062-449c-9980-4eb55668aeed&port_id=dd299081-9f03-4669-9025-0e42bb1d29cc&port_id=dd366b7c-54f8-479a-a8dc-14ee42741c1b&port_id=df63f702-d4c6-4f06-ad05-ff4448b175a5&port_id=e11775ed-3292-45cb-95b2-2b3ba668aaa5&port_id=e1835382-78d6-42b8-ac1e-e41a0b770725&port_id=e1cdf6c9-e5d0-45b7-8c0d-5709b7bf8c01&port_id=e4e8ab43-8e8f-4f91-8491-774d1f0a23d0&port_id=e651ac25-8517-4642-b4dd-2d44ef5ae112&port_id=e6f6fba5-40c3-44ff-8619-e1f9a5232f29&port_id=e7e620e8-48dd-48f9-950d-9bcfd18b214d&port_id=e840fb8b-def7-4b9b-80c0-e5ae477d810e&port_id=eb580403-6c8a-40ee-8323-5392ba3e84fb&port_id=ef262c6d-1ae2-4e5d-b066-540eedc667c4&port_id=ef4ee48d-d445-40fe-aa5e-b06fd24a54bf&port_id=ef6173a8-51df-4677-90d8-ffb585059742&port_id=f3888bae-d6a7-44e2-bde3-be334378a7db&port_id=f3fec8bf-4703-4c6e-b38b-1a0c54267335&port_id=f670dfec-6da6-4991-858c-d445ed9742d0&port_id=f7814687-3d09-4aa8-befa-32e5cf3824e8&port_id=f8734500-a56a-4c83-8cd6-8c9916f3e269&port_id=fca866e0-bceb-4881-b946-0d5ffe33c99d&port_id=ff0cd497-47dc-4f52-8711-425845df4e49&port_id=ffae6042-9a90-4887-9151-e848973a92ad&port_id=fff02977-e271-4f04-81a1-6ee365b460bd
  2014-11-18 01:52:26,896 49960 ERROR neutronclient.v2_0.client tonyaw url_len=9050 self.MAX_URI_LEN=8192
  2014-11-18 01:52:26,896 49960 ERROR openstack_dashboard.api.neutron tonyaw-Unable to connect to Neutron.:An unknown exception occurred.
  Traceback (most recent call last):
    File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py", line 847, in servers_update_addresses
      port_id=[port.id for port in ports])
    File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py", line 367, in list
      fips = self.client.list_floatingips(**search_opts)
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 98, in with_params
      ret = self.function(instance, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 443, in list_floatingips
      **_params)
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1337, in list
      for r in self._pagination(collection, path, **params):
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1350, in _pagination
      res = self.get(path, params=params)
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1323, in get
      headers=headers, params=params)
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1300, in retry_request
      headers=headers, params=params)
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1236, in do_request
      self._check_uri_length(action)
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1225, in _check_uri_length
      excess=uri_len - self.MAX_URI_LEN)
  RequestURITooLong: An unknown exception occurred.
  2014-11-18 01:52:26,897 49960 ERROR openstack_dashboard.api.neutron <django.utils.functional.__proxy__ object at 0x7f752b3b0e50>

  /var/log/httpd/error_log:
  [Tue Nov 18 02:27:30 2014] [error] tonyaw url_len=9050 self.MAX_URI_LEN=8192
  [Tue Nov 18 02:27:30 2014] [error] <django.utils.functional.__proxy__ object at 0x7fb41c7d4950>
  [Tue Nov 18 02:29:04 2014] [error] tonyaw self.httpclient.endpoint_url = http://135.252.135.230:9696 action=/v2.0/ports.json?device_id=9acc7906-2f46-483a-8fe7-9579d838f017&device_id=1a102800-53c0-49da-98e5-dbfaa06c8a74&device_id=db3e0c6c-d922-4347-ac73-179ed0a5d105&device_id=58b2f598-e9c2-414e-86f1-568df23d4d7c&device_id=8709a144-168d-4976-8566-8ecc6462eac0&device_id=3bf7e358-c571-45f6-a04e-9e4c195ed47b&device_id=9b79b724-1d02-4d51-9931-63217bac9013&device_id=777f7e99-ee3d-4656-b20e-aafdbdfe73e3&device_id=41d2d9b8-dcfd-4083-9c8b-fba8eedda0c5&device_id=400d859f-0a04-4424-ae15-631a9366a390&device_id=95821431-7528-4ad1-91ab-ab409d7ecf0a&device_id=9aea49b7-a273-4163-acec-663671e30f95&device_id=4753292e-95e7-4407-85ad-2f3208bf9b1d&device_id=280cc241-331e-4402-8556-00a6e3c4761b&device_id=d55a8c51-ca37-4596-a46f-e7f6c397c3c6&device_id=690f8265-c662-4131-b6a1-893e5f0af52d&device_id=a42e10d7-654b-4e9f-9aea-1de442aa61bf&device_id=c888d365-e8a2-40f5-af52-61437cce40a1&device_id=29dc7cb6-7213-40c6-9220-ee959f7fb991&device_id=fb786637-efa0-4cb3-bd6a-f2fedf3d9e4f

  
  From the code, we can finde the defination of MAX_URI_LEN which is for eventlet.wsgi.server, we couldn't change it randomly.
  "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py"
      # 8192 Is the default max URI len for eventlet.wsgi.server 
      MAX_URI_LEN = 8192

  We tried the case in both Icehouse and Juno releases, and the issue
  can be happened in both releases. Please help to check and fix it.
  Thanks in advance.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1393655/+subscriptions


Follow ups

References