Bug 1631053

Summary: Package kubernetes-node requires docker
Product: [Fedora] Fedora Reporter: Tomas Schlosser <tschloss>
Component: kubernetesAssignee: Jan Chaloupka <jchaloup>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 29CC: eparis, ichavero, jbrooks, jcajka, jchaloup, jpazdziora, nhorman, strigazi, tstclair, vbatts
Target Milestone: ---   
Target Release: ---   
Hardware: armv7hl   
OS: Unspecified   
Whiteboard:
Fixed In Version: kubernetes-1.12.5-2.fc29 kubernetes-1.12.5-2.fc30 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-15 18:28:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tomas Schlosser 2018-09-19 20:01:04 UTC
Description of problem:
When installing kubernetes-node to my machines, I'm forced to install also Docker packages. There is an alternative cri-o package that provides similar functionality and can replace docker as container runtime. See e.g. https://www.projectatomic.io/blog/2017/06/using-kubeadm-with-cri-o/

Version-Release number of selected component (if applicable):
Tested on Fedora 28, 29 architectures x86_64 and armv7hl (latest)

How reproducible:
Always

Steps to Reproduce:
1. dnf install kubernetes-node

Actual results:
Installing:
 kubernetes-node                                                    armv7hl                             1.10.3-1.fc29                                            fedora                                       24 M
Installing dependencies:
 atomic-registries                                                  armv7hl                             1.22.1-27.gitb507039.fc29                                fedora                                       38 k
 conntrack-tools                                                    armv7hl                             1.4.4-8.fc29                                             fedora                                      183 k
 container-storage-setup                                            noarch                              0.11.0-4.dev.git413b408.fc29                             fedora                                       39 k
 docker                                                             armv7hl                             2:1.13.1-62.git9cb56fd.fc29                              fedora                                       21 M
 docker-common                                                      armv7hl                             2:1.13.1-62.git9cb56fd.fc29                              fedora                                       44 k
 docker-rhel-push-plugin                                            armv7hl                             2:1.13.1-62.git9cb56fd.fc29                              fedora                                      1.8 M
 kubernetes-client                                                  armv7hl                             1.10.3-1.fc29                                            fedora                                       24 M
 libnetfilter_cthelper                                              armv7hl                             1.0.0-14.fc29                                            fedora                                       21 k
 libnetfilter_cttimeout                                             armv7hl                             1.0.0-12.fc29                                            fedora                                       21 k
 libnetfilter_queue                                                 armv7hl                             1.0.2-12.fc29                                            fedora                                       25 k
 oci-umount                                                         armv7hl                             2:2.3.4-2.git87f9237.fc29                                fedora                                       35 k
 python3-pytoml                                                     noarch                              0.1.18-1.fc29                                            fedora                                       24 k
 python3-pyyaml                                                     armv7hl                             4.2-0.1.b4.fc29                                          fedora                                      177 k
 subscription-manager-rhsm-certificates                             armv7hl                             1.23.3-1.fc29                                            fedora                                       46 k
 xfsprogs                                                           armv7hl                             4.17.0-3.fc29                                            fedora                                      1.0 M
 yajl                                                               armv7hl                             2.1.0-11.fc29                                            fedora                                       35 k
Installing weak dependencies:
 oci-systemd-hook                                                   armv7hl                             1:0.1.18-1.git38504cc.fc29                               updates-testing                              35 k

Expected results:
Installing:
 kubernetes-node                                                    armv7hl                             1.10.3-1.fc29                                            fedora                                       24 M
Installing dependencies:
 atomic-registries                                                  armv7hl                             1.22.1-27.gitb507039.fc29                                fedora                                       38 k
 conntrack-tools                                                    armv7hl                             1.4.4-8.fc29                                             fedora                                      183 k
 container-storage-setup                                            noarch                              0.11.0-4.dev.git413b408.fc29                             fedora                                       39 k
 kubernetes-client                                                  armv7hl                             1.10.3-1.fc29                                            fedora                                       24 M
 libnetfilter_cthelper                                              armv7hl                             1.0.0-14.fc29                                            fedora                                       21 k
 libnetfilter_cttimeout                                             armv7hl                             1.0.0-12.fc29                                            fedora                                       21 k
 libnetfilter_queue                                                 armv7hl                             1.0.2-12.fc29                                            fedora                                       25 k
 oci-umount                                                         armv7hl                             2:2.3.4-2.git87f9237.fc29                                fedora                                       35 k
 python3-pytoml                                                     noarch                              0.1.18-1.fc29                                            fedora                                       24 k
 python3-pyyaml                                                     armv7hl                             4.2-0.1.b4.fc29                                          fedora                                      177 k
 subscription-manager-rhsm-certificates                             armv7hl                             1.23.3-1.fc29                                            fedora                                       46 k
 xfsprogs                                                           armv7hl                             4.17.0-3.fc29                                            fedora                                      1.0 M
 yajl                                                               armv7hl                             2.1.0-11.fc29                                            fedora                                       35 k
Installing weak dependencies:
 oci-systemd-hook                                                   armv7hl                             1:0.1.18-1.git38504cc.fc29                               updates-testing                              35 k

Additional info:
cri-o is already installed on my machines (i.e. dnf install cri-o has successfully finished).

Comment 1 Fedora Update System 2019-03-05 14:20:14 UTC
kubernetes-1.12.5-2.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-5c029387ec

Comment 2 Fedora Update System 2019-03-05 14:20:23 UTC
kubernetes-1.12.5-2.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-3ecff65275

Comment 3 Tomas Schlosser 2019-03-05 14:39:41 UTC
Running `dnf install kubernetes --enablerepo updates-testing`, I still get the dependency on docker. cri-o is already installed, docker is not and kubernetes version is indeed 1.12 so the issue is not fixed (tried Fedora 29 on armv7hl).

Comment 4 Tomas Schlosser 2019-03-05 14:43:29 UTC
List of packages that `dnf install kubernetes --enablerepo updates-testing` wants to install (just for the record):
Installing:
 kubernetes          armv7hl 1.12.5-1.fc29                updates-testing  10 k
Installing dependencies:
 kubernetes-client   armv7hl 1.12.5-1.fc29                updates-testing  71 M
 kubernetes-master   armv7hl 1.12.5-1.fc29                updates-testing  63 M
 kubernetes-node     armv7hl 1.12.5-1.fc29                updates-testing  44 M
 docker              armv7hl 2:1.13.1-65.git1185cfd.fc29  updates          21 M
 docker-common       armv7hl 2:1.13.1-65.git1185cfd.fc29  updates          24 k
 docker-rhel-push-plugin
                     armv7hl 2:1.13.1-65.git1185cfd.fc29  updates         1.8 M
 libicu              armv7hl 62.1-3.fc29                  updates         8.5 M
 oci-umount          armv7hl 2:2.5-1.gitc3cda1f.fc29      updates          35 k
 subscription-manager-rhsm-certificates
                     armv7hl 1.24.2-1.fc29                updates          48 k
 atomic-registries   armv7hl 1.22.1-27.gitb507039.fc29    fedora           38 k
 conntrack-tools     armv7hl 1.4.4-8.fc29                 fedora          183 k
 container-storage-setup
                     noarch  0.11.0-4.dev.git413b408.fc29 fedora           39 k
 gnupg               armv7hl 1.4.23-2.fc29                fedora          1.3 M
 libnetfilter_cthelper
                     armv7hl 1.0.0-14.fc29                fedora           21 k
 libnetfilter_cttimeout
                     armv7hl 1.0.0-12.fc29                fedora           21 k
 libnetfilter_queue  armv7hl 1.0.2-12.fc29                fedora           25 k
 libusb              armv7hl 1:0.1.5-13.fc29              fedora           32 k
 python3-pytoml      noarch  0.1.18-1.fc29                fedora           24 k
 python3-pyyaml      armv7hl 4.2-0.1.b4.fc29              fedora          177 k
 xfsprogs            armv7hl 4.17.0-3.fc29                fedora          1.0 M
 yajl                armv7hl 2.1.0-11.fc29                fedora           35 k
Installing weak dependencies:
 oci-systemd-hook    armv7hl 1:0.1.18-1.git38504cc.fc29   updates-testing  35 k

Comment 5 Jan Pazdziora (Red Hat) 2019-03-05 14:46:13 UTC
The https://bodhi.fedoraproject.org/updates/FEDORA-2019-3ecff65275 shows that it's still in the Request: testing state, that's why you get kubernetes-1.12.5-1.fc29, not kubernetes-1.12.5-2.fc29 where the fix should be. It will likely take a day or two to propagate to compose and to mirrors.

Comment 6 Jan Chaloupka 2019-03-05 14:52:58 UTC
Feel free to install the rpm by hand from https://koji.fedoraproject.org/koji/buildinfo?buildID=1221029

Comment 7 Fedora Update System 2019-03-06 15:57:06 UTC
kubernetes-1.12.5-2.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-3ecff65275

Comment 8 Fedora Update System 2019-03-06 22:19:35 UTC
kubernetes-1.12.5-2.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-5c029387ec

Comment 9 Fedora Update System 2019-03-06 22:53:42 UTC
kubernetes-1.12.5-2.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-5c029387ec

Comment 10 Tomas Schlosser 2019-03-08 11:48:29 UTC
Thank you for the info.

I verified the installation on my devices and it works in Fedora 29 (I don't have F30 machine at hand).

Comment 11 Fedora Update System 2019-03-15 18:28:58 UTC
kubernetes-1.12.5-2.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2019-03-29 19:10:06 UTC
kubernetes-1.12.5-2.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.