Starting networking-odl with devstack, and enabling python3 in local.conf (USE_PYTHON3=True), results in exception like this:
INFO networking_odl.cmd.set_ovs_hostconfigs [-] Logging enabled!
INFO networking_odl.cmd.set_ovs_hostconfigs [-] SET-HOSTCONFIGS: Executing cmd: ovs-vsctl get Open_vSwitch . _uuid
INFO networking_odl.cmd.set_ovs_hostconfigs [-] SET-HOSTCONFIGS: Executing cmd: ovs-vsctl get Open_vSwitch . datapath_types
ERROR networking_odl.cmd.set_ovs_hostconfigs [-] Fatal error: a bytes-like object is required, not 'str': TypeError: a bytes-like object is required, not 'str'
ERROR networking_odl.cmd.set_ovs_hostconfigs Traceback (most recent call last):
ERROR networking_odl.cmd.set_ovs_hostconfigs File "/opt/stack/networking-odl/networking_odl/cmd/set_ovs_hostconfigs.py", line 488, in main
ERROR networking_odl.cmd.set_ovs_hostconfigs set_ovs_extid_hostconfigs(conf=conf, ovs_vsctl=OvsVsctl())
ERROR networking_odl.cmd.set_ovs_hostconfigs File "/opt/stack/networking-odl/networking_odl/cmd/set_ovs_hostconfigs.py", line 257, in set_ovs_extid_hostconfigs
ERROR networking_odl.cmd.set_ovs_hostconfigs userspace_datapath_types = ovs_vsctl.userspace_datapath_types()
ERROR networking_odl.cmd.set_ovs_hostconfigs File "/opt/stack/networking-odl/networking_odl/cmd/set_ovs_hostconfigs.py", line 419, in userspace_datapath_types
ERROR networking_odl.cmd.set_ovs_hostconfigs for datapath_type in USERSPACE_DATAPATH_TYPES
ERROR networking_odl.cmd.set_ovs_hostconfigs File "/opt/stack/networking-odl/networking_odl/cmd/set_ovs_hostconfigs.py", line 420, in <genexpr>
ERROR networking_odl.cmd.set_ovs_hostconfigs if datapath_types.find(datapath_type) >= 0)
ERROR networking_odl.cmd.set_ovs_hostconfigs TypeError: a bytes-like object is required, not 'str'
ERROR networking_odl.cmd.set_ovs_hostconfigs
+/opt/stack//networking-odl/devstack/entry_points:bind_opendaylight_controller:1 exit_trap
+./stack.sh:exit_trap:522 local r=1
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
$ python3 --version
Python 3.6.7
Fix proposed to branch: master /review. openstack. org/650876
Review: https:/