Activity log for bug #1479105

Date Who What changed Old value New value Message
2015-07-28 20:48:41 Assaf Muller bug added bug
2015-07-28 20:50:31 Assaf Muller description I got a UnboundLocalError: local variable 'port_info' referenced before assignment exception while running local, yet unmerged fullstack tests. Looking at the code you can get that exception in one of two scenarios: 1) _agent_has_updates is False during the first iteration, I'm not sure if this is possible. 2) Or, in my case while executing the first '*port_info* = self.scan_ports(reg_ports, updated_ports_copy)', self.scan_ports raised an exception which is caught in the main RPC loop and then the very end of the RPC loop is reached, at which point 'port_stats = self.get_port_stats(*port_info*, ancillary_port_info)' raises an UnboundLocalError exception because port_info was never defined. I got a UnboundLocalError: local variable 'port_info' referenced before assignment exception while running local, yet unmerged fullstack tests. Looking at the code you can get that exception in one of two scenarios: 1) _agent_has_updates is False during the first iteration, I'm not sure if this is possible. 2) Or, in my case while executing the first '*port_info* = self.scan_ports(reg_ports, updated_ports_copy)', self.scan_ports raised an exception which is caught in the main RPC loop and then the very end of the RPC loop is reached, at which point 'port_stats = self.get_port_stats(*port_info*, ancillary_port_info)' raises an UnboundLocalError exception because port_info was never defined. This is a regression that results from https://review.openstack.org/#/c/199164/.
2015-07-28 20:50:48 Assaf Muller bug added subscriber Rossella Sblendido
2015-07-28 20:56:13 Assaf Muller summary Possible local variable 'port_info' referenced before assignment in OVS agent Possible local variable 'port_info' referenced before assignment crashing OVS agent
2015-07-28 20:56:29 Assaf Muller summary Possible local variable 'port_info' referenced before assignment crashing OVS agent Local variable 'port_info' referenced before assignment crashing OVS agent
2015-07-28 23:37:43 OpenStack Infra neutron: status New In Progress
2015-07-28 23:37:43 OpenStack Infra neutron: assignee Kevin Benton (kevinbenton)
2015-07-31 18:11:51 OpenStack Infra neutron: status In Progress Fix Committed
2015-08-11 13:23:29 OpenStack Infra tags in-feature-pecan
2015-09-03 19:09:24 Thierry Carrez neutron: status Fix Committed Fix Released
2015-09-03 19:09:24 Thierry Carrez neutron: milestone liberty-3
2015-10-15 12:31:23 Thierry Carrez neutron: milestone liberty-3 7.0.0