Updating a port with the existing ip_address and no subnet_id causes an exception:
2013-02-25 10:24:07.247 24249 WARNING quantum.api.extensions [-] Extension routed-service-insertion not supported by any of loaded plugins
2013-02-25 10:24:26.473 24249 ERROR quantum.api.v2.resource [-] update failed
2013-02-25 10:24:26.473 24249 TRACE quantum.api.v2.resource Traceback (most recent call last):
2013-02-25 10:24:26.473 24249 TRACE quantum.api.v2.resource File "/opt/stack/quantum/quantum/api/v2/resource.py", line 82, in resource
2013-02-25 10:24:26.473 24249 TRACE quantum.api.v2.resource result = method(request=request, **args)
2013-02-25 10:24:26.473 24249 TRACE quantum.api.v2.resource File "/opt/stack/quantum/quantum/api/v2/base.py", line 449, in update
2013-02-25 10:24:26.473 24249 TRACE quantum.api.v2.resource obj = obj_updater(request.context, id, **kwargs)
2013-02-25 10:24:26.473 24249 TRACE quantum.api.v2.resource File "/opt/stack/quantum/quantum/plugins/openvswitch/ovs_quantum_plugin.py", line 603, in update_port
2013-02-25 10:24:26.473 24249 TRACE quantum.api.v2.resource context, id, port)
2013-02-25 10:24:26.473 24249 TRACE quantum.api.v2.resource File "/opt/stack/quantum/quantum/db/db_base_plugin_v2.py", line 1323, in update_port
2013-02-25 10:24:26.473 24249 TRACE quantum.api.v2.resource p['fixed_ips'])
2013-02-25 10:24:26.473 24249 TRACE quantum.api.v2.resource File "/opt/stack/quantum/quantum/db/db_base_plugin_v2.py", line 645, in _update_ips_for_port
2013-02-25 10:24:26.473 24249 TRACE quantum.api.v2.resource original_ip['subnet_id'] == new_ip['subnet_id']):
2013-02-25 10:24:26.473 24249 TRACE quantum.api.v2.resource KeyError: 'subnet_id'
2013-02-25 10:24:26.473 24249 TRACE quantum.api.v2.resource
Fix proposed to branch: master /review. openstack. org/22865
Review: https:/