yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #01248
[Bug 1132852] Re: Port update without subnet id causes an exception
** Changed in: quantum
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to quantum.
https://bugs.launchpad.net/bugs/1132852
Title:
Port update without subnet id causes an exception
Status in OpenStack Quantum (virtual network service):
Fix Released
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/quantum/+bug/1132852/+subscriptions