[ovs-discuss] No packet-in with ofp_action_output + OFPP_CONTROLLER

kk yap yapkke at stanford.edu
Thu Feb 17 21:40:21 UTC 2011


Hi,

I actually did reboot the machine and re-insert the datapath on that
try, so the version should be consistent.

I cannot seem to connect with vos-vswitchd (ovs-vswitchd -v
tcp:127.0.0.1:6633).  It is giving me protocol error for some reason.

Feb 17 13:37:22|00026|poll_loop|DBG|[POLLOUT] on fd 11: 0x80cb199
0x80e6432 0x80bff55 0x8068faa 0x80737f8 0xb74cdbd6
Feb 17 13:37:22|00027|reconnect|INFO|tcp:127.0.0.1:6633: connected
Feb 17 13:37:22|00028|reconnect|DBG|tcp:127.0.0.1:6633: entering ACTIVE
Feb 17 13:37:22|00029|jsonrpc|DBG|tcp:127.0.0.1:6633: send request,
method="monitor",
params=["Open_vSwitch",null,{"SSL":{"columns":["bootstrap_ca_cert","ca_cert","certificate","external_ids","private_key"]},"Capability":{"columns":["details"]},"Bridge":{"columns":["controller","datapath_id","datapath_type","fail_mode","flood_vlans","mirrors","name","netflow","other_config","ports","sflow"]},"Port":{"columns":["bond_downdelay","bond_fake_iface","bond_mode","bond_updelay","interfaces","lacp","mac","name","other_config","qos","tag","trunks"]},"NetFlow":{"columns":["active_timeout","add_id_to_interface","engine_id","engine_type","external_ids","targets"]},"Controller":{"columns":["connection_mode","controller_burst_limit","controller_rate_limit","discover_accept_regex","discover_update_resolv_conf","external_ids","inactivity_probe","is_connected","local_gateway","local_ip","local_netmask","max_backoff","role","status","target"]},"Mirror":{"columns":["external_ids","name","output_port","output_vlan","select_all","select_dst_port","select_src_port","select_vlan"]},"Queue":{"columns":["external_ids","other_config"]},"QoS":{"columns":["external_ids","other_config","queues","type"]},"Interface":{"columns":["admin_state","duplex","ingress_policing_burst","ingress_policing_rate","link_speed","link_state","mac","monitor","mtu","name","ofport","options","other_config","statistics","status","type"]},"sFlow":{"columns":["agent","external_ids","header","polling","sampling","targets"]},"Open_vSwitch":{"columns":["bridges","capabilities","cur_cfg","db_version","manager_options","managers","next_cfg","ovs_version","ssl","statistics","system_type","system_version"]},"Maintenance_Point":{"columns":["fault","mpid"]},"Manager":{"columns":["connection_mode","external_ids","inactivity_probe","is_connected","max_backoff","status","target"]},"Monitor":{"columns":["fault","interval","ma_name","md_name","mpid","remote_mps","unexpected_remote_maids","unexpected_remote_mpids"]}}],
id=0
Feb 17 13:37:22|00030|poll_loop|DBG|[POLLIN] on fd 11: 0x80cb179
0x8068faa 0x80737f8 0xb74cdbd6
Feb 17 13:37:22|00031|jsonrpc|WARN|tcp:127.0.0.1:6633: error parsing
stream: line 0, column 1, byte 1: invalid character U+0001
Feb 17 13:37:22|00032|jsonrpc|WARN|tcp:127.0.0.1:6633: received
OpenFlow data on JSON-RPC channel
Feb 17 13:37:22|00033|poll_loop|DBG|0-ms timeout: 0x80c46da 0x8068faa
0x80737f8 0xb74cdbd6
Feb 17 13:37:22|00034|reconnect|WARN|tcp:127.0.0.1:6633: connection
dropped (Protocol error)
Feb 17 13:37:22|00035|reconnect|INFO|tcp:127.0.0.1:6633: waiting 8
seconds before reconnect
Feb 17 13:37:22|00036|reconnect|DBG|tcp:127.0.0.1:6633: entering BACKOFF
Feb 17 13:37:25|00037|poll_loop|DBG|2994-ms timeout: 0x8068fc1
0x80737f8 0xb74cdbd6

Regards
KK

On 17 February 2011 12:24, Ben Pfaff <blp at nicira.com> wrote:
> On Thu, Feb 17, 2011 at 11:37:06AM -0800, kk yap wrote:
>> I tried in vain to replicate your success with ovs-controller.  My
>> ovs-openflowd  is showing the following warnings.  Not sure what it
>> means
>
> One possible reason is that the Open vSwitch kernel module and
> userspace do not match, that is, you have a kernel module loaded that
> is from an older or newer version of OVS than is ovs-openflowd.  We
> need to do a little more work to ensure that mismatched kernel/user
> still work together smoothly.
>
> I'm using ovs-vswitchd instead of ovs-openflowd, but it shouldn't make
> any difference for this.
>




More information about the discuss mailing list