-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
On RHEL8/Centos8 python3-libselinux should be installed instead of libselinux-python #5046
Labels
kind/bug
Categorizes issue or PR as related to a bug.
Comments
These changes fix this issue. If i submit a pull request for this, will it be accepted?
|
@Mosibi, no harm in submitting PR, the team do regularly accept them |
When will RHEL 8 be supported as an install target for kubespray? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Installing Kubespray on a RHEL8 systems does not work since the default Python version is 3.6 and thus python3-libselinux should be installed instead of libselinux-python. Even that python2 is still available, the libselinux-python package is not.
TASK [bootstrap-os : Install libselinux-python] *********************************************************************************************************************************************************************************************
Tuesday 06 August 2019 13:20:50 +0000 (0:00:00.137) 0:00:03.850 ********
fatal: [node-4]: FAILED! => {"changed": false, "failures": ["No package libselinux-python available."], "msg": "Failed to install some of the specified packages", "rc": 1, "results": []}
fatal: [node-2]: FAILED! => {"changed": false, "failures": ["No package libselinux-python available."], "msg": "Failed to install some of the specified packages", "rc": 1, "results": []}
fatal: [node-1]: FAILED! => {"changed": false, "failures": ["No package libselinux-python available."], "msg": "Failed to install some of the specified packages", "rc": 1, "results": []}
fatal: [node-3]: FAILED! => {"changed": false, "failures": ["No package libselinux-python available."], "msg": "Failed to install some of the specified packages", "rc": 1, "results": []}
Environment:
Cloud provider or hardware configuration:
KVM nodes
OS
Linux 4.18.0-80.el8.x86_64 x86_64
NAME="Red Hat Enterprise Linux"
VERSION="8.0 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.0"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.0 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8.0:GA"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.0
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.0"
Version of Ansible
Ansible 2.8.2
Kubespray version (commit) (
git rev-parse --short HEAD
):Version 2.10.4 (downloaded tar.gz)
Network plugin used:
Calico
The text was updated successfully, but these errors were encountered: