hi zgwonder,
Are there docs about implement Ryu with OpenStack folsom version ?
I followed this post
http://wiki.ebuntu.co.kr/mediawiki/index.php/Foslom_%2B_Ryu_install ,
but failed finally , I was totally frustrated and abandon .
From: ryu-devel-request
Date: 2013-01-08 16:36
To: ryu-devel
Subject: Ryu-devel Digest, Vol 14, Issue 1
Send Ryu-devel mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/ryu-devel
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ryu-devel digest..."
Today's Topics:
1. Cannot start ryu_quantum_agent.py (??)
2. Re: Cannot start ryu_quantum_agent.py (Isaku Yamahata)
3. nova start failed (??)
4. Re: [PATCH] test: change the branch of openvswitch to 'of12'
(FUJITA Tomonori)
5. Re: nova start failed (Isaku Yamahata)
6. [PATCH] setup: update installation infos (Isaku Yamahata)
----------------------------------------------------------------------
Message: 1
Date: Fri, 28 Dec 2012 14:54:20 +0800
From: ?? <[email protected]>
Subject: [Ryu-devel] Cannot start ryu_quantum_agent.py
To: [email protected]
Message-ID:
<cahmh4egsqtacugsaaz6moo4amhotmfqcxgmy6jwyywfsvc6...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
hi:
I want to use Ryu with Openstack Folsom , and I setup nova ,
quantum-2012.2 and ryu1.5 in one server, when I started ryu-manage, it
worked successfully. but when I start ryu_quantum_agent.py, it failed:
Traceback (most recent call last):
File "./ryu_quantum_agent.py", line 29, in <module>
from ryu.app import conf_switch_key
ImportError: cannot import name conf_switch_key
Then, I download a new quantum from the link in the ryu 1.5
documentation(git clone git://github.com/osrg/quantum.git),and start
ryu_quantum_agent.py
in new quantum, it still failed:
INFO:root:Connecting to database "ovs_quantum" on 10.21.3.83
DEBUG:root:checking db
Traceback (most recent call last):
File "./ryu_quantum_agent.py", line 405, in <module>
plugin = OVSQuantumOFPRyuAgent(config, integ_br, db)
File "./ryu_quantum_agent.py", line 288, in __init__
assert ret
AssertionError
Could you tell me what's the reason,thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 2
Date: Fri, 28 Dec 2012 18:17:29 +0900
From: Isaku Yamahata <[email protected]>
Subject: Re: [Ryu-devel] Cannot start ryu_quantum_agent.py
To: ???? <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
On Fri, Dec 28, 2012 at 02:54:20PM +0800, ???? wrote:
> hi:
> I want to use Ryu with Openstack Folsom , and I setup nova , quantum-2012.2
> and ryu1.5 in one server, when I started ryu-manage, it worked successfully.
> but when I start ryu_quantum_agent.py, it failed:
> Traceback (most recent call last):
> File "./ryu_quantum_agent.py", line 29, in <module>
> from ryu.app import conf_switch_key
> ImportError: cannot import name conf_switch_key
Patched ryu is needed in this case.
My latest public branch is
git://github.com/yamahata/ryu.git ryu-gre-tunnel-dec-03-2012
Or apply the patch that was posted on this ML.
> Then, I download a new quantum from the link in the ryu 1.5 documentation(git
> clone git://github.com/osrg/quantum.git),and start ryu_quantum_agent.py in new
> quantum, it still failed:
> INFO:root:Connecting to database "ovs_quantum" on 10.21.3.83
> DEBUG:root:checking db
> Traceback (most recent call last):
> File "./ryu_quantum_agent.py", line 405, in <module>
> plugin = OVSQuantumOFPRyuAgent(config, integ_br, db)
> File "./ryu_quantum_agent.py", line 288, in __init__
> assert ret
> AssertionError
You need to set the config variables, openflow-controller and
openflow-rest-api.
The easiest way to try Ryu and Openstack is use the pre-configured image.
--
yamahata
------------------------------
Message: 3
Date: Mon, 31 Dec 2012 10:23:35 +0800
From: ?? <[email protected]>
Subject: [Ryu-devel] nova start failed
To: [email protected]
Message-ID:
<CAHMh4eGj43fg7RU-3ruBt-2--=w9eptmgcfnyq6+t-lqduo...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
hi:
when I edited nova.conf as the Ryu 1.5 documentation, ryu can run. But
when I start nova, it failed, the log like this:
2012-12-31 10:16:44 INFO nova.compute.manager [-] Loading compute driver
'libvirt.LibvirtDriver'
2012-12-31 10:16:44 ERROR nova.all [-] Failed to load nova-compute
2012-12-31 10:16:44 TRACE nova.all Traceback (most recent call last):
2012-12-31 10:16:44 TRACE nova.all File
"/usr/local/lib/python2.7/dist-packages/nova-2013.1-py2.7.egg/EGG-INFO/scripts/nova-all",
line 79, in <module>
2012-12-31 10:16:44 TRACE nova.all
launcher.launch_server(service.Service.create(binary=binary))
2012-12-31 10:16:44 TRACE nova.all File
"/usr/local/lib/python2.7/dist-packages/nova-2013.1-py2.7.egg/nova/service.py",
line 494, in create
2012-12-31 10:16:44 TRACE nova.all
periodic_fuzzy_delay=periodic_fuzzy_delay)
2012-12-31 10:16:44 TRACE nova.all File
"/usr/local/lib/python2.7/dist-packages/nova-2013.1-py2.7.egg/nova/service.py",
line 381, in __init__
2012-12-31 10:16:44 TRACE nova.all self.manager =
manager_class(host=self.host, *args, **kwargs)
2012-12-31 10:16:44 TRACE nova.all File
"/usr/local/lib/python2.7/dist-packages/nova-2013.1-py2.7.egg/nova/compute/manager.py",
line 302, in __init__
2012-12-31 10:16:44 TRACE nova.all self.virtapi),
2012-12-31 10:16:44 TRACE nova.all File
"/usr/local/lib/python2.7/dist-packages/nova-2013.1-py2.7.egg/nova/openstack/common/importutils.py",
line 51, in import_object_ns
2012-12-31 10:16:44 TRACE nova.all return
import_class(import_value)(*args, **kwargs)
2012-12-31 10:16:44 TRACE nova.all File
"/usr/local/lib/python2.7/dist-packages/nova-2013.1-py2.7.egg/nova/virt/libvirt/driver.py",
line 274, in __init__
2012-12-31 10:16:44 TRACE nova.all get_connection=self._get_connection)
2012-12-31 10:16:44 TRACE nova.all File
"/usr/local/lib/python2.7/dist-packages/nova-2013.1-py2.7.egg/nova/virt/firewall.py",
line 49, in load_driver
2012-12-31 10:16:44 TRACE nova.all return fw_class(*args, **kwargs)
2012-12-31 10:16:44 TRACE nova.all File
"/usr/lib/python2.7/dist-packages/quantum/plugins/ryu/nova/firewall.py",
line 25, in __init__
2012-12-31 10:16:44 TRACE nova.all super(NopFirewallDriver,
self).__init__()
2012-12-31 10:16:44 TRACE nova.all TypeError: __init__() takes exactly 2
arguments (1 given)
2012-12-31 10:16:44 TRACE nova.all
my nova.conf:
network_manager=nova.network.quantum.manager.QuantumManager
rk_manager=nova.network.quantum.manager.QuantumManager
quantum_connection_host=10.21.3.83
firewall_driver=quantum.plugins.ryu.nova.firewall.NopFirewallDriver
quantum_use_dhcp=True
linuxnet_interface_driver=quantum.plugins.ryu.nova.linux_net.LinuxOVSRyuInterfaceDrive
linuxnet_ovs_ryu_api_host=10.21.3.83:6633
libvirt_ovs_integration_bridge=br-int
libvirt_vif_driver=quantum.plugins.ryu.nova.vif.LibvirtOpenVswitchOFPRyuDriver
libvirt_ovs_ryu_api_host=10.21.3.83:6633
Could you tell me why, thank you
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 4
Date: Mon, 07 Jan 2013 08:47:40 +0900 (JST)
From: FUJITA Tomonori <[email protected]>
Subject: Re: [Ryu-devel] [PATCH] test: change the branch of
openvswitch to 'of12'
To: [email protected]
Cc: [email protected]
Message-ID:
<20130107.084740.1568838937885755591.fujita.tomon...@lab.ntt.co.jp>
Content-Type: Text/Plain; charset=us-ascii
On Fri, 28 Dec 2012 10:16:21 +0900
HIYAMA Manabu <[email protected]> wrote:
> Change the branch of openvswitch used by integration tests to 'of12'
>
> Signed-off-by: HIYAMA Manabu <[email protected]>
> ---
> ryu/tests/integrated/test_add_flow_v12_actions.py | 120 ++++-
> ryu/tests/integrated/test_add_flow_v12_matches.py | 563
> ++++++++++++---------
> ryu/tests/integrated/test_request_reply_v12.py | 4 +-
> ryu/tests/integrated/tester.py | 38 ++-
> 4 files changed, 460 insertions(+), 265 deletions(-)
Applied, thanks.
------------------------------
Message: 5
Date: Mon, 7 Jan 2013 11:22:19 +0900
From: Isaku Yamahata <[email protected]>
Subject: Re: [Ryu-devel] nova start failed
To: [email protected]
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
On Mon, Dec 31, 2012 at 10:23:35AM +0800, ???? wrote:
> hi:
Hi. Sorry for late reply.
> when I edited nova.conf as the Ryu 1.5 documentation, ryu can run. But when
> I start nova, it failed, the log like this:
I'm afraid that you're trying the bad combination of nova, quantum and ryu.
Although I'm not sure which version of nova you're using,
firewall_driver=nova.virt.firewall.NoopFirewallDriver would work.
thanks,
> 2012-12-31 10:16:44 INFO nova.compute.manager [-] Loading compute driver
> 'libvirt.LibvirtDriver'
> 2012-12-31 10:16:44 ERROR nova.all [-] Failed to load nova-compute
> 2012-12-31 10:16:44 TRACE nova.all Traceback (most recent call last):
> 2012-12-31 10:16:44 TRACE nova.all File "/usr/local/lib/python2.7/
> dist-packages/nova-2013.1-py2.7.egg/EGG-INFO/scripts/nova-all", line 79, in
> <module>
> 2012-12-31 10:16:44 TRACE nova.all launcher.launch_server
> (service.Service.create(binary=binary))
> 2012-12-31 10:16:44 TRACE nova.all File "/usr/local/lib/python2.7/
> dist-packages/nova-2013.1-py2.7.egg/nova/service.py", line 494, in create
> 2012-12-31 10:16:44 TRACE nova.all periodic_fuzzy_delay=
> periodic_fuzzy_delay)
> 2012-12-31 10:16:44 TRACE nova.all File "/usr/local/lib/python2.7/
> dist-packages/nova-2013.1-py2.7.egg/nova/service.py", line 381, in __init__
> 2012-12-31 10:16:44 TRACE nova.all self.manager = manager_class(host=
> self.host, *args, **kwargs)
> 2012-12-31 10:16:44 TRACE nova.all File "/usr/local/lib/python2.7/
> dist-packages/nova-2013.1-py2.7.egg/nova/compute/manager.py", line 302, in
> __init__
> 2012-12-31 10:16:44 TRACE nova.all self.virtapi),
> 2012-12-31 10:16:44 TRACE nova.all File "/usr/local/lib/python2.7/
> dist-packages/nova-2013.1-py2.7.egg/nova/openstack/common/importutils.py",
> line
> 51, in import_object_ns
> 2012-12-31 10:16:44 TRACE nova.all return
> import_class(import_value)(*args,
> **kwargs)
> 2012-12-31 10:16:44 TRACE nova.all File "/usr/local/lib/python2.7/
> dist-packages/nova-2013.1-py2.7.egg/nova/virt/libvirt/driver.py", line 274, in
> __init__
> 2012-12-31 10:16:44 TRACE nova.all get_connection=self._get_connection)
> 2012-12-31 10:16:44 TRACE nova.all File "/usr/local/lib/python2.7/
> dist-packages/nova-2013.1-py2.7.egg/nova/virt/firewall.py", line 49, in
> load_driver
> 2012-12-31 10:16:44 TRACE nova.all return fw_class(*args, **kwargs)
> 2012-12-31 10:16:44 TRACE nova.all File "/usr/lib/python2.7/dist-packages/
> quantum/plugins/ryu/nova/firewall.py", line 25, in __init__
> 2012-12-31 10:16:44 TRACE nova.all super(NopFirewallDriver, self).__init__
> ()
> 2012-12-31 10:16:44 TRACE nova.all TypeError: __init__() takes exactly 2
> arguments (1 given)
> 2012-12-31 10:16:44 TRACE nova.all
>
> my nova.conf:
> network_manager=nova.network.quantum.manager.QuantumManager
> rk_manager=nova.network.quantum.manager.QuantumManager
> quantum_connection_host=10.21.3.83
> firewall_driver=quantum.plugins.ryu.nova.firewall.NopFirewallDriver
> quantum_use_dhcp=True
> linuxnet_interface_driver=
> quantum.plugins.ryu.nova.linux_net.LinuxOVSRyuInterfaceDrive
> linuxnet_ovs_ryu_api_host=10.21.3.83:6633
> libvirt_ovs_integration_bridge=br-int
> libvirt_vif_driver=quantum.plugins.ryu.nova.vif.LibvirtOpenVswitchOFPRyuDriver
> libvirt_ovs_ryu_api_host=10.21.3.83:6633
>
> Could you tell me why, thank you
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. SALE $99.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122412
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
--
yamahata
------------------------------
Message: 6
Date: Tue, 8 Jan 2013 17:35:58 +0900
From: Isaku Yamahata <[email protected]>
Subject: [Ryu-devel] [PATCH] setup: update installation infos
To: [email protected]
Cc: [email protected]
Message-ID:
<44e8c28bf3747a1791a75098548efe4fb0bc9877.1357634096.git.yamah...@valinux.co.jp>
- clean up setup.py and MANIFEST.in
- simplejson isn't needed anymore
- allow webob >= 1.0.8 as openstack quantum uses >= 1.0.8 version
- allow gflags >= 1.3 as Fedora 18 uses gflags 1.5
Signed-off-by: Isaku Yamahata <[email protected]>
---
MANIFEST.in | 2 +-
setup.cfg | 12 ++++++++++--
setup.py | 2 +-
tools/pip-requires | 5 ++---
4 files changed, 14 insertions(+), 7 deletions(-)
diff --git a/MANIFEST.in b/MANIFEST.in
index d7d8ecd..1d97c88 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,6 +1,6 @@
include LICENSE
-include README.rst
include MANIFEST.in
+include *.rst
graft contrib
graft doc
graft etc
diff --git a/setup.cfg b/setup.cfg
index 411aade..ac6ba19 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,14 @@
-# TODO
+[build_sphinx]
+all_files = 1
+build-dir = doc/build
+source-dir = doc/source
[bdist_rpm]
Release = 1
Group = Applications/Accessories
-Requires = python-gevent >= 0.13, python-gflags, python-simplejson,
python-webob, python-routes
+Requires = python-gevent >= 0.13, python-gflags, python-routes, python-webob
+doc_files = LICENSE
+ MANIFEST.in
+ README.rst
+ SubmittingPatches.rst
+ doc/
diff --git a/setup.py b/setup.py
index f1915a7..297c89d 100644
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-import os
import sys
from setuptools import find_packages
@@ -35,6 +34,7 @@ if doing_bdist:
start:long_description.find('\n\n\n', start)]
classifiers = [
+ 'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: Apache Software License',
'Topic :: System :: Networking',
'Natural Language :: English',
diff --git a/tools/pip-requires b/tools/pip-requires
index c036d18..592617e 100644
--- a/tools/pip-requires
+++ b/tools/pip-requires
@@ -1,5 +1,4 @@
gevent>=0.13
-python-gflags==1.3
+python-gflags>=1.3
routes
-simplejson
-webob==1.0.8
+webob>=1.0.8
--
1.7.10.4
------------------------------
------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel
End of Ryu-devel Digest, Vol 14, Issue 1
****************************************------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel