error when I try to assign a floating ip to a server

asked 2017-07-20 00:09:03 -0500

masber gravatar image

updated 2017-07-20 18:09:18 -0500

Hi all,

I am having issues trying to assign a floating ip to a server. There are my neutron-server logs and i was wondering if someone here could help to understand what the issue is and how to fix it?

2017-07-20 13:26:12.109 22 INFO neutron.wsgi [req-316e88fb-002a-4423-9f20-91778a71767b - - - - -] 10.1.0.42,10.1.0.11 - - [20/Jul/2017 13:26:12] "GET /v2.0/subnets.json?id=243b03cc-9ac8-45d3-a668-0de0a8f42e02 HTTP/1.1" 200 845 0.094177 2017-07-20 13:26:12.172 22 INFO neutron.wsgi [req-45df0387-bd3a-4c83-9af5-4b3196b381c0 - - - - -] 10.1.0.42,10.1.0.11 - - [20/Jul/2017 13:26:12] "GET /v2.0/ports.json?network_id=498cfe58-e570-4792-9c37-7f04269f6cdc&device_owner=network%3Adhcp HTTP/1.1" 200 1294 0.058919 2017-07-20 13:26:40.040 24 INFO neutron.wsgi [req-2a049eda-b2cb-49b2-a7d6-bfeeb9d85ed4 - - - - -] 10.1.0.5,10.1.0.11 - - [20/Jul/2017 13:26:40] "GET /v2.0/ports.json?device_id=8aca83e1-98d4-49ea-b3c4-37270fe87509 HTTP/1.1" 200 1266 0.129647 2017-07-20 13:26:40.230 24 INFO neutron.wsgi [req-fe26af9b-a85a-45b8-b044-ff3107e70ec4 - - - - -] 10.1.0.5,10.1.0.11 - - [20/Jul/2017 13:26:40] "GET /v2.0/security-groups.json?id=94ff63a1-8b8a-4c53-ae31-2544abf97128 HTTP/1.1" 200 2484 0.175956 2017-07-20 13:26:40.430 24 INFO neutron.wsgi [req-faee04f5-b50b-4db6-b89d-67c5dfd4c18b - - - - -] 10.1.0.5,10.1.0.11 - - [20/Jul/2017 13:26:40] "GET /v2.0/ports.json?device_owner=compute%3ANone&device_id=8aca83e1-98d4-49ea-b3c4-37270fe87509 HTTP/1.1" 200 1266 0.073257 2017-07-20 13:26:40.457 24 INFO neutron.wsgi [req-f97484a4-6117-445f-8017-e3104dcdcf2d - - - - -] 10.1.0.5,10.1.0.11 - - [20/Jul/2017 13:26:40] "GET /v2.0/floatingips.json?floating_ip_address=129.94.120.133 HTTP/1.1" 200 674 0.023562 2017-07-20 13:26:40.698 24 ERROR neutron.api.v2.resource [req-0f272b23-4cfa-4acd-abd5-9eaf66f3d94c - - - - -] update failed: No details. 2017-07-20 13:26:40.698 24 ERROR neutron.api.v2.resource Traceback (most recent call last): 2017-07-20 13:26:40.698 24 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/api/v2/resource.py", line 79, in resource 2017-07-20 13:26:40.698 24 ERROR neutron.api.v2.resource result = method(request=request, *args) 2017-07-20 13:26:40.698 24 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/api/v2/base.py", line 610, in update 2017-07-20 13:26:40.698 24 ERROR neutron.api.v2.resource return self._update(request, id, body, *kwargs) 2017-07-20 13:26:40.698 24 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 95, in wrapped 2017-07-20 13:26:40.698 24 ERROR neutron.api.v2.resource setattr(e, '_RETRY_EXCEEDED', True) 2017-07-20 13:26:40.698 24 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__ 2017-07-20 13:26:40.698 24 ERROR neutron.api.v2.resource
self.force_reraise() 2017-07-20 13:26:40.698 24 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise 2017-07-20 13:26:40 ...

(more)
edit retag flag offensive close merge delete

Comments

Hi, Has your instance got private IP. Check the outputs of commands neutron agent-list and neutron port list and ip netns. Are you able to list the available floating IPs ?

Praveen N gravatar imagePraveen N ( 2017-07-20 01:15:45 -0500 )edit

There is a bug that may match your case.

Bernd Bausch gravatar imageBernd Bausch ( 2017-07-20 01:19:21 -0500 )edit