Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while installing mininet with OVS version 2.11.0 #864

Open
hossein61 opened this issue Mar 7, 2019 · 1 comment
Open

Error while installing mininet with OVS version 2.11.0 #864

hossein61 opened this issue Mar 7, 2019 · 1 comment

Comments

@hossein61
Copy link

Hi
I got following errors while trying to install mininet with ovs version 2.11.0 using "-V 2.11.0" parameter.
how can I use mininet with this version of OVS?

openvswitch/tests/ovsdb-data.at
openvswitch/tests/check-structs.at
openvswitch/tests/ovsdb-log.at
openvswitch/tests/run-oftest
openvswitch/tests/uuid.at
openvswitch/tests/system-kmod-testsuite.at
openvswitch/tests/uuidfilt.py
openvswitch/tests/testsuite.at
openvswitch/windows/
openvswitch/windows/automake.mk
openvswitch/windows/README.rst
openvswitch/windows/ovs-windows-installer/
openvswitch/windows/ovs-windows-installer/UI.wxs
openvswitch/windows/ovs-windows-installer/Product.wxs
openvswitch/windows/ovs-windows-installer/ovs-windows-installer.wixproj
openvswitch/windows/ovs-windows-installer/images/
openvswitch/windows/ovs-windows-installer/images/bannrbmp.bmp
openvswitch/windows/ovs-windows-installer/images/dlgbmp.bmp
openvswitch/windows/ovs-windows-installer/Actions/
openvswitch/windows/ovs-windows-installer/Actions/OVSActions.js
openvswitch/windows/ovs-windows-installer/CustomActions.wxs
openvswitch/windows/ovs-windows-installer/License.rtf
openvswitch/windows/ovs-windows-installer/Dialogs/
openvswitch/windows/ovs-windows-installer/Dialogs/MyTroubleshootDialog.wxs
openvswitch/windows/ovs-windows-installer/Dialogs/UserFinishDialog.wxs
openvswitch/windows/ovs-windows-installer/Dialogs/BeginningDialog.wxs
openvswitch/windows/ovs-windows-installer/Dialogs/MyEndDialog.wxs
openvswitch/windows/ovs-windows-installer.sln

check we can get kernel module names

/usr/bin/make -C datapath print-build-modules
make[2]: Entering directory '/home/hossein/openvswitch/openvswitch-2.11.0/datapath'
openvswitch vport-geneve vport-gre vport-lisp vport-stt vport-vxlan
make[2]: Leaving directory '/home/hossein/openvswitch/openvswitch-2.11.0/datapath'

Prepare dkms.conf from the dkms.conf.in template

sed "s/VERSION/2.11.0/g; s/MODULES/openvswitch vport-geneve vport-gre vport-lisp vport-stt vport-vxlan /" debian/dkms.conf.in > debian/openvswitch-datapath-dkms/usr/src/openvswitch-2.11.0/dkms.conf

We don't need the debian folder in there, just upstream sources...

rm -rf debian/openvswitch-datapath-dkms/usr/src/openvswitch-2.11.0/debian

We don't need the rhel stuff in there either

rm -rf debian/openvswitch-datapath-dkms/usr/src/openvswitch-2.11.0/rhel

And we should also clean useless license files, which are already

described in our debian/copyright anyway.

rm -f debian/openvswitch-datapath-dkms/usr/src/openvswitch-2.11.0/xenserver/LICENSE
make[1]: Leaving directory '/home/hossein/openvswitch/openvswitch-2.11.0'
dh_installdocs
dh_installchangelogs
debian/rules override_dh_installman
make[1]: Entering directory '/home/hossein/openvswitch/openvswitch-2.11.0'
dh_installman --language=C
make[1]: Leaving directory '/home/hossein/openvswitch/openvswitch-2.11.0'
dh_python2
W: dh_python2:479: Please add dh-python package to Build-Depends
debian/rules override_dh_installinit
make[1]: Entering directory '/home/hossein/openvswitch/openvswitch-2.11.0'
dh_installinit -R
make[1]: Leaving directory '/home/hossein/openvswitch/openvswitch-2.11.0'
dh_installlogrotate
dh_perl
dh_link
dh_strip_nondeterminism
dh_compress
dh_fixperms
dh_missing
debian/rules override_dh_strip
make[1]: Entering directory '/home/hossein/openvswitch/openvswitch-2.11.0'
dh_strip --dbg-package=openvswitch-dbg
make[1]: Leaving directory '/home/hossein/openvswitch/openvswitch-2.11.0'
dh_makeshlibs
dh_shlibdeps
dpkg-shlibdeps: warning: symbol ovs_strerror used by debian/libopenvswitch/usr/lib/x86_64-linux-gnu/libsflow-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol inet_parse_active used by debian/libopenvswitch/usr/lib/x86_64-linux-gnu/libofproto-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol simap_contains used by debian/libopenvswitch/usr/lib/x86_64-linux-gnu/libofproto-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol dp_packet_put_hex used by debian/libopenvswitch/usr/lib/x86_64-linux-gnu/libofproto-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol tun_metadata_free used by debian/libopenvswitch/usr/lib/x86_64-linux-gnu/libofproto-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol stp_set_bridge_id used by debian/libopenvswitch/usr/lib/x86_64-linux-gnu/libofproto-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol lacp_get_slave_stats used by debian/libopenvswitch/usr/lib/x86_64-linux-gnu/libofproto-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol compose_rarp used by debian/libopenvswitch/usr/lib/x86_64-linux-gnu/libofproto-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol shash_find_data used by debian/libopenvswitch/usr/lib/x86_64-linux-gnu/libofproto-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol ds_put_cstr used by debian/libopenvswitch/usr/lib/x86_64-linux-gnu/libofproto-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol odp_tun_key_from_attr used by debian/libopenvswitch/usr/lib/x86_64-linux-gnu/libofproto-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: 827 other similar warnings have been skipped (use -v to see them all)
dpkg-shlibdeps: warning: symbol jsonrpc_session_recv_wait used by debian/libopenvswitch/usr/lib/x86_64-linux-gnu/libovsdb-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol hmap_expand_at used by debian/libopenvswitch/usr/lib/x86_64-linux-gnu/libovsdb-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol ovsdb_datum_sort_assert used by debian/libopenvswitch/usr/lib/x86_64-linux-gnu/libovsdb-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol sset_init used by debian/libopenvswitch/usr/lib/x86_64-linux-gnu/libovsdb-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol ovsdb_type_uuid used by debian/libopenvswitch/usr/lib/x86_64-linux-gnu/libovsdb-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol shash_add used by debian/libopenvswitch/usr/lib/x86_64-linux-gnu/libovsdb-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol ds_put_and_free_cstr used by debian/libopenvswitch/usr/lib/x86_64-linux-gnu/libovsdb-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol shash_is_empty used by debian/libopenvswitch/usr/lib/x86_64-linux-gnu/libovsdb-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol ovs_thread_create used by debian/libopenvswitch/usr/lib/x86_64-linux-gnu/libovsdb-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol jsonrpc_open used by debian/libopenvswitch/usr/lib/x86_64-linux-gnu/libovsdb-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: 217 other similar warnings have been skipped (use -v to see them all)
dpkg-shlibdeps: warning: symbol ovsdb_idl_index_write used by debian/libopenvswitch/usr/lib/x86_64-linux-gnu/libvtep-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol ovsdb_idl_next_row used by debian/libopenvswitch/usr/lib/x86_64-linux-gnu/libvtep-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol ovsdb_idl_txn_write_partial_map used by debian/libopenvswitch/usr/lib/x86_64-linux-gnu/libvtep-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol ovsdb_idl_get_row_arc used by debian/libopenvswitch/usr/lib/x86_64-linux-gnu/libvtep-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol ovsdb_idl_set_condition used by debian/libopenvswitch/usr/lib/x86_64-linux-gnu/libvtep-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol smap_count used by debian/libopenvswitch/usr/lib/x86_64-linux-gnu/libvtep-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol ovsdb_idl_track_is_updated used by debian/libopenvswitch/usr/lib/x86_64-linux-gnu/libvtep-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol ovsdb_datum_from_smap used by debian/libopenvswitch/usr/lib/x86_64-linux-gnu/libvtep-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol ovs_assert_failure used by debian/libopenvswitch/usr/lib/x86_64-linux-gnu/libvtep-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol ovsdb_datum_sort_unique used by debian/libopenvswitch/usr/lib/x86_64-linux-gnu/libvtep-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: 31 other similar warnings have been skipped (use -v to see them all)
dpkg-shlibdeps: warning: symbol hmap_destroy used by debian/ovn-common/usr/lib/x86_64-linux-gnu/libovn-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol mf_write_subfield used by debian/ovn-common/usr/lib/x86_64-linux-gnu/libovn-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol ovsdb_idl_track_get_first used by debian/ovn-common/usr/lib/x86_64-linux-gnu/libovn-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol ip_count_cidr_bits used by debian/ovn-common/usr/lib/x86_64-linux-gnu/libovn-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol flow_format used by debian/ovn-common/usr/lib/x86_64-linux-gnu/libovn-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol match_hash used by debian/ovn-common/usr/lib/x86_64-linux-gnu/libovn-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol ds_put_format_valist used by debian/ovn-common/usr/lib/x86_64-linux-gnu/libovn-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol json_string_escape used by debian/ovn-common/usr/lib/x86_64-linux-gnu/libovn-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol ds_put_hex used by debian/ovn-common/usr/lib/x86_64-linux-gnu/libovn-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol ipv6_addr_bitand used by debian/ovn-common/usr/lib/x86_64-linux-gnu/libovn-2.11.so.0.0.0 found in none of the libraries
dpkg-shlibdeps: warning: 125 other similar warnings have been skipped (use -v to see them all)
dh_installdeb
dh_gencontrol
dpkg-gencontrol: warning: Depends field of package openvswitch-datapath-dkms: unknown substitution variable ${python:Depends}
dpkg-gencontrol: warning: Depends field of package openvswitch-switch: unknown substitution variable ${python:Depends}
dpkg-gencontrol: warning: Depends field of package ovn-docker: unknown substitution variable ${python:Depends}
dpkg-gencontrol: warning: Depends field of package ovn-docker: unknown substitution variable ${shlibs:Depends}
dpkg-gencontrol: warning: Depends field of package openvswitch-dbg: unknown substitution variable ${shlibs:Depends}
dpkg-gencontrol: warning: package python-openvswitch: unused substitution variable ${python:Provides}
dpkg-gencontrol: warning: package python-openvswitch: unused substitution variable ${python:Versions}
dpkg-gencontrol: warning: package openvswitch-test: unused substitution variable ${python:Versions}
dpkg-gencontrol: warning: Depends field of package openvswitch-ipsec: unknown substitution variable ${shlibs:Depends}
dh_md5sums
dh_builddeb
dpkg-deb: building package 'openvswitch-datapath-source' in '../openvswitch-datapath-source_2.11.0-1_all.deb'.
dpkg-deb: building package 'openvswitch-datapath-dkms' in '../openvswitch-datapath-dkms_2.11.0-1_all.deb'.
dpkg-deb: building package 'openvswitch-common' in '../openvswitch-common_2.11.0-1_amd64.deb'.
dpkg-deb: building package 'libopenvswitch' in '../libopenvswitch_2.11.0-1_amd64.deb'.
dpkg-deb: building package 'openvswitch-switch' in '../openvswitch-switch_2.11.0-1_amd64.deb'.
dpkg-deb: building package 'ovn-common' in '../ovn-common_2.11.0-1_amd64.deb'.
dpkg-deb: building package 'ovn-controller-vtep' in '../ovn-controller-vtep_2.11.0-1_amd64.deb'.
dpkg-deb: building package 'ovn-host' in '../ovn-host_2.11.0-1_amd64.deb'.
dpkg-deb: building package 'ovn-central' in '../ovn-central_2.11.0-1_amd64.deb'.
dpkg-deb: building package 'ovn-docker' in '../ovn-docker_2.11.0-1_amd64.deb'.
dpkg-deb: building package 'openvswitch-pki' in '../openvswitch-pki_2.11.0-1_all.deb'.
dpkg-deb: building package 'openvswitch-testcontroller' in '../openvswitch-testcontroller_2.11.0-1_amd64.deb'.
dpkg-deb: building package 'openvswitch-dbg' in '../openvswitch-dbg_2.11.0-1_amd64.deb'.
dpkg-deb: building package 'python-openvswitch' in '../python-openvswitch_2.11.0-1_all.deb'.
dpkg-deb: building package 'openvswitch-test' in '../openvswitch-test_2.11.0-1_all.deb'.
dpkg-deb: building package 'openvswitch-vtep' in '../openvswitch-vtep_2.11.0-1_amd64.deb'.
dpkg-deb: building package 'libopenvswitch-dev' in '../libopenvswitch-dev_2.11.0-1_amd64.deb'.
dpkg-deb: building package 'openvswitch-ipsec' in '../openvswitch-ipsec_2.11.0-1_amd64.deb'.
Installing openvswitch-common_2.11.0*.deb
Selecting previously unselected package openvswitch-common.
(Reading database ... 146947 files and directories currently installed.)
Preparing to unpack openvswitch-common_2.11.0-1_amd64.deb ...
Unpacking openvswitch-common (2.11.0-1) ...
dpkg: dependency problems prevent configuration of openvswitch-common:
openvswitch-common depends on libopenvswitch (= 2.11.0-1); however:
Package libopenvswitch is not installed.

dpkg: error processing package openvswitch-common (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Errors were encountered while processing:
openvswitch-common

Regards
Hossein Mousavinejad

@cheriimoya
Copy link
Contributor

did you try installing libopenvswitch first?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants