Skip to content

Commit

Permalink
Merge pull request #4170 from MiriamDeng/rmmod_modules_8to9
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulYuuu authored Oct 29, 2024
2 parents 6e11fd5 + d4d2e49 commit 417a8a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions provider/in_place_upgrade_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ def pre_upgrade_whitelist(self, test):
error_info = self.params.get("error_info")
if re.search(error_info, output):
pass
if self.params.get("rmmod_module"):
self.session.cmd(self.params.get("rmmod_module"))
except Exception as error:
test.fail("Failed to fix issues in advance: %s" % str(error))

Expand Down
4 changes: 4 additions & 0 deletions qemu/tests/cfg/in_place_upgrade.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,13 @@
stop_yum_update = "rm -rf /var/run/yum.pid"
check_repo_list = "yum repolist enabled"
check_rhel_ver = "cut -f1-2 -d. /etc/redhat-release | sed 's/[^0-9]//g'"
RHEL.8:
rmmod_module = "rmmod ip_set;rmmod nft_compat"
s390,s390x:
# no need to check in host, and we don't support RHEL.7.9 as the
# host on s390x
RHEL.8:
rmmod_module = "rmmod ip_set"
device_cio_free_check_cmd = "systemctl status device_cio_free"
# com_install = "yes" installing leapp from compose
# com_install = "no" installing leapp from upstream
Expand Down

0 comments on commit 417a8a6

Please sign in to comment.