** Changed in: neutron
       Status: Fix Committed => Fix Released

** Changed in: neutron
    Milestone: None => liberty-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1479105

Title:
  Local variable 'port_info' referenced before assignment crashing OVS
  agent

Status in neutron:
  Fix Released

Bug 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.

  This is a regression that results from
  https://review.openstack.org/#/c/199164/.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1479105/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to