[ovs-discuss] duplicate option: of_interface
Mooney, Sean K
sean.k.mooney at intel.com
Tue Aug 25 19:30:19 UTC 2015
Hi Gabe
We have started to see that message in our ci since this weekend.
We are currently investigating it but I belive a change has merged to neuton that we need to back port to
Our agent.
A lot of code has merged in the last 2 weeks as the code freeze for the liberty release is moday.
The stable kilo branch should be unaffected but we are actively looking into this at present.
Regards
Sean.
-----Original Message-----
From: Gabe Black [mailto:Gabe.Black at viavisolutions.com]
Sent: Tuesday, August 25, 2015 7:50 PM
To: bugs at openvswitch.org
Cc: Mooney, Sean K
Subject: duplicate option: of_interface
I have followed the getting started guide (http://git.openstack.org/cgit/stackforge/networking-ovs-dpdk/tree/doc/source/getstarted.rst) on both fedora 21 and Ubuntu 15.04 to get a single-node set up with dpdk ovs.
My local.conf file is identical to the one provided as the single node template: http://git.openstack.org/cgit/stackforge/networking-ovs-dpdk/tree/doc/source/_downloads/local.conf.single_node
I set HOST_IP_IFACE=eno1, HOST_IP=10.3.73.124, OVS_BRIDGE_MAPPINGS="default:br-enp4s0f0", and ML2_VLAN_RANGES=default:1000:1010
eno1 and associated IP is the interface/ip address of the server (i.e. what we use to ssh to the box). enp4s0f0 is the 10G intel nic interface that will eventually be used for the data interface in a multi-node setup. Finally the vlan range was just arbitrarily chosen.
Other than that, there isn't anything else modified other than following instructions of the getting started guide. However for both Fedora 21, and Ubuntu 15.04 (Ubuntu there were some mods that needed to take place like disabling apparmor, symlinking /var/run/openstack, and fixing ovs-dpdk-init script) result in the following error message in q-agt:
Traceback (most recent call last):
File "/usr/bin/networking-ovs-dpdk-agent", line 10, in <module>
sys.exit(main())
File "/usr/lib/python2.7/site-packages/networking_ovs_dpdk/eventlet/ovs_dpdk_neutron_agent.py", line 20, in main
agent_main.main()
File "/usr/lib/python2.7/site-packages/networking_ovs_dpdk/agent/main.py", line 43, in main
mod = importutils.import_module(mod_name)
File "/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 57, in import_module
__import__(import_str)
File "/usr/lib/python2.7/site-packages/networking_ovs_dpdk/agent/openflow/ovsdpdk_ofctl/main.py", line 17, in <module>
from networking_ovs_dpdk.agent import ovs_dpdk_neutron_agent
File "/usr/lib/python2.7/site-packages/networking_ovs_dpdk/agent/ovs_dpdk_neutron_agent.py", line 47, in <module>
from neutron.plugins.ml2.drivers.openvswitch.agent import ovs_dvr_neutron_agent
File "/opt/stack/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_dvr_neutron_agent.py", line 29, in <module>
cfg.CONF.import_group('AGENT', 'neutron.plugins.ml2.drivers.openvswitch.'
File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2088, in import_group
__import__(module_str)
File "/opt/stack/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/common/config.py", line 111, in <module>
cfg.CONF.register_opts(ovs_opts, "OVS")
File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 1824, in __inner
result = f(self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 1983, in register_opts
self.register_opt(opt, group, clear_cache=False)
File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 1828, in __inner
return f(self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 1967, in register_opt
return group._register_opt(opt, cli)
File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 1345, in _register_opt
if _is_opt_registered(self._opts, opt):
File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 574, in _is_opt_registered
raise DuplicateOptError(opt.name)
oslo_config.cfg.DuplicateOptError: duplicate option: of_interface q-agt failed to start
I thought this error message was just because Ubuntu testing/support hasn't been fleshed out yet with ovs-dpdk, but then I got the exact same error on Fedora 21. I tried editing both /opt/stack/neutron/neutron/plugins/ml2/drivers/openvswitch/agent/common/config.py and /opt/stack/networking-ovs-dpdk/networking_ovs_dpdk/common/config.py to get past the error, but then there are complaints about not finding br-int... So I'm guessing that isn't the correct workaround. Anyone have any suggestions of what I might have misconfigured?
Thank you for your help!
Gabriel Black
More information about the discuss
mailing list