yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #09712
[Bug 1252437] Re: uncaught portnotfound exception on get_dhcp_port
** Also affects: neutron/havana
Importance: Undecided
Status: New
** Changed in: neutron/havana
Status: New => Fix Committed
** Changed in: neutron/havana
Milestone: None => 2013.2.2
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1252437
Title:
uncaught portnotfound exception on get_dhcp_port
Status in OpenStack Neutron (virtual network service):
Fix Released
Status in neutron havana series:
Fix Committed
Bug description:
While working on fix for bug #1251874 I have noticed this stacktrace
in the log:
2013-11-18 17:20:46.237 1021 ERROR neutron.openstack.common.rpc.amqp [-] Exception during message handling
2013-11-18 17:20:46.237 1021 TRACE neutron.openstack.common.rpc.amqp Traceback (most recent call last):
2013-11-18 17:20:46.237 1021 TRACE neutron.openstack.common.rpc.amqp File "/opt/stack/new/neutron/neutron/openstack/common/rpc/amqp.py", line 438, in _process_data
2013-11-18 17:20:46.237 1021 TRACE neutron.openstack.common.rpc.amqp **args)
2013-11-18 17:20:46.237 1021 TRACE neutron.openstack.common.rpc.amqp File "/opt/stack/new/neutron/neutron/common/rpc.py", line 44, in dispatch
2013-11-18 17:20:46.237 1021 TRACE neutron.openstack.common.rpc.amqp neutron_ctxt, version, method, namespace, **kwargs)
2013-11-18 17:20:46.237 1021 TRACE neutron.openstack.common.rpc.amqp File "/opt/stack/new/neutron/neutron/openstack/common/rpc/dispatcher.py", line 172, in dispatch
2013-11-18 17:20:46.237 1021 TRACE neutron.openstack.common.rpc.amqp result = getattr(proxyobj, method)(ctxt, **kwargs)
2013-11-18 17:20:46.237 1021 TRACE neutron.openstack.common.rpc.amqp File "/opt/stack/new/neutron/neutron/db/dhcp_rpc_base.py", line 139, in get_dhcp_port
2013-11-18 17:20:46.237 1021 TRACE neutron.openstack.common.rpc.amqp dict(port=port))
2013-11-18 17:20:46.237 1021 TRACE neutron.openstack.common.rpc.amqp File "/opt/stack/new/neutron/neutron/plugins/ml2/plugin.py", line 588, in update_port
2013-11-18 17:20:46.237 1021 TRACE neutron.openstack.common.rpc.amqp original_port = super(Ml2Plugin, self).get_port(context, id)
2013-11-18 17:20:46.237 1021 TRACE neutron.openstack.common.rpc.amqp File "/opt/stack/new/neutron/neutron/db/db_base_plugin_v2.py", line 1454, in get_port
2013-11-18 17:20:46.237 1021 TRACE neutron.openstack.common.rpc.amqp port = self._get_port(context, id)
2013-11-18 17:20:46.237 1021 TRACE neutron.openstack.common.rpc.amqp File "/opt/stack/new/neutron/neutron/db/db_base_plugin_v2.py", line 266, in _get_port
2013-11-18 17:20:46.237 1021 TRACE neutron.openstack.common.rpc.amqp raise q_exc.PortNotFound(port_id=id)
2013-11-18 17:20:46.237 1021 TRACE neutron.openstack.common.rpc.amqp PortNotFound: Port d68c27dd-210b-4b10-9c41-40ba01aa0fd3 could not be found
This is because the try-except looks for exc.NoResultFound and this is
obviously a mistake.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1252437/+subscriptions