galexrt / k8s-vagrant-multi-node

A Kubernetes Vagrant Multi node environment using kubeadm.
https://k8s-vagrant-multi-node.galexrt.moe/
Apache License 2.0
166 stars 81 forks source link

Unable to install docker-ce on Centos 8 box image. #71

Closed Yuggupta27 closed 4 years ago

Yuggupta27 commented 4 years ago

Bug Report As Red Hat explicitly excluded Docker CE on CentOS 8 in favor of Podman, docker-ce doesn't get installed while using BOX_IMAGE="centos/8" logs: https://hastebin.com/elocuceyeq

Expected behavior: Docker gets installed successfully.

Deviation from expected behavior:

    master: Error: 
    master:  Problem: package docker-ce-3:19.03.11-3.el7.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installed
    master:   - cannot install the best candidate for the job
    master:   - package containerd.io-1.2.10-3.2.el7.x86_64 is excluded
    master:   - package containerd.io-1.2.13-3.1.el7.x86_64 is excluded
    master:   - package containerd.io-1.2.13-3.2.el7.x86_64 is excluded

How to reproduce it (minimal and precise):

make up BOX_OS=centos VAGRANT_DEFAULT_PROVIDER=libvirt KUBERNETES_VERSION="v1.17.5" MASTER_CPUS=2 NODE_CPUS=2 MASTER_MEMORY_SIZE_GB=4 NODE_COUNT=1 NODE_MEMORY_SIZE_GB=4 DISK_COUNT=2 DISK_SIZE_GB=25 POD_NW_CIDR=192.168.123.0/24 KUBE_NETWORK="calico" BOX_IMAGE="centos/8"

Environment: server type: gusty.ci.centos.org see: https://wiki.centos.org/QaWiki/PubHardware

=== BEGIN Version Info ===
Repo state: 8ed4982bd0e596ea1331a6f95304ea1130185015 (dirty? NO)
make: /usr/bin/make
kubectl: /usr/bin/kubectl
grep: /usr/bin/grep
cut: /usr/bin/cut
rsync: /usr/bin/rsync
openssl: /usr/bin/openssl
/dev/urandom: OK
Vagrant version:
Vagrant 2.2.7
=== END Version Info ===
galexrt commented 4 years ago

@Yuggupta27 CentOS 8 is not supported for the VMs as of right now.

I have opened a PR to add Centos 8 support so that after the PR is merged you should only specify BOX_OS=centos8 instead of the additional BOX_IMAGE.

Yuggupta27 commented 4 years ago

Thanks, @galexrt !

galexrt commented 4 years ago

@Yuggupta27 CentOS 8 support is currently not possible, see https://github.com/galexrt/k8s-vagrant-multi-node/pull/72#issuecomment-641994518