Skip to content

Commit 417a8a6

Browse files
authored
Merge pull request #4170 from MiriamDeng/rmmod_modules_8to9
2 parents 6e11fd5 + d4d2e49 commit 417a8a6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

provider/in_place_upgrade_base.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ def pre_upgrade_whitelist(self, test):
127127
error_info = self.params.get("error_info")
128128
if re.search(error_info, output):
129129
pass
130+
if self.params.get("rmmod_module"):
131+
self.session.cmd(self.params.get("rmmod_module"))
130132
except Exception as error:
131133
test.fail("Failed to fix issues in advance: %s" % str(error))
132134

qemu/tests/cfg/in_place_upgrade.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,13 @@
3131
stop_yum_update = "rm -rf /var/run/yum.pid"
3232
check_repo_list = "yum repolist enabled"
3333
check_rhel_ver = "cut -f1-2 -d. /etc/redhat-release | sed 's/[^0-9]//g'"
34+
RHEL.8:
35+
rmmod_module = "rmmod ip_set;rmmod nft_compat"
3436
s390,s390x:
3537
# no need to check in host, and we don't support RHEL.7.9 as the
3638
# host on s390x
39+
RHEL.8:
40+
rmmod_module = "rmmod ip_set"
3741
device_cio_free_check_cmd = "systemctl status device_cio_free"
3842
# com_install = "yes" installing leapp from compose
3943
# com_install = "no" installing leapp from upstream

0 commit comments

Comments
 (0)