ovs_quantum_agent: ovs-ofctl error br-int is not a bridge or a socket

When I execute ovs_quantum_agent script to run Openvswitch agent for quantum, I get output from ovs-ofctl as "br-int is not a bridge or a socket". Is this an error?
Btw, I still see the agent as an active process but I don't see the agent to use existing MYSQL database records created by quantum plugins and that communicating to local openvswitch setup.

bash $ sudo python ./ovs_quantum_agent.py /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini
ovs-ofctl: br-int is not a bridge or a socket
ovs-ofctl: br-int is not a bridge or a socket

Related bugs

Related FAQ:

# This is the name of the OVS integration bridge. There is one per hypervisor.
# The integration bridge acts as a virtual "patch port". All VM VIFs are
# attached to this bridge and then "patched" according to their network
# connectivity.
integration-bridge = br-int

Has this bridge been created on your host? You might need to create is manually using:

sudo ovs-vsctl --no-wait add-br br-int

The database communication params are also defined in the same ini file, verify if the settings match your mysql installation and the database exists:

[DATABASE]
# This line MUST be changed to actually run the plugin.
# Example: sql_connection = mysql://root:nova@127.0.0.1:3306/ovs_quantum
# Replace 127.0.0.1 above with the IP address of the database used by the
# main quantum server. (Leave it as is if the database runs on this host.)
sql_connection = mysql://root:nova@localhost/ovs_quantum

The plugin of openvswitch for quantum is running fine and I don't have any issues with it , in the way it is updating the mysql database properly but then what is the work of its agent 'ovs_quantum_agent.py'?
I believe it should read the mysql database created by the quantum plugins and do something with openvswitch. Can you help me with this agent usage?
The agent process is running but not doing anything.

Since quantum runs as a single service on a single host and not as a distributed service like nova-network etc; the ovs agent instead runs on each host and does the actual underlying configuration like adding tap interfaces and gateways on hosts.

It does scan the database periodically for and additions/removals of ports and networks.

Have you tried starting any VM's in your cloud? the agent only comes into play when ports and vlans have to added/removed to the bridge.

Can you help with this problem?

Provide an answer of your own, or ask
Sumit Sengupta
for more information if necessary.