Getting error ovs-ofctl: br-int is not a bridge or a socket while running ovs-ofctl dump-flows commad

asked 2020-04-18 12:56:36 -0600

Deepak bagai gravatar image

Getting error ovs-ofctl: br-int is not a bridge or a socket while running ovs-ofctl dump-flows commad OVS is running and Active: active . root@compute0:/var/log/openvswitch# ovs-ofctl show br-int ovs-ofctl: br-int is not a bridge or a socket root@compute0:/var/log/openvswitch# ovs-ofctl dump-flows br-provider ovs-ofctl: br-provider is not a bridge or a socket root@compute0:/var/log/openvswitch# ovs-ofctl dump-flows br-int ovs-ofctl: br-int is not a bridge or a socket root@compute0:/var/log/openvswitch#

root@compute0:/var/log/openvswitch# systemctl status openvswitch-switch ● openvswitch-switch.service - Open vSwitch Loaded: loaded (/lib/systemd/system/openvswitch-switch.service; enabled; vendor preset: enabled) Active: active (exited) since Mon 2020-04-13 19:23:23 IST; 5 days ago Main PID: 79800 (code=exited, status=0/SUCCESS) Tasks: 0 (limit: 22118) CGroup: /system.slice/openvswitch-switch.service

Apr 13 19:23:23 compute0 systemd[1]: Starting Open vSwitch... Apr 13 19:23:23 compute0 systemd[1]: Started Open vSwitch.

edit retag flag offensive close merge delete

Comments

Perhaps a discrepancy between the openvswitch db and reality: https://github.com/openvswitch/ovs/bl...

Also, google the error message. Plenty of results.

Bernd Bausch gravatar imageBernd Bausch ( 2020-04-18 18:47:47 -0600 )edit

root@compute0:/etc/neutron# ovs-appctl fdb/show br-int 2020-04-19T19:10:11Z|00001|unixctl|WARN|failed to connect to /var/run/openvswitch/ovs-vswitchd.79320.ctl ovs-appctl: cannot connect to "/var/run/openvswitch/ovs-vswitchd.79320.ctl" (No such file or directory)

Deepak bagai gravatar imageDeepak bagai ( 2020-04-19 14:18:14 -0600 )edit

ovs-vswitchd service is running root@compute0:/etc/neutron# systemctl status ovs-vswitchd -l ● ovs-vswitchd.service - Open vSwitch Forwarding Unit Loaded: loaded (/lib/systemd/system/ovs-vswitchd.service; static; vendor preset: enabled) Active: active (running) since Mon 2020-04-13 19:23:23 IS

Deepak bagai gravatar imageDeepak bagai ( 2020-04-19 14:18:56 -0600 )edit

cannot connect to "/var/run/openvswitch/ovs-vswitchd.79320.ctl"

I guess this is a socket. Any log message about this? Either in the journal or /var/log.

Bernd Bausch gravatar imageBernd Bausch ( 2020-04-19 17:34:17 -0600 )edit

ovs-vswitchd.79320.ctl file not present in path /var/run/openvswitch Also i checked ovs-vswitchd service is running.

logs not found in given files

  • -rw-r----- 1 root adm 0 Apr 20 00:05 ovs-vswitchd.log -rw-r----- 1 root adm 95 Apr 20 00:05 ovsdb-server.log

2020-04-18T18:36:22.988Z|00026|vlog|IN

Deepak bagai gravatar imageDeepak bagai ( 2020-04-20 10:00:27 -0600 )edit