yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #74536
[Bug 1790143] [NEW] devstack/lib/ovs fails on fedora
Public bug reported:
The devstack/lib/ovs module doesn't currently work on a Fedora 28 base
host OS. Here's the failures I've bumped into when I've attempted to
stack my DevStack cloud on a Fedora 28 host OS.
Problem 1:
NOTE: if kernel-devel-4.17.19_200.fc28.x86_64 or kernel-headers-4.17.19_200.fc28.x86_64 installation
failed, please, provide a repository with the package, or yum update / reboot
your machine to get the latest kernel.
Last metadata expiration check: 0:25:41 ago on Fri 31 Aug 2018 09:13:54 AM UTC.
No match for argument: kernel-devel-4.17.19_200.fc28.x86_64
Error: Unable to find a match
YUM_FAILED 1
Last metadata expiration check: 0:25:43 ago on Fri 31 Aug 2018 09:13:54 AM UTC.
No match for argument: kernel-devel-4.17.19_200.fc28.x86_64
Error: Unable to find a match
YUM_FAILED 1
Error on exit
World dumping... see /opt/stack/logs/worlddump-2018-08-31-093938.txt for details
Apparently the kernel-devel and kernel-headers packages have different patch versions (all packages have been updated prior to starting devstack). See:
kernel-devel: 4.17.19-200.fc28
kernel-headers: 4.17.19-1.fc28
We need to account for that.
Problem 2:
ln -s /opt/stack/ovs/datapath/linux/../linux/compat/utils.c
ln -s /opt/stack/ovs/datapath/linux/../vport-geneve.c
ln -s /opt/stack/ovs/datapath/linux/../vport-gre.c
ln -s /opt/stack/ovs/datapath/linux/../vport-lisp.c
ln -s /opt/stack/ovs/datapath/linux/../vport-stt.c
ln -s /opt/stack/ovs/datapath/linux/../vport-vxlan.c
make -C /lib/modules/4.17.19-200.fc28.x86_64/build M=/opt/stack/ovs/datapath/linux modules
make[4]: Entering directory '/usr/src/kernels/4.17.19-200.fc28.x86_64'
Makefile:974: *** "Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel". Stop.
make[4]: Leaving directory '/usr/src/kernels/4.17.19-200.fc28.x86_64'
make[3]: *** [Makefile.main:71: default] Error 2
make[3]: Leaving directory '/opt/stack/ovs/datapath/linux'
make[2]: *** [Makefile:572: all-recursive] Error 1
make[2]: Leaving directory '/opt/stack/ovs/datapath'
make[1]: *** [Makefile:5795: all-recursive] Error 1
make[1]: Leaving directory '/opt/stack/ovs'
make: *** [Makefile:3411: all] Error 2
Error on exit
World dumping... see /opt/stack/logs/worlddump-2018-08-31-104046.txt for details
When compiling OVS. To fix this we just need to install the elfutils-
libelf-devel package.
** Affects: neutron
Importance: Undecided
Assignee: Lucas Alvares Gomes (lucasagomes)
Status: In Progress
** Changed in: neutron
Assignee: (unassigned) => Lucas Alvares Gomes (lucasagomes)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1790143
Title:
devstack/lib/ovs fails on fedora
Status in neutron:
In Progress
Bug description:
The devstack/lib/ovs module doesn't currently work on a Fedora 28 base
host OS. Here's the failures I've bumped into when I've attempted to
stack my DevStack cloud on a Fedora 28 host OS.
Problem 1:
NOTE: if kernel-devel-4.17.19_200.fc28.x86_64 or kernel-headers-4.17.19_200.fc28.x86_64 installation
failed, please, provide a repository with the package, or yum update / reboot
your machine to get the latest kernel.
Last metadata expiration check: 0:25:41 ago on Fri 31 Aug 2018 09:13:54 AM UTC.
No match for argument: kernel-devel-4.17.19_200.fc28.x86_64
Error: Unable to find a match
YUM_FAILED 1
Last metadata expiration check: 0:25:43 ago on Fri 31 Aug 2018 09:13:54 AM UTC.
No match for argument: kernel-devel-4.17.19_200.fc28.x86_64
Error: Unable to find a match
YUM_FAILED 1
Error on exit
World dumping... see /opt/stack/logs/worlddump-2018-08-31-093938.txt for details
Apparently the kernel-devel and kernel-headers packages have different patch versions (all packages have been updated prior to starting devstack). See:
kernel-devel: 4.17.19-200.fc28
kernel-headers: 4.17.19-1.fc28
We need to account for that.
Problem 2:
ln -s /opt/stack/ovs/datapath/linux/../linux/compat/utils.c
ln -s /opt/stack/ovs/datapath/linux/../vport-geneve.c
ln -s /opt/stack/ovs/datapath/linux/../vport-gre.c
ln -s /opt/stack/ovs/datapath/linux/../vport-lisp.c
ln -s /opt/stack/ovs/datapath/linux/../vport-stt.c
ln -s /opt/stack/ovs/datapath/linux/../vport-vxlan.c
make -C /lib/modules/4.17.19-200.fc28.x86_64/build M=/opt/stack/ovs/datapath/linux modules
make[4]: Entering directory '/usr/src/kernels/4.17.19-200.fc28.x86_64'
Makefile:974: *** "Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel". Stop.
make[4]: Leaving directory '/usr/src/kernels/4.17.19-200.fc28.x86_64'
make[3]: *** [Makefile.main:71: default] Error 2
make[3]: Leaving directory '/opt/stack/ovs/datapath/linux'
make[2]: *** [Makefile:572: all-recursive] Error 1
make[2]: Leaving directory '/opt/stack/ovs/datapath'
make[1]: *** [Makefile:5795: all-recursive] Error 1
make[1]: Leaving directory '/opt/stack/ovs'
make: *** [Makefile:3411: all] Error 2
Error on exit
World dumping... see /opt/stack/logs/worlddump-2018-08-31-104046.txt for details
When compiling OVS. To fix this we just need to install the elfutils-
libelf-devel package.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1790143/+subscriptions
Follow ups