[ovs-dev] installation Error

Ben Pfaff blp at nicira.com
Thu Aug 19 17:09:16 UTC 2010

On Thu, Aug 19, 2010 at 11:17:08AM +0100, Kiani, Parham wrote:
> previously,I installed Openvswitch successfully and work on it. today,
> I wanted to install it for another server from
> http://openvswitch.org/?page_id=35 // I am following the provided
> instruction Install.linux, after compiled finish and load kernel mod,
> I am going to run another step as usuall but I got all the time
> following error, i was wondering if somebody help me. many thanks.

These errors mean that the database schema does not match what ovs-vsctl
expects.  If this is a new install, with a new database, then that is
very odd.  But if you copied the database from an older install, or if
you are upgrading an existing installation to a new version of OVS, then
that indicates that you need to upgrade the database too.  You can do
that by stopping the database server, then running:
        ovsdb-tool convert <database> <new-schema>
where <database> is your database file and <new-schema> is the
vswitch.ovsschema file provided with the version of OVS that you are
running, then restarting the database server.

(The Debian and XenServer packaging of Open vSwitch does this just
before starting the database server.)

We should document this, I've added that to my to-do list.

More information about the dev mailing list