From 39bc71cedd96b45caec6e92dc8228da1cc3b1643 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Thu, 16 Apr 2020 11:53:11 +1000 Subject: [PATCH] libs/rpms : update for CentOS 7 removal With the removal of CentOS 7, we can re-evaluate the rpm installations. We should not need virtualenv after https://review.opendev.org/712609 There should be no need for python-devel as we're python3 pyOpenSSL was added to workaround memory issues in 9e98f9435ec36f2fffed0ac368befd520f07e0e1 (2015) ... I think we've moved on. pyxattr is not a package; remove it. I don't see we need packaged m2crypto, which isn't a package on CentOS 8. nor libxml2-python; these days it has wheels which should work with the normal installation process. centos8 has: * targetcli * pcp-system-tools (and no dstat) * iptables-services * java-1.8.0-openjdk-headless * kernel-modules * rsync-daemon just as all supported fedora's do, so we can remove any matching here. Change-Id: I542c426a67a98f331d2a29bacd220af81fab8cc4 --- files/rpms/cinder | 3 +-- files/rpms/dstat | 3 +-- files/rpms/general | 10 +++------- files/rpms/neutron-common | 2 -- files/rpms/nova | 6 +----- files/rpms/swift | 3 +-- 6 files changed, 7 insertions(+), 20 deletions(-) diff --git a/files/rpms/cinder b/files/rpms/cinder index a8201ea38b..c21ea08e89 100644 --- a/files/rpms/cinder +++ b/files/rpms/cinder @@ -1,5 +1,4 @@ iscsi-initiator-utils lvm2 qemu-img -scsi-target-utils # not:rhel7,f30,f31 NOPRIME -targetcli # dist:rhel7,f30,f31 NOPRIME +targetcli diff --git a/files/rpms/dstat b/files/rpms/dstat index a091cceb3a..6524bed607 100644 --- a/files/rpms/dstat +++ b/files/rpms/dstat @@ -1,2 +1 @@ -dstat # not:f30,f31 -pcp-system-tools # dist:f30,f31 +pcp-system-tools diff --git a/files/rpms/general b/files/rpms/general index b150a570b4..ff77ce05af 100644 --- a/files/rpms/general +++ b/files/rpms/general @@ -9,9 +9,8 @@ git-core graphviz # needed only for docs httpd httpd-devel -iptables-services # NOPRIME f30,f31 -java-1.7.0-openjdk-headless # NOPRIME rhel7 -java-1.8.0-openjdk-headless # NOPRIME f30,f31 +iptables-services +java-1.8.0-openjdk-headless libffi-devel libjpeg-turbo-devel # Pillow 3.0.0 libxml2-devel # lxml @@ -25,10 +24,7 @@ pcre-devel # for python-pcre pkgconfig postgresql-devel # psycopg2 psmisc -pyOpenSSL # version in pip uses too much memory -python3-devel # dist:f30,f31 -python3-virtualenv # dist:f31 -python-devel +python3-devel redhat-rpm-config # missing dep for gcc hardening flags, see rhbz#1217376 systemd-devel # for systemd-python tar diff --git a/files/rpms/neutron-common b/files/rpms/neutron-common index 0cc8d11ceb..fe25f57ea6 100644 --- a/files/rpms/neutron-common +++ b/files/rpms/neutron-common @@ -5,8 +5,6 @@ ebtables haproxy # to serve as metadata proxy inside router/dhcp namespaces iptables iputils -mysql-devel -mysql-server # NOPRIME openvswitch # NOPRIME rabbitmq-server # NOPRIME radvd # NOPRIME diff --git a/files/rpms/nova b/files/rpms/nova index 0f3d10f53a..2218330230 100644 --- a/files/rpms/nova +++ b/files/rpms/nova @@ -7,12 +7,8 @@ gawk genisoimage # required for config_drive iptables iputils -kernel-modules # dist:f30,f31 +kernel-modules kpartx -libxml2-python -m2crypto -mysql-devel -mysql-server # NOPRIME parted polkit rabbitmq-server # NOPRIME diff --git a/files/rpms/swift b/files/rpms/swift index 745cc2e09a..376c6f3df7 100644 --- a/files/rpms/swift +++ b/files/rpms/swift @@ -1,8 +1,7 @@ curl liberasurecode-devel memcached -pyxattr -rsync-daemon # dist:f30,f31 +rsync-daemon sqlite xfsprogs xinetd