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

------------------------------------------------------------------------------
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

Reply via email to