From ba50347526ea76b501dacf774ea6f0997361358c Mon Sep 17 00:00:00 2001 From: Artem Goncharov Date: Wed, 21 Nov 2018 15:28:27 +0100 Subject: [PATCH] Update for f29 In Fedora 29 dstat was merged with pcp-system-tools (see https://pagure.io/fesco/issue/1956) Work around a iscsi bug with external packages until we can get the package fixed. Obsolete F27 Change-Id: I2f16658c5a3e22cac70912a0f3ad65cdd7071a1e --- files/rpms/cinder | 4 ++-- files/rpms/dstat | 3 ++- files/rpms/general | 4 ++-- files/rpms/nova | 2 +- files/rpms/swift | 2 +- lib/nova | 10 ++++++++++ 6 files changed, 18 insertions(+), 7 deletions(-) diff --git a/files/rpms/cinder b/files/rpms/cinder index 058c2354dc..e6b33dcc5e 100644 --- a/files/rpms/cinder +++ b/files/rpms/cinder @@ -1,5 +1,5 @@ iscsi-initiator-utils lvm2 qemu-img -scsi-target-utils # not:rhel7,f25,f26,f27,f28 NOPRIME -targetcli # dist:rhel7,f25,f26,f27,f28 NOPRIME +scsi-target-utils # not:rhel7,f25,f26,f27,f28,f29 NOPRIME +targetcli # dist:rhel7,f25,f26,f27,f28,f29 NOPRIME diff --git a/files/rpms/dstat b/files/rpms/dstat index 0d9da4434f..b058c277cb 100644 --- a/files/rpms/dstat +++ b/files/rpms/dstat @@ -1,2 +1,3 @@ -dstat +dstat # not:f29 +pcp-system-tools # dist:f29 python-psutil diff --git a/files/rpms/general b/files/rpms/general index c7863e4320..5bf1e9ac90 100644 --- a/files/rpms/general +++ b/files/rpms/general @@ -9,9 +9,9 @@ git-core graphviz # needed only for docs httpd httpd-devel -iptables-services # NOPRIME f25,f26,f27,f28 +iptables-services # NOPRIME f25,f26,f27,f28,f29 java-1.7.0-openjdk-headless # NOPRIME rhel7 -java-1.8.0-openjdk-headless # NOPRIME f25,f26,f27,f28 +java-1.8.0-openjdk-headless # NOPRIME f25,f26,f27,f28,f29 libffi-devel libjpeg-turbo-devel # Pillow 3.0.0 libxml2-devel # lxml diff --git a/files/rpms/nova b/files/rpms/nova index f69fc373d7..639d793756 100644 --- a/files/rpms/nova +++ b/files/rpms/nova @@ -7,7 +7,7 @@ gawk genisoimage # required for config_drive iptables iputils -kernel-modules # dist:f25,f26,f27,f28 +kernel-modules # dist:f25,f26,f27,f28,f29 kpartx libxml2-python m2crypto diff --git a/files/rpms/swift b/files/rpms/swift index f2f5de69b0..be524d1367 100644 --- a/files/rpms/swift +++ b/files/rpms/swift @@ -2,7 +2,7 @@ curl liberasurecode-devel memcached pyxattr -rsync-daemon # dist:f25,f26,f27,f28 +rsync-daemon # dist:f25,f26,f27,f28,f29 sqlite xfsprogs xinetd diff --git a/lib/nova b/lib/nova index 22f0706b3d..c8e6164916 100644 --- a/lib/nova +++ b/lib/nova @@ -296,6 +296,16 @@ function configure_nova { fi fi + if is_fedora; then + # There is an iscsi-initiator bug where it inserts + # different whitespace that causes a bunch of output + # matching to fail. We have not been able to get + # fixed, yet :/ Exists in fedora 29 & 30 + # https://bugzilla.redhat.com/show_bug.cgi?id=1676365 + sudo dnf copr enable -y iwienand/iscsi-initiator-utils + sudo dnf update -y + fi + if [[ ${ISCSID_DEBUG} == "True" ]]; then # Install an override that starts iscsid with debugging # enabled.