Comment 4 for bug 1336172

Revision history for this message
Maru Newby (maru) wrote : Re: neutron/agent/linux/ovs_lib.py: int(ofport) returns 'NoneType' instead of string or a number

This bug covers 2 failures caused by a recent patch that enabled execution of tests in the functional job that require sudo privileges:

 - OVSBridge.db_get_val() can return None if no output is returned from ovs-vsctl, and get_port_ofport() was calling int() on the return value to cause the reported failure. get_port_ofport() needs to be updated to handle the possibility of a None return value from db_get_val().

 - sudo invocations are requiring a password. the functional tests need to run with an account that allows password-less sudo.