[ovs-discuss] Running userspace as nonroot

Aaron Rosen arosen at clemson.edu
Fri Apr 8 20:05:27 UTC 2011


Thanks Ben,

I'm trying to use ovs without the kernel module. When I start ovs-vswitch
I'm getting the following error. Any idea whats going wrong? Sorry for all
the questions.


arosen at ubuntu:~$ ovs-vsctl --no-wait
--db=unix:/home/arosen/usr/local/var/run/openvswitch/db.sock init
arosen at ubuntu:~$ ovs-vswitchd
unix:/home/arosen/usr/local/var/run/openvswitch/db.sock --pidfile --detach
Apr 08
20:02:10|00001|reconnect|INFO|unix:/home/arosen/usr/local/var/run/openvswitch/db.sock:
connecting...
Apr 08
20:02:10|00002|reconnect|INFO|unix:/home/arosen/usr/local/var/run/openvswitch/db.sock:
connected
Apr 08 20:02:10|00003|dpif_linux|ERR|Generic Netlink family 'odp_datapath'
does not exist. The Open vSwitch kernel module is probably not loaded.
Apr 08 20:02:10|00004|dpif|WARN|failed to enumerate system datapaths: No
such file or directory


Thanks,

Aaron





On Fri, Apr 8, 2011 at 3:33 PM, Ben Pfaff <blp at nicira.com> wrote:

> On Fri, Apr 08, 2011 at 03:27:14PM -0400, Aaron Rosen wrote:
> > arosen at ubuntu:~/devel/openvswitch$ ovs-vsctl
> > --db=unix:/home/arosen/usr/local/var/run/openvswitch/db.sock  add-br br0
> > Apr 08 19:25:45|00002|ovsdb_idl|WARN|syntax
> > "{"details":"discover_accept_regex is not a valid column
> > name","error":"syntax
> >
> error","syntax":"[\"connection_mode\",\"controller_burst_limit\",\"controller_rate_limit\",\"discover_accept_regex\",\"discover_update_resolv_conf\",\"external_ids\",\"inactivity_probe\",\"local_gateway\",\"local_ip\",\"local_netmask\",\"max_backoff\",\"target\"]"}":
> > syntax error: <table-updates> includes unknown table "syntax"
> > ovs-vsctl: transaction error: {"details":"transaction causes
> > \"Open_vSwitch\" table to contain 2 rows, greater than the schema-defined
> > limit of 1 row(s)","error":"constraint violation"}
> >
> > Any idea whats going on here?
>
> You're using an older ovs-vsctl with a newer database.
>
> > In the INSTALL.Linux it has the following to configure the database:
> >
> >
> >       % ovsdb-server /usr/local/etc/openvswitch/conf.db \
> >
> --remote=punix:/usr/local/var/run/openvswitch/db.sock
> > \
> >                       --remote=db:Open_vSwitch,manager_options \
> >                       --private-key=db:SSL,private_key \
> >                       --certificate=db:SSL,certificate \
> >                       --bootstrap-ca-cert=db:SSL,ca_cert \
> >                       --pidfile --detach
> >
> > Though it seems ovsdb-server no longer can do --private-key, etc.?
>
> It can.  Maybe you did not build with OpenSSL?  I will add a note to
> INSTALL.Linux that --private-key, --certificate, and
> --bootstrap-ca-cert may only be used if SSL support was built.
>



-- 
Aaron O. Rosen
Masters Student - Network Communication
306B Fluor Daniel
843.425.9777
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20110408/f1a6e19f/attachment.html>


More information about the discuss mailing list