[ovs-discuss] ovs-ofctl prints "br0 is not a bridge or socket" and doesn't work

JinHwan Hwang calanchue at gmail.com
Fri Jul 26 03:37:52 UTC 2013


No, i didn't insert kernel module. But i thought i didn't need to insert
kernel module if i want to use user space
OVS. Do i misunderstand INSTALL document?

I didn't got this message from kernel module inserted OVS servers.


2013/7/26 Gurucharan Shetty <shettyg at nicira.com>

> Is the openvswitch kernel module loaded?
> lsmod | grep openvswitch
>
> On Thu, Jul 25, 2013 at 7:53 PM, JinHwan Hwang <calanchue at gmail.com>wrote:
>
>> I have found same questions were asked before. But i couldn't find
>> solution for the question. Therefore i ask this again with what i found.
>>
>> When i use ovs-ofctl, it always print "xxx is not a bridge or socket" and
>> doesn't work. When i create bridge with ovs-vsctl, ovs-vsctl doesn't notice
>> me anything. But i could find error at /var/log/message at creating a new
>> bridge with ovs-vsctl. (There were no ovs log directory
>> /var/log/openswitch). Error show me that ovs can't find 'datapath'. What
>> coulud cause it?
>>
>> OVS 1.10 user space install(didn't installed kernel module) on Centos
>> 5.9. All commands were run under root privilege.
>>
>> # ovs-vsctl add-br br0
>> br0 is not a bridge or a socket
>> # ovs-vsctl show
>> 03316d70-80a0-497e-8031-d9f80921e173
>>     Bridge "br0"
>>         Port "br0"
>>             Interface "br0"
>>                 type: internal
>> # ovs-ofctl dump-flows br0
>> ovs-ofctl: br0 is not a bridge or a socket
>>
>>
>> Error message i found at /var/log/message when i create a new bridge with
>> ovs-vsctl
>>
>> Jul 26 11:20:46 testmail ovs-vswitchd: 00217|dpif|WARN|failed to
>> enumerate system datapaths: No such file or directory
>> Jul 26 11:20:46 testmail ovs-vswitchd: 00218|dpif|WARN|failed to create
>> datapath ovs-system: No such file or directory
>> Jul 26 11:20:46 testmail ovs-vswitchd: 00219|ofproto_dpif|ERR|failed to
>> open datapath of type system: No such file or directory
>> Jul 26 11:20:46 testmail ovs-vswitchd: 00220|ofproto|ERR|failed to open
>> datapath br0: No such file or directory
>> Jul 26 11:20:46 testmail ovs-vswitchd: 00221|bridge|ERR|failed to create
>> bridge br0: No such file or directory
>>
>> I really appreciate any help
>>
>> _______________________________________________
>> discuss mailing list
>> discuss at openvswitch.org
>> http://openvswitch.org/mailman/listinfo/discuss
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130726/ae17d344/attachment.html>


More information about the discuss mailing list