NSX: timeout can result in nat rule conflict

Bug #1334430 reported by Aaron Rosen on 2014-06-25
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vmware-nsx
Undecided
Unassigned

Bug Description

2014-06-25 01:37:35.920 29149 WARNING neutron.plugins.vmware.api_client.request [-] [0] Failed request 'POST https://20.0.0.22:443//ws.v1/lrouter/e6ae51d1-9960-4525-b811-e44d97b9d577/nat': 'timed out' (0.592037200928 seconds)
2014-06-25 01:37:35.921 29149 WARNING neutron.plugins.vmware.api_client.base [-] [0] Connection returned in bad state, reconnecting to https://20.0.0.22:443
2014-06-25 01:37:37.608 29149 ERROR neutron.plugins.vmware.api_client.client [-] Received error code: 409
2014-06-25 01:37:37.609 29149 ERROR neutron.plugins.vmware.api_client.client [-] Server Error Message: Rule already added to logical router
2014-06-25 01:37:37.609 29149 ERROR neutron.api.v2.resource [-] add_router_interface failed
2014-06-25 01:37:37.609 29149 TRACE neutron.api.v2.resource Traceback (most recent call last):
2014-06-25 01:37:37.609 29149 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/api/v2/resource.py", line 87, in resource
2014-06-25 01:37:37.609 29149 TRACE neutron.api.v2.resource result = method(request=request, **args)
2014-06-25 01:37:37.609 29149 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/api/v2/base.py", line 194, in _handle_action
2014-06-25 01:37:37.609 29149 TRACE neutron.api.v2.resource return getattr(self._plugin, name)(*arg_list, **kwargs)
2014-06-25 01:37:37.609 29149 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/plugins/vmware/plugins/base.py", line 1712, in add_router_interface
2014-06-25 01:37:37.609 29149 TRACE neutron.api.v2.resource match_criteria={'destination_ip_addresses': subnet['cidr']})
2014-06-25 01:37:37.609 29149 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/plugins/vmware/nsxlib/versioning.py", line 44, in dispatch_versioned_function
2014-06-25 01:37:37.609 29149 TRACE neutron.api.v2.resource return func(cluster, *args, **func_kwargs)
2014-06-25 01:37:37.609 29149 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/plugins/vmware/nsxlib/router.py", line 504, in create_lrouter_nosnat_rule_v3
2014-06-25 01:37:37.609 29149 TRACE neutron.api.v2.resource return _create_lrouter_nat_rule(cluster, router_id, nat_rule_obj)
2014-06-25 01:37:37.609 29149 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/plugins/vmware/nsxlib/router.py", line 452, in _create_lrouter_nat_rule
2014-06-25 01:37:37.609 29149 TRACE neutron.api.v2.resource cluster=cluster)
2014-06-25 01:37:37.609 29149 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/plugins/vmware/nsxlib/__init__.py", line 96, in do_request
2014-06-25 01:37:37.609 29149 TRACE neutron.api.v2.resource res = cluster.api_client.request(*args)
2014-06-25 01:37:37.609 29149 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/plugins/vmware/api_client/client.py", line 119, in request
2014-06-25 01:37:37.609 29149 TRACE neutron.api.v2.resource exception.ERROR_MAPPINGS[status](response)
2014-06-25 01:37:37.609 29149 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/plugins/vmware/api_client/exception.py", line 91, in fourZeroNine
2014-06-25 01:37:37.609 29149 TRACE neutron.api.v2.resource raise Conflict()
2014-06-25 01:37:37.609 29149 TRACE neutron.api.v2.resource Conflict: Request conflicts with configuration on a different entity.
2014-06-25 01:37:37.609 29149 TRACE neutron.api.v2.resource
2014-06-25 02:33:58.535 29149 ERROR neutron.plugins.vmware.api_client.client [-] Received error code: 503
2014-06-25 02:33:58.535 29149 ERROR neutron.plugins.vmware.api_client.client [-] Server Error Message: 503 Service Unavailable

tags: added: vmware
Changed in neutron:
importance: Undecided → Medium
no longer affects: neutron
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers