ovs install error in ubuntu

Bug #1578040 reported by Li Ma
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
DragonFlow
Invalid
Critical
Li Ma

Bug Description

2016-05-04 03:40:50.754 | ++ /opt/stack/dragonflow/devstack/ovs_setup.sh:_neutron_ovs_install_ovs_ubuntu:L88: DEB_BUILD_OPTIONS=nocheck
2016-05-04 03:40:50.755 | ++ /opt/stack/dragonflow/devstack/ovs_setup.sh:_neutron_ovs_install_ovs_ubuntu:L88: fakeroot debian/rules binary
2016-05-04 03:40:50.779 | dh binary --with autoreconf,python2 --parallel
2016-05-04 03:40:50.994 | ++ /opt/stack/dragonflow/devstack/ovs_setup.sh:_neutron_ovs_install_ovs_ubuntu:L89: sudo dpkg -i '../openvswitch-datapath-dkms*.deb'
2016-05-04 03:40:51.071 | dpkg: error processing archive ../openvswitch-datapath-dkms*.deb (--install):
2016-05-04 03:40:51.071 | cannot access archive: No such file or directory

The deb packages cannot be generated.

Li Ma (nick-ma-z)
Changed in dragonflow:
importance: Undecided → High
Gal Sagie (gal-sagie)
Changed in dragonflow:
assignee: nobody → Omer Anson (omer-anson)
importance: High → Critical
Revision history for this message
Li Ma (nick-ma-z) wrote :

It still doesn't work in ubuntu 16.04 server.

2016-05-11 00:30:27.717 | ++/opt/stack/dragonflow/devstack/ovs_setup.sh:_neutron_ovs_install_ovs_ubuntu:88 DEB_BUILD_OPTIONS=nocheck
2016-05-11 00:30:27.727 | ++/opt/stack/dragonflow/devstack/ovs_setup.sh:_neutron_ovs_install_ovs_ubuntu:88 fakeroot debian/rules binary
2016-05-11 00:30:27.746 | dh binary --with autoreconf,python2 --parallel
2016-05-11 00:30:28.149 | ++/opt/stack/dragonflow/devstack/ovs_setup.sh:_neutron_ovs_install_ovs_ubuntu:89 sudo dpkg -i '../openvswitch-datapath-dkms*.deb'
2016-05-11 00:30:28.187 | dpkg: error processing archive ../openvswitch-datapath-dkms*.deb (--install):
2016-05-11 00:30:28.187 | cannot access archive: No such file or directory

It seems that the ovs (both branch-2.5 and master) cannot be compiled and packaged in deb.

summary: - ovs install error in ubuntu 14.04
+ ovs install error in ubuntu
Revision history for this message
Li Ma (nick-ma-z) wrote :

The temporary work-around:

The ovs compilation requires automake package version 1.14. But with a recent update of ubuntu repo, the automake package is updated to 1.15 which is incompatible with ovs. As a result, the compilation is failed.

I hacked the ubuntu to fix the problem:

cd /usr/lib
ln -s aclocal-1.15 aclocal-1.14
ln -s automake-1.15 automake-1.14

I will provide a patch to guarantee the automake version is 1.14 in the ubuntu system.

Changed in dragonflow:
assignee: Omer Anson (omer-anson) → Li Ma (nick-ma-z)
Revision history for this message
Li Ma (nick-ma-z) wrote :

After fixing the automake version problem, the compilation still failed in auto test.

debian/rules:37: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/opt/stack/ovs'
debian/rules:25: recipe for target 'build' failed
make: *** [build] Error 2

My environment is Ubuntu 16.04 server. Actually, Ubuntu 16.04 supports OVS 2.5 already. So, it doesn't need to compile ovs from soruce in devstack. We can directly install packages from Ubuntu repo.

Li Ma (nick-ma-z)
Changed in dragonflow:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.