On Tue, Jun 8, 2021 at 6:58 PM Alfredo Moralejo Alonso <amoralej@redhat.com> wrote:
Hi,
Sorry for arriving late.
On Tue, Jun 8, 2021 at 2:26 AM Pete Zhang <peiyong.zhang@salesforce.com> wrote:
Matthias,
These steps, "install python-nova", "install openstack-nova-scheduler" need python-openvswitch-2.11 which in turn looking for libopenvswitch which is provided by openvswitch-1:2.12.0-1.el7.x86_64.rpm <https://cbs.centos.org/koji/rpminfo?rpmID=173673>. And I have this copy installed on my local repo.
I just tested installing openstack-nova-scheduler on a fresh centos7 system and worked fine installing openvswitch-2.12.0-el7.
# yum install "*-train" # yum install openstack-nova-scheduler
Just make sure you have the *extras* repo enabled, which should be by default. librte_* is provided in dpdk package which is in the extras repo. You shouldn't need any local repo.
BTW, extras repo is enabled by default in centos repos config, but you can enable it with: # yum-config-manager --enable extras
*Trying to figure out which rpm has the librte_*.*
BTW, I got most rpms from http://mirror.centos.org/centos/7/cloud/x86_64/. Which has rpms for train, stein, rocky and queens. Is there a similar site for later releases like Ussuri or Victoria?
Train was the last version released for CentOS 7. Ussuri, Victoria and Wallaby are released for CentOS Linux 8 and CentOS Stream 8:
http://mirror.centos.org/centos/8-stream/cloud/x86_64/ http://mirror.centos.org/centos/8/cloud/x86_64/
You can enable the repos by just installing centos-release-openstack-[ussuri,victoria,wallaby]. That should be enough.
Regards,
Alfredo
Pete
On Mon, Jun 7, 2021 at 12:43 PM Matthias Runge <mrunge@matthias-runge.de> wrote:
On Mon, Jun 07, 2021 at 08:52:42PM +0200, Thomas Goirand wrote:
On 6/7/21 8:07 PM, Pete Zhang wrote:
I hit this error when installing “openstack-nova-scheduler” of
release
train.Anyone knows the issue/fix? What is the librte? is it another rpm i can download somewhere? or what is the best channel/DL to post this question, thx.Here is what I did.
1. I did this in a test box. 2. I have puppet-modules installed on the box 3. I have openstack-release-train’s rpms on the box and built a local-repo for puppet to install
Debug: Executing: '/bin/yum -d 0 -e 0 -y install openstack-nova-scheduler' Error: Execution of '/bin/yum -d 0 -e 0 -y install openstack-nova-scheduler' returned 1: Error: Package: 1:openvswitch-2.12.0-1.el7.x86_64 (local_openstack-tnrp) Requires: librte_mempool_bucket.so.1()(64bit) Error: Package: 1:openvswitch-2.12.0-1.el7.x86_64 (local_openstack-tnrp) Requires: librte_ethdev.so.11(DPDK_18.05)(64bit)
Hi,
I'm not a Red Hat user (but the OpenStack maintainer in Debian). Though librte is from dpdk. It's likely a bug if nova-scheduler depends on openvswitch (but it's probably not a bug if OVS depends on dpdk if it was compiled with dpdk support).
Packages ending with el7 are probably a bit aged already. You may want to switch to something more recent. RDO is only updating the latest release. I don't know where you got the other packages from, but I can see there is no direct dependency from openstack-nova-scheduler to openvswitch[1]. On the other side, the openvswitch build indeed requires librte[2].
RDO describes the used repositories[3], and you may want to enable CentOS extras.
[1] https://urldefense.com/v3/__https://github.com/rdo-packages/nova-distgit/blo... [2] https://urldefense.com/v3/__https://cbs.centos.org/koji/rpminfo?rpmID=173673... [3] https://urldefense.com/v3/__https://www.rdoproject.org/documentation/reposit...
-- Matthias Runge <mrunge@matthias-runge.de>
--
<https://smart.salesforce.com/sig/peiyong.zhang//us_mb/default/link.html>