-
Notifications
You must be signed in to change notification settings - Fork 16
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
[CPDEV-94365] Add support for RHEL9 family, SELinux #473
Conversation
In some cases keepalived.service will not start. It nappens, cause enable service --now enable and start service with default config wich contain name eth0. In some virtual machines (like in cloud) default interface named differently. And in new version of systemd start with wrong config will be crushed. I changed logic to install keepalived. In last commit function install in keepalived.py will do install and patch. Service enabled and start in function configure . |
Going to test this PR on internal RHEL9 environment |
Hi @krang404 |
This PR was tested in Oracle Linux 9.2 (1st) and CentOS 9 Stream (2nd). Also, I installed k8s on Rocky Linux 9.2 with subj. OL9
CentOS 9 Stream
Rocky Linux 9
|
Hi @krang404
|
Red Hat Enterprise Linux version 9 have a problem with installation of |
Also in new versions iptables are replaced to package
|
Hi @krang404 |
Hello. There is a misunderstanding. |
Hi @krang404 |
Done. |
Yes, this is OK, thank you. |
@OleksandrIaresko pls validate in QA and provide feedback |
@krang404 can you pls resolve conflicts with main and add RHEL9 support for newly added k8s 1.28.3 in main as well. After that we will merge this feature |
f844c75
to
b069815
Compare
Add support to kubernetes v1.28.3 and test it in local environment for OL 9.2 and Rocky 9.2 |
Remove unnecessary chcon invocations. Instead, use mv -Z to copy files from /tmp Changed default iptables package for rhel9 Fixed compatibility with haproxy & keeaplived up to minor part Updated compatibility with docker-ce
Description
Selinux 3.5 introduces real support for security contexts. Therefore, installing on the latest versions of rhel-like OS will always fail. That happens because in scripts that send configuration files to a remote host, the files are moved from /tmp directory preserving the source context.
Solution
mv -Z
option.Tests
Procedure installation, backup and restore tested on RHEL 9, Oracle Linux 9.2, Rocky Linux 9.2 and CentOS 9 Stream
Checklist
Unit tests
Add rhel9 family
Add rhel9 family os