Hi,
I'm new to OpenStack and Ryu.
When I test openstack Grizzly, using ryu_quantum_plugin , there're some
errors.
*### /var/log/quantum/server.log*
*2013-04-22 10:54:50 ERROR [quantum.openstack.common.rpc.amqp] Exception
during message handling*
*Traceback (most recent call last):*
* File
"/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/amqp.py",
line 430, in _process_data*
* rval = self.proxy.dispatch(ctxt, version, method, **args)*
* File "/usr/lib/python2.7/dist-packages/quantum/common/rpc.py", line 43,
in dispatch*
* quantum_ctxt, version, method, **kwargs)*
* File
"/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/dispatcher.py",
line 136, in dispatch*
* raise AttributeError("No such RPC function '%s'" % method)*
*AttributeError: No such RPC function 'report_state'*
*2013-04-22 10:54:50 ERROR [quantum.openstack.common.rpc.common]
Returning exception No such RPC function 'report_state' to caller*
*2013-04-22 10:54:50 ERROR [quantum.openstack.common.rpc.common]
['Traceback (most recent call last):\n', ' File
"/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/amqp.py",
line 430, in _process_data\n rval = self.proxy.dispatch(ctxt, version,
method, **args)\n', ' File
"/usr/lib/python2.7/dist-packages/quantum/common/rpc.py", line 43, in
dispatch\n quantum_ctxt, version, method, **kwargs)\n', ' File
"/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/dispatcher.py",
line 136, in dispatch\n raise AttributeError("No such RPC function
\'%s\'" % method)\n', "AttributeError: No such RPC function
'report_state'\n"]*
*
*
*### dhcp-agent.log *
*2013-04-21 00:31:35 WARNING [quantum.agent.dhcp_agent] Quantum server
does not support state report. State report for this agent will be disabled.
*
*### l3-agent.log *
*2013-04-22 11:08:57 WARNING [quantum.agent.l3_agent] Quantum server does
not support state report. State report for this agent will be disabled.*
*
*
Could someone can tell me what am I doing wrong?
Here is my config, hope these can help, Thanks.
*### ryu.ini*
sql_connection = mysql://quantum:[email protected]:3306/quantum
[OVS]
integration_bridge = br-int
openflow_rest_api = 192.168.126.160
tunnel_interface = eth0
ovsdb_interface = eth0
[SECURITYGROUP]
firewall_driver =
quantum.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
[AGENT]
polling_interval = 2
*### dhcp_agent.ini*
[DEFAULT]
state_path = /var/lib/quantum
# OVS based plugins(OVS, Ryu, NEC, NVP, BigSwitch/Floodlight)
interface_driver = quantum.agent.linux.interface.OVSInterfaceDriver
ovs_use_veth = True
dhcp_driver = quantum.agent.linux.dhcp.Dnsmasq
use_namespaces = True
admin_tenant_name = service
admin_user = quantum
admin_password = password
auth_url = http://192.168.126.160:35357/v2.0
root_helper = sudo quantum-rootwrap /etc/quantum/rootwrap.conf
signing_dir = /var/cache/quantum
*### quantum.conf *
[DEFAULT]
bind_host = 0.0.0.0
bind_port = 9696
core_plugin = quantum.plugins.ryu.ryu_quantum_plugin.RyuQuantumPluginV2
quantum_plugin_config = /etc/quantum/plugins/ryu/ryu.ini
api_paste_config = /etc/quantum/api-paste.ini
allow_overlapping_ips = True
control_exchange = quantum
rabbit_host = 192.168.126.160
notification_driver = quantum.openstack.common.notifier.rpc_notifier
default_notification_level = INFO
notification_topics = notifications
[QUOTAS]
quota_driver = quantum.db.quota_db.DbQuotaDriver
[AGENT]
root_helper = sudo quantum-rootwrap /etc/quantum/rootwrap.conf
[keystone_authtoken]
auth_host = 192.168.126.160
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = quantum
admin_password = password
signing_dir = /var/lib/quantum/keystone-signing
root@ubuntu:~# ryu-manager --version
*ryu-manager 1.8*
*### /etc/ryu/ryu.conf*
[DEFAULT]
# GRE tunneling
app_lists =
ryu.app.client,ryu.app.conf_switch_key,ryu.app.gre_tunnel,ryu.app.ofctl_rest,ryu.app.quantum_adapter,ryu.app.rest,ryu.app.rest_conf_switch,ryu.app.rest_firewall,ryu.app.rest_nw_id,ryu.app.rest_quantum,ryu.app.rest_topology,ryu.app.rest_tunnel,ryu.app.tunnel_port_updater
wsapi_host = 0.0.0.0
wsapi_port = 8080
ofp_listen_host = 0.0.0.0
ofp_tcp_listen_port = 6633
quantum_url = http://192.168.126.160:9696
quantum_admin_username = quantum
quantum_admin_password = password
quantum_admin_tenant_name = service
quantum_admin_auth_url = http://192.168.126.160:5000/v2.0
quantum_auth_strategy = keystone
quantum_controller_addr = tcp:192.168.126.160:6633
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel