Ben Pfaff <[email protected]> wrote on 16/05/2012 18:00:40:
> On Wed, May 16, 2012 at 03:39:07PM +0300, Liran Schour wrote:
> > I tried to run the ovsdbmonitor but failed with the following error:
> >
> > +++ OVS JSON module is required
> >
> > Traceback (most recent call last):
> > File "/usr/local/bin/ovsdbmonitor", line 24, in <module>
> > from OVEApp import *
> > File "/usr/local/share/ovsdbmonitor/OVEApp.py", line 16, in <module>
> > from OVEStandard import *
> > File "/usr/local/share/ovsdbmonitor/OVEStandard.py", line 24, in
<module>
> > import ovs.json
> > ImportError: No module named ovs.json
> >
> > What am I missing?
>
> Please tell us what you did, specifically.
>
I did the following:
# git clone git://openvswitch.org/openvswitch
# cd openvswitch/
# ./boot.sh
# ./configure --with-linux=/lib/modules/`uname -r`/build --disable-ssl
# make install
# ovsdb-server --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
# insmod openvswitch/datapath/linux/openvswitch_mod.ko
# openvswitch/vswitchd/ovs-vswitchd --pidfile --detach
# ovsdbmonitor
+++ OVS JSON module is required
Traceback (most recent call last):
File "/usr/local/bin/ovsdbmonitor", line 24, in <module>
from OVEApp import *
File "/usr/local/share/ovsdbmonitor/OVEApp.py", line 16, in <module>
from OVEStandard import *
File "/usr/local/share/ovsdbmonitor/OVEStandard.py", line 24, in <module>
import ovs.json
ImportError: No module named ovs.json
Thanks,
- Liran
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss