-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace out-of-support CentOS distro with RHEL9 for Manager tests on Azure #9631
Conversation
Since CentOS deprecation, all the jobs should be switched from using it. The only job in Manager tests that still uses CentOS is job for Azure. The change replaces this CentOS7 image with RHEL9 and increases the root disk size for monitor node to make new image workable.
- Updated the `yum_repos` method to include the EPEL 9 repo config; - Updated the GPG key URL for EPEL 9.
Temporary workaround for docker installation on RHEL9 distro because of the issue (1). In provided fix docker packages are installed manually for repo, hardcoding the OS version ($releasever) to specific value in repo file /etc/yum.repos.d/docker-ce.repo. After issue resolution, we can return the previous approach with installation script. refs: #1: moby/moby#49169
Firewall should be disabled for RHEL-like distributions. Otherwise, it blocks incoming requests to 3000 monitoring node (1). The same operation has been already implemented for db nodes setup and only refactored here. refs: #1: scylladb#9630
@fruch I made some changes around firewall disabling for db nodes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I think one of the redhat based artifact tests should be enough |
Changes: - Removed scylla version hardcode for Azure job. The image defined in azure_image_db contains Scylla 5.2.1 which outdated. Moreover, there are no restrictions with passing scylla_version directly. - Renamed jenkinsfile to address recent move from Centos-based image for Azure jobs to RHEL-based (1). refs: #1: scylladb#9631
Closes #9630 #8226
The PR switches Manager tests on Azure from using centos-based to rhel-based.
Together with that, it implements a couple of different fixes to make such node setup possible (see list of commits for details).
Testing
PR pre-checks (self review)
backport
labels