Ask Your Question

OVS agent failing

asked 2012-08-09 19:38:58 -0500

mb-s gravatar image

This question has been asked before but I am still confused as what is going wrong in my setup. Using latest devstack and running Quantum with OVS plugin (with or without tunneling agent enabled), the agent fails when it tries to run ovs-ofctl:

2012-08-09 15:27:09 DEBUG [quantum.agent.linux.utils] Command: ['sudo', 'ovs-ofctl', 'del-flows', 'br-int'] Exit code: 1 Stdout: '' Stderr: 'ovs-ofctl: br-int is not a bridge or a socket\n'

I can see (and manipulate) the bridge by using ovs-vsctl but not by using ovs-ofctl.

$ sudo ovs-vsctl show 0ec0cf06-c7f9-414f-806a-753197ba8e1b Bridge br-int Port br-int Interface br-int type: internal ovs_version: "1.2.0"

$ sudo ovs-ofctl show br-int ovs-ofctl: br-int is not a bridge or a socket

Any idea what I may be missing here. Thanks.

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted

answered 2016-02-15 06:21:21 -0500


I am also getting the same error "ovs-ofctl: br-int is not a bridge or a socket" while deploying Devstack stable/kilo.But all ovs-* are located in /usr/bin only.Devstack script is not able to create ovs switch.Even I created manually,it din work.

Any suggestions pls

Thanks Sathish

edit flag offensive delete link more

answered 2012-08-09 21:06:24 -0500

danwent gravatar image

I suspect that this is a general OVS issue, not related to openstack. My best guess is that ovs-vswitchd is not actually running. ovs-ofctl communicates with ovs-vswitchd, whereas ovs-vsctl communicates with ovsdb-server (which seems to be fine).

edit flag offensive delete link more

answered 2012-08-27 10:47:34 -0500

cp /usr/local/bin/ovs-* /usr/bin/

edit flag offensive delete link more

answered 2012-09-10 19:37:16 -0500

mb-s gravatar image

Thanks dan wendlandt, that solved my question.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2012-08-09 19:38:58 -0500

Seen: 80 times

Last updated: Sep 10 '12