-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
Fedora CoreOS fails to be initialized #6819
Comments
After removing the following lines https://github.com/kubernetes-sigs/kubespray/blob/master/roles/bootstrap-os/tasks/bootstrap-fedora-coreos.yml#L26-29 and https://github.com/kubernetes-sigs/kubespray/blob/master/roles/bootstrap-os/tasks/bootstrap-fedora-coreos.yml#L31-34 the installation completes. |
I don't know if python3-libselinux is unwanted, that's why i didn't remove the package. |
Ok got it, so you already have Not sure if the codebase needs to have some kind of check whatsoever 🤔 |
The iso i used on my servers is Fedora-coreos-32.20200907.3.0-live.X86_64.Iso. Version 3.0-3 was on iso I think that's the check ansible should perform before disabling the Fedora-Updates repo printf "$(uname -srm)\n$(cat /etc/os-release)\n" outputs
Maybe use the OSTREE_VERSION as comparison ? Or the output from |
Just to sum up if someone wants to revisit with a future pr since im not a ansible expert. Basically, ansible needs to do the following check
|
sorry, a bit late on this party (we rolled out kubernetes with fcos to production this week, yeaaa) |
The issue from side at least was that the compatible version of python3-libselinux was on the update repos. |
It appears CoreOS team has solved the issue |
Environment:
MVPS, a small provider
OS: Fedora CoreOS 32.20200923.3.0
Version of Ansible: 2.9.6
Version of Python (
python --version
): 3.6.9 as python3/2.7.17 as python (host pc/ubuntu 18.04)Kubespray version (commit) (
git rev-parse --short HEAD
): version 2.14.1Network plugin used: flannel
The error is the following
Problem: cannot install both libselinux-3.0-3.fc32.x86_64 and libselinux-3.0-5.fc32.x86_64", " - package python3-libselinux-3.0-3.fc32.x86_64 requires libselinux(x86-64) = 3.0-3.fc32, but none of the providers can be installed", " - conflicting requests"
The text was updated successfully, but these errors were encountered: