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

Reply via email to