← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1796898] [NEW] db_get_val can return None which isn't iterable

 

Public bug reported:

http://logs.openstack.org/59/570259/16/check/neutron-functional/4b75a88
/job-output.txt.gz#_2018-10-05_21_41_35_322097

When calling db_get_val("Bridge", br.br_name, "controller"), if the
Bridge is not in the OVSDB, it can return None. set_controller_field()
tries to iterate over this and throws an Exception.

** Affects: neutron
     Importance: Undecided
     Assignee: Terry Wilson (otherwiseguy)
         Status: In Progress

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

Title:
  db_get_val can return None which isn't iterable

Status in neutron:
  In Progress

Bug description:
  http://logs.openstack.org/59/570259/16/check/neutron-
  functional/4b75a88/job-output.txt.gz#_2018-10-05_21_41_35_322097

  When calling db_get_val("Bridge", br.br_name, "controller"), if the
  Bridge is not in the OVSDB, it can return None. set_controller_field()
  tries to iterate over this and throws an Exception.

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


Follow ups