Ben,

Thanks for the tip. make succeeded after removing 'python-openvswitch'
package.

ubuntu@sdnhubvm:openvswitch[22:32] (master)$ dpkg -l | grep openvswitch
rc  openvswitch-controller                2.0.1+git20140120-0ubuntu2
       amd64        Open vSwitch controller implementation
ii  openvswitch-datapath-source           2.3.90-1
       all          Open vSwitch datapath module source - module-assistant
version
rc  openvswitch-ipsec                     2.1.0-1
      amd64        Open vSwitch GRE-over-IPsec support
rc  openvswitch-pki                       2.3.90-1
       all          Open vSwitch public key infrastructure dependency
package
rc  openvswitch-switch                    2.3.90-1
       amd64        Open vSwitch switch implementations
rc  openvswitch-vtep                      2.1.0-1
      amd64        Open vSwitch VTEP utilities
ii  python-openvswitch                    2.3.90-1
       all          Python bindings for Open vSwitch

Regards,
Logu

On Sun, Jan 29, 2017 at 10:16 AM Ben Pfaff <b...@ovn.org> wrote:

Perhaps you have some old version of the Python libraries for Open
vSwitch installed somewhere?  In older versions of OVS, the function in
question did have fewer arguments.

I don't know why a system installation of a Python library would
override the version in the OVS tree.  Probably need help from a Python
expert on that.

On Sun, Jan 29, 2017 at 03:27:52AM +0000, Logu J wrote:
> Ben,
>
> checked out latest code from github and compiling.
>
> I was getting same error on master branch, so I was trying to compile with
> v2.6.1. Thanks for pointing out my mistake.
>
> Now I switched to v2.6.1 with 'git checkout tags/v2.6.1', still make fails
> with same error. (I've attached make terminal output).
>
> My environment:
>
> ubuntu@sdnhubvm:openvswitch[08:50] ((detached from v2.6.1))$ lsb_release
-a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description: *Ubuntu 14.04.5 LTS*
> Release: 14.04
> Codename: trusty
> ubuntu@sdnhubvm:openvswitch[08:50] ((detached from v2.6.1))$ uname -a
> Linux sdnhubvm *3.13.0-24-generic* #47-Ubuntu SMP Fri May 2 23:30:00 UTC
> 2014 x86_64 x86_64 x86_64 GNU/Linux
> ubuntu@sdnhubvm:openvswitch[08:50] ((detached from v2.6.1))$ gcc --version
> *gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4*
> Copyright (C) 2013 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
>
> Regards,
> Logu
>
> On Sat, Jan 28, 2017 at 11:33 PM Ben Pfaff <b...@ovn.org> wrote:
>
> > On Sat, Jan 28, 2017 at 03:36:22AM +0000, Logu J wrote:
> > > I'm stuck at below error (on Ubuntu 14.04.5 LTS). Any clue please?
> > >
> > > ubuntu@sdnhubvm:openvswitch[09:00] (master)$ git checkout -b v2.6.1
> > > Switched to a new branch 'v2.6.1'
> >
> > You were on master, which is presumably a clone of the OVS master
> > branch, and then you typed "git checkout -b v2.6.1".  This does not
> > switch to v2.6.1 or to any other commit or branch or tag.  Rather, it
> > creates a new branch from the *current* commit, which is presumably some
> > commit along the OVS master branch.  So this bug report is probably not
> > for v2.6.1 or even for branch-2.6 (the OVS 2.6.x branch).
> >
> > What commit did you actually compile?
> >
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to