How to configure OFAgent

asked 2015-07-14 06:14:37 -0500

mfa gravatar image

Hi, I'm trying to configure OpenStack OFAgent agent following the next: https://github.com/osrg/ryu/wiki/Configuration-OpenStack-OFAgent-agent (https://github.com/osrg/ryu/wiki/Conf...)

I'm working with OpenStack Juno on Ubuntu14.04. I'm having a compilation error when I do the following:

$ python /usr/local/bin/neutron-ofagent-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini

Here's my error:

    2015-07-14 12:56:31.611 22047 INFO neutron.common.config [-] Logging enabled!
2015-07-14 12:56:31.611 22047 INFO ryu.base.app_manager [-] loading app networking_ofagent.plugins.ofagent.agent.ofa_neutron_agent
2015-07-14 12:56:31.620 22047 CRITICAL neutron [-] ImportError: No module named wrapt
2015-07-14 12:56:31.620 22047 TRACE neutron Traceback (most recent call last):
2015-07-14 12:56:31.620 22047 TRACE neutron   File "/usr/local/bin/neutron-ofagent-agent", line 11, in <module>
2015-07-14 12:56:31.620 22047 TRACE neutron     sys.exit(main())
2015-07-14 12:56:31.620 22047 TRACE neutron   File "/usr/local/lib/python2.7/dist-packages/networking_ofagent/plugins/ofagent/agent/main.py", line 39, in main
2015-07-14 12:56:31.620 22047 TRACE neutron     'networking_ofagent.plugins.ofagent.agent.ofa_neutron_agent'
2015-07-14 12:56:31.620 22047 TRACE neutron   File "/usr/local/lib/python2.7/dist-packages/ryu/base/app_manager.py", line 338, in run_apps
2015-07-14 12:56:31.620 22047 TRACE neutron     app_mgr.load_apps(app_lists)
2015-07-14 12:56:31.620 22047 TRACE neutron   File "/usr/local/lib/python2.7/dist-packages/ryu/base/app_manager.py", line 389, in load_apps
2015-07-14 12:56:31.620 22047 TRACE neutron     cls = self.load_app(app_cls_name)
2015-07-14 12:56:31.620 22047 TRACE neutron   File "/usr/local/lib/python2.7/dist-packages/ryu/base/app_manager.py", line 366, in load_app
2015-07-14 12:56:31.620 22047 TRACE neutron     mod = utils.import_module(name)
2015-07-14 12:56:31.620 22047 TRACE neutron   File "/usr/local/lib/python2.7/dist-packages/ryu/utils.py", line 92, in import_module
2015-07-14 12:56:31.620 22047 TRACE neutron     __import__(name)
2015-07-14 12:56:31.620 22047 TRACE neutron   File "/usr/local/lib/python2.7/dist-packages/networking_ofagent/plugins/ofagent/agent/ofa_neutron_agent.py", line 27, in <module>
2015-07-14 12:56:31.620 22047 TRACE neutron     from oslo_log import log as logging
2015-07-14 12:56:31.620 22047 TRACE neutron   File "/usr/local/lib/python2.7/dist-packages/oslo_log/log.py", line 51, in <module>
2015-07-14 12:56:31.620 22047 TRACE neutron     from oslo_log import formatters
2015-07-14 12:56:31.620 22047 TRACE neutron   File "/usr/local/lib/python2.7/dist-packages/oslo_log/formatters.py", line 24, in <module>
2015-07-14 12:56:31.620 22047 TRACE neutron     from oslo_serialization import jsonutils
2015-07-14 12:56:31.620 22047 TRACE neutron   File "/usr/local/lib/python2.7/dist-packages/oslo_serialization/jsonutils.py", line 60, in <module>
2015-07-14 12:56:31.620 22047 TRACE neutron     from oslo_utils import timeutils
2015-07-14 12:56:31.620 22047 TRACE neutron   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/timeutils.py", line 24, in <module>
2015-07-14 12:56:31.620 22047 TRACE neutron     from debtcollector import removals
2015-07-14 ...
(more)
edit retag flag offensive close merge delete