Hi
Thanks for your quick answer!
I got another question about create a Single Flat Network
<http://docs.openstack.org/trunk/openstack-network/admin/content/app_demo_flat.html>
If using ovs_quantum_plugin,
I can add [bridge_mappings = physnet1:br-flat, network_vlan_ranges =
physnet1] in ovs_quantum_plugin.ini and using command like
#quantum net-create --tenant-id 6890af2a71a64009b5997c75a6cec1c8
flatnet --shared --provider:network_type flat
--provider:physical_network physnet1
How to do it when I using ryu_quantum_plugin?
I got the only one result is:
Unrecognized attribute(s) 'provider:physical_network, provider:network_type'
Thanks
Wei-Ting Lin
2013/4/22 Yoshihiro Kaneko <[email protected]>
> Hello,
>
> 2013/4/22 Wei-Ting Lin <[email protected]>
>
>> 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?
>>
>
> Ryu plugin does not support Quantum Agent-Extension yet. Therefore these
> errors happen.
> I think that you can ignore these errors safely.
>
>
>> Here is my config, hope these can help, Thanks.
>>
>> *### ryu.ini*
>>
>
> [DATABASE]
>
>
>> sql_connection = mysql://quantum:[email protected]:3306/quantum
>>
>
>
> Thanks,
> Kaneko
>
>
>> [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
>>
>>
>
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel