Vmware NSX Set Router Gateway error

Bug #1680311 reported by YuYang
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
vmware-nsx
New
Undecided
Unassigned

Bug Description

i use openstack newton,and use nsx 6.2,when i set router's gateway get the error:

2017-04-06 11:39:22.198 21 ERROR vmware_nsx.plugins.nsx_v.plugin [req-49f17b50-4dfa-4481-9ab8-58183317c012 1f33b40283b24adcaaf727ed11424523 4e8be975a6924817bdfb95f9cd69ab06 - - -] Failed to update gw_info {u'network_id': u'5f1a565d-ce51-4485-8ef4-626f59be9a15'} on router f4a4cd9c-4203-4af6-83d9-c6356057ab6b
2017-04-06 11:39:23.979 21 WARNING vmware_nsx.plugins.nsx_v.vshield.edge_utils [req-49f17b50-4dfa-4481-9ab8-58183317c012 1f33b40283b24adcaaf727ed11424523 4e8be975a6924817bdfb95f9cd69ab06 - - -] Failed to find edge_id to delete dhcp binding for port 1156334a-ac9a-45e3-9f3a-667ad73ef7c9
2017-04-06 11:39:41.917 19 INFO neutron.wsgi [req-f19d9053-541d-43a0-b13a-29ba179da647 33bf0ad9495e421e9619ec4df4d33a20 e7618c96038a431e8a2534386949872c - - -] 192.168.217.64,192.168.217.61 - - [06/Apr/2017 11:39:41] "GET /v2.0/ports.json?tenant_id=232c80474d534e20bc3406809da17398&device_id=6de3a6b2-7edd-498a-ba3a-56d427980abb HTTP/1.1" 200 1130 0.115649
2017-04-06 11:39:42.104 19 INFO neutron.wsgi [req-73e29279-04d7-4e10-a141-7cbb7664d39d 33bf0ad9495e421e9619ec4df4d33a20 e7618c96038a431e8a2534386949872c - - -] 192.168.217.64,192.168.217.61 - - [06/Apr/2017 11:39:42] "GET /v2.0/networks.json?id=509d63f0-430b-4c78-9736-f560abbd856e HTTP/1.1" 200 723 0.180216
2017-04-06 11:39:42.158 19 INFO neutron.wsgi [req-961f9fed-82ff-48a3-8d4b-ac6321150566 33bf0ad9495e421e9619ec4df4d33a20 e7618c96038a431e8a2534386949872c - - -] 192.168.217.64,192.168.217.61 - - [06/Apr/2017 11:39:42] "GET /v2.0/floatingips.json?fixed_ip_address=10.0.77.8&port_id=1bc8b7dd-d090-496e-a3e2-5af3413249a3 HTTP/1.1" 200 193 0.047324
2017-04-06 11:39:42.357 19 INFO neutron.wsgi [req-599ac427-9b77-4f5e-a767-bb9656e3915a 33bf0ad9495e421e9619ec4df4d33a20 e7618c96038a431e8a2534386949872c - - -] 192.168.217.64,192.168.217.61 - - [06/Apr/2017 11:39:42] "GET /v2.0/subnets.json?id=42e160ec-305c-4199-b83f-ed0ef20927be HTTP/1.1" 200 852 0.189339
2017-04-06 11:39:42.860 19 INFO neutron.wsgi [req-d3ffe38e-c74a-4bfe-80bb-e4b9b067b91f 33bf0ad9495e421e9619ec4df4d33a20 e7618c96038a431e8a2534386949872c - - -] 192.168.217.64,192.168.217.61 - - [06/Apr/2017 11:39:42] "GET /v2.0/ports.json?network_id=509d63f0-430b-4c78-9736-f560abbd856e&device_owner=network%3Adhcp HTTP/1.1" 200 1008 0.493123
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource [req-49f17b50-4dfa-4481-9ab8-58183317c012 1f33b40283b24adcaaf727ed11424523 4e8be975a6924817bdfb95f9cd69ab06 - - -] update failed: No details.
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource Traceback (most recent call last):
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/neutron/api/v2/resource.py", line 79, in resource
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource result = method(request=request, **args)
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/neutron/api/v2/base.py", line 604, in update
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource return self._update(request, id, body, **kwargs)
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/neutron/db/api.py", line 88, in wrapped
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource setattr(e, '_RETRY_EXCEEDED', True)
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource self.force_reraise()
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource six.reraise(self.type_, self.value, self.tb)
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/neutron/db/api.py", line 84, in wrapped
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource return f(*args, **kwargs)
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/oslo_db/api.py", line 151, in wrapper
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource ectxt.value = e.inner_exc
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource self.force_reraise()
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource six.reraise(self.type_, self.value, self.tb)
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/oslo_db/api.py", line 139, in wrapper
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource return f(*args, **kwargs)
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/neutron/db/api.py", line 124, in wrapped
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource traceback.format_exc())
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource self.force_reraise()
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource six.reraise(self.type_, self.value, self.tb)
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/neutron/db/api.py", line 119, in wrapped
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource return f(*dup_args, **dup_kwargs)
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/neutron/api/v2/base.py", line 652, in _update
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource obj = obj_updater(request.context, id, **kwargs)
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/vmware_nsx/plugins/nsx_v/plugin.py", line 2425, in update_router
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource return router_driver.update_router(context, router_id, router)
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/vmware_nsx/plugins/nsx_v/drivers/exclusive_router_driver.py", line 57, in update_router
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource is_routes_update)
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/vmware_nsx/plugins/nsx_v/plugin.py", line 2633, in _update_router_gw_info
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource force_update=force_update)
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource self.force_reraise()
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource six.reraise(self.type_, self.value, self.tb)
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/vmware_nsx/plugins/nsx_v/plugin.py", line 2623, in _update_router_gw_info
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource force_update=force_update)
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/vmware_nsx/plugins/nsx_v/drivers/exclusive_router_driver.py", line 170, in _update_router_gw_info
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource new_ext_net_id, newaddr, newmask)
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/vmware_nsx/plugins/nsx_v/vshield/edge_utils.py", line 1975, in update_external_interface
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource secondary=secondary)
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/vmware_nsx/plugins/nsx_v/vshield/edge_utils.py", line 2044, in _update_external_interface
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource address_groups=address_groups)
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/vmware_nsx/plugins/nsx_v/vshield/edge_appliance_driver.py", line 312, in update_interface
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource self.vcns.update_interface(edge_id, config)
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/retrying.py", line 49, in wrapped_f
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource return Retrying(*dargs, **dkw).call(f, *args, **kw)
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/retrying.py", line 212, in call
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource raise attempt.get()
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/retrying.py", line 247, in get
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource six.reraise(self.value[0], self.value[1], self.value[2])
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/retrying.py", line 200, in call
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/vmware_nsx/plugins/nsx_v/vshield/vcns.py", line 203, in update_interface
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource return self.do_request(HTTP_PUT, uri, vnic, decode=True)
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/vmware_nsx/plugins/nsx_v/vshield/vcns.py", line 134, in do_request
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource headers, encodeParams)
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/retrying.py", line 49, in wrapped_f
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource return Retrying(*dargs, **dkw).call(f, *args, **kw)
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/retrying.py", line 206, in call
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource return attempt.get(self._wrap_exception)
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/retrying.py", line 247, in get
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource six.reraise(self.value[0], self.value[1], self.value[2])
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/retrying.py", line 200, in call
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/vmware_nsx/plugins/nsx_v/vshield/vcns.py", line 118, in _client_request
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource return client(method, uri, params, headers, encodeParams)
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/vmware_nsx/plugins/nsx_v/vshield/common/VcnsApiClient.py", line 132, in request
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource header=response.headers, response=response.text)
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource RequestBad: Request https://192.168.103.231/api/4.0/edges/edge-189/vnics/0 is Bad, response {"details":"Failed to configure VM WYY-Router-2-Exclusive-f4a4cd9c-4203-4af6-83d9-c6356057ab6b-0.","errorCode":1105,"rootCauseString":"VirtualEthernetCardNetworkBackingInfo required property deviceName not set","moduleName":"core-services"}
2017-04-06 11:39:43.172 21 ERROR neutron.api.v2.resource
2017-04-06 11:39:43.188 21 INFO neutron.wsgi [req-49f17b50-4dfa-4481-9ab8-58183317c012 1f33b40283b24adcaaf727ed11424523 4e8be975a6924817bdfb95f9cd69ab06 - - -] Traceback (most recent call last):
  File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/eventlet/wsgi.py", line 512, in handle_one_response
    write(b''.join(towrite))
  File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/eventlet/wsgi.py", line 453, in write
    wfile.flush()
  File "/usr/lib/python2.7/socket.py", line 307, in flush
    self._sock.sendall(view[write_offset:write_offset+buffer_size])
  File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/eventlet/greenio/base.py", line 385, in sendall
    tail = self.send(data, flags)
  File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/eventlet/greenio/base.py", line 379, in send
    return self._send_loop(self.fd.send, data, flags)
  File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/eventlet/greenio/base.py", line 366, in _send_loop
    return send_method(data, *args)
error: [Errno 104] Connection reset by peer

Akihiro Motoki (amotoki)
affects: neutron → vmware-nsx
Revision history for this message
Daniel 'f0o' Preussker (dpreussker) wrote :

I've got this issue as well. Running M-Release and NSX 6.3.1.5124716

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.