Hello,

2013/11/16 張華婷 <[email protected]>:
> Hi,this is my first time to setup openstack with ryu.
> However, I met some problems. Please tell me how to solve them.
> I setup openstack first, and I change the plugin and agent to ryu.
> First, there is an import error, because there are some like "from ryu.app
> import client", but the directory "ryu" doesn't appear in
> /usr/lib/python2.7/dist-packages/,so I copy the directory from Internet to
> it. Is this step correct? Because the rest api ip can't be got correctly, it
> always is 127.0.0.1.

Please install Ryu by:
  $ sudo pip install ryu

>
> After I directly modified the rest api ip in ryu_quantum_agent.py, the
> second problem appears. In ryu-agent.log, this is a problem about "
> Initialization failed: (<httplib.HTTPResponse instance at 0x2886098>, 'code
> 404 reason Not Found', [('date', 'Sat, 16 Nov 2013 09:12:17 GMT'),
> ('content-length', '52'), ('content-type', 'text/plain; charset=UTF-8')],
> '404 Not Found\n\nThe resource could not be found.\n\n   ')  ".
> In the controller, this appears-- "192.168.3.11 - - [16/Nov/2013 17:12:17]
> "PUT /v1.0/conf/switches/000022877531ea44/ovs_tunnel_addr HTTP/1.1" 404 176
> 0.000466" .
>
> I trace code in ryu_quantum_agent.py, seems that this line
> fails--"sc_client.set_key(self.int_br.datapath_id,
>                           conf_switch_key.OVS_TUNNEL_ADDR, tunnel_ip)".
>
>
> Please tell me how can I solve these problems, ThX!!!!!!!!!!!!!!

Please refer to the document for configurations:
  https://github.com/osrg/ryu/wiki/OpenStack
I hope it will help you.

Thanks,
Kaneko

>
> ------------------------------------------------------------------------------
> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> Free app hosting. Or install the open source package on any LAMP server.
> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to