Hi kakuma, Thank you for your reply and update the document.
> > Configuration OpenStack OFAgent agent > > https://github.com/osrg/ryu/wiki/Configuration-OpenStack-OFAgent-agent > > > > I added about a ryu version to be installed and configurations > for kilo in the above document. > Is there a point considered that you are old in the document > other than the above? Sorry I should not say old; it is a matter of variation for different versions and environments... Maybe it is better to tell deb package users to edit /etc/neutron/plugins/ml2/ml2_conf_ofa.ini instead of /etc/neutron/plugins/ml2/ml2_conf.ini if ofagent only depends on ml2_conf_ofa.ini. (And it may be kind to tell they don't have to "Start the agent" explicitly as written in this document, or they should check it with the command "service neutron-plugin-openflow-agent status") > Please use ryu of vaersion 3.19 or later for juno. Thank you for the advice. My ryu is version 3.20.2 in my Juno environment. But there is an error in /var/log/neutron/openflow-agent.log as follows, when I restart the agent with service neutron-plugin-openflow-agent restart -------------------------------------------------------------- ................ ................ 555-b0c5-4058-9556-7b8b678270c6 ] Connecting to AMQP server on controller:5672 2015-05-11 04:10:47.332 4015 INFO oslo.messaging._drivers.impl_rabbit [req-14eb5555-b0c5-4058-9556-7b8b678270c6 ] Connected to AMQP server on controller:5672 2015-05-11 04:10:47.341 4015 ERROR ryu.lib.hub [req-14eb5555-b0c5-4058-9556-7b8b678270c6 ] hub: uncaught exception: Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/ryu/lib/hub.py", line 52, in _launch func(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/neutron/plugins/ofagent/agent/ofa_neutro n_agent.py", line 161, in _agent_main agent = OFANeutronAgent(ryuapp, **agent_config) File "/usr/lib/python2.7/dist-packages/neutron/plugins/ofagent/agent/ofa_neutro n_agent.py", line 250, in __init__ self.setup_integration_br() File "/usr/lib/python2.7/dist-packages/neutron/plugins/ofagent/agent/ofa_neutro n_agent.py", line 596, in setup_integration_br br.setup_ofp() File "/usr/lib/python2.7/dist-packages/neutron/plugins/ofagent/agent/ofa_neutro n_agent.py", line 111, in setup_ofp host = cfg.CONF.ofp_listen_host File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1697, in __getattr__ raise NoSuchOptError(name) NoSuchOptError: no such option: ofp_listen_host 2015-05-11 04:10:47.342 4015 INFO oslo.messaging._drivers.impl_rabbit [-] Connecting to AMQP server on controller:5672 2015-05-11 04:10:47.349 4015 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on controller:5672 -------------------------------------------------------------- Please let me know if you recognize what the error means. Thank you very much. Best regards, Masato Oguchi > -----Original Message----- > From: fumihiko kakuma [mailto:[email protected]] > Sent: Friday, May 08, 2015 7:50 PM > To: Masato Oguchi > Cc: [email protected] > Subject: Re: [Ryu-devel] How to start the ofagent > > Hi Oguchi, > > On Sat, 2 May 2015 07:29:33 +0900 > Masato Oguchi <[email protected]> wrote: > > > Hi kakuma, > > > > Thank you for various information. > > I only refer the following page for OFAgent, which seems > > to include many old information... > > > > Configuration OpenStack OFAgent agent > > https://github.com/osrg/ryu/wiki/Configuration-OpenStack-OFAgent-agent > > > > I added about a ryu version to be installed and configurations > for kilo in the above document. > Is there a point considered that you are old in the document > other than the above? > > > If there is newer documents about these matters, > > please let me know. > > > > Currently there is only the above. > > > > > You can use --ofp-tcp-listen-port option. > > > > Thanks. I will use this. > > > > > > openvswitch-agent.log is a log file for openvswitch > > > > agent. > > > > You should check /var/log/neutron/openflow-agent.log to > > > > see a status of ofagent agent. > > > > And please run only one agent on a node. > > > > Is this mean, I have to stop > > neutron-plugin-openvswitch-agent > > if this is running, when I use > > neutron-plugin-openflow-agent? > > > > > > > The following seems to need in addition. > > > > > > # sudo apt-get install rabbitmq-server > > > > I have installed this package. > > > > > And ofagent installed from deb package is ran from > > > Upstart using /etc/init/neutron-plugin-openflow-agent.conf > > > That refers /etc/neutron/plugins/ml2/ml2_conf_ofa.ini instead of > > > /etc/neutron/plugins/ml2/ml2_conf.ini. > > > So you should configure /etc/neutron/plugins/ml2/ml2_conf_ofa.ini. > > > > > > Procedure would be this way: > > > > > > # service neutron-plugin-openflow-agent stop > > > > > > do some modification. > > > > > > # service neutron-plugin-openflow-agent start > > > > I have configured /etc/neutron/plugins/ml2/ml2_conf_ofa.ini > > and restart neutron-plugin-openflow-agent as you suggested. > > > > But this openflow agent seems not to work properly. > > The last part of /var/log/neutron/openflow-agent.log is > > as follows: > > > > Please use ryu of vaersion 3.19 or later for juno. > > > ---------------------------------------------------- > > 2015-05-02 06:48:01.455 6961 INFO oslo.messaging._drivers.impl_rabbit > > [req-4d09d2a0-3f4c-493c-88a5-0c9213a9a54e ] Connecting to AMQP server on > > controller:5672 > > 2015-05-02 06:48:01.464 6961 INFO oslo.messaging._drivers.impl_rabbit > > [req-4d09d2a0-3f4c-493c-88a5-0c9213a9a54e ] Connected to AMQP server on > > controller:5672 > > 2015-05-02 06:48:01.472 6961 ERROR ryu.lib.hub > > [req-4d09d2a0-3f4c-493c-88a5-0c9213a9a54e ] hub: uncaught exception: > > Traceback (most recent call last): > > File "/usr/local/lib/python2.7/dist-packages/ryu/lib/hub.py", line 52, > > in _launch > > func(*args, **kwargs) > > File > > "/usr/lib/python2.7/dist-packages/neutron/plugins/ofagent/agent/ofa_neutro > > n_agent.py", line 161, in _agent_main > > agent = OFANeutronAgent(ryuapp, **agent_config) > > File > > "/usr/lib/python2.7/dist-packages/neutron/plugins/ofagent/agent/ofa_neutro > > n_agent.py", line 250, in __init__ > > self.setup_integration_br() > > File > > "/usr/lib/python2.7/dist-packages/neutron/plugins/ofagent/agent/ofa_neutro > > n_agent.py", line 596, in setup_integration_br > > br.setup_ofp() > > File > > "/usr/lib/python2.7/dist-packages/neutron/plugins/ofagent/agent/ofa_neutro > > n_agent.py", line 111, in setup_ofp > > host = cfg.CONF.ofp_listen_host > > File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1697, > > in __getattr__ > > raise NoSuchOptError(name) > > NoSuchOptError: no such option: ofp_listen_host > > > > 2015-05-02 06:48:01.474 6961 INFO oslo.messaging._drivers.impl_rabbit [-] > > Connecting to AMQP server on controller:5672 > > 2015-05-02 06:48:01.481 6961 INFO oslo.messaging._drivers.impl_rabbit [-] > > Connected to AMQP server on controller:5672 > > ---------------------------------------------------- > > > > And the Ryu application still cannot work. > > /etc/neutron/plugins/ml2/ml2_conf_ofa.ini is configured > > just like /etc/neutron/plugins/ml2/ml2_conf.ini. > > Did I miss something? > > > > > > Best regards, > > Masato Oguchi > > > > > > Cut the following because too long. > > -- > fumihiko kakuma <[email protected]> > ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
