Bug 1202923

Summary: etcd and kubernetes dependency issue on fedora 21
Product: [Fedora] Fedora Reporter: Avesh Agarwal <avagarwa>
Component: kubernetesAssignee: Jan Chaloupka <jchaloup>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: eparis, golang-updates, jchaloup, lacypret, lemenkov, lsm5, nhorman, vbatts, walters
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kubernetes-0.13.2-0.5.git8d94c43.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-08 06:55:42 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 Avesh Agarwal 2015-03-17 17:31:42 UTC
Description of problem:
Removing etcd on fedora 21 removes kubernetes too which should not happen because etcd and kubernetes need not be co-located on the same system. 

For example, I have following 3 VMs setup: 
1. one is running as kube master on fedora 21 
2. another is running as kube minion/node on fedora 21
3. third is running etcd inside a container on atomic host

Since based on above setup, On kube master, I wanted to remove etcd (as I do not need etcd on kube master), but removing etcd removes kubernetes too.  

Version-Release number of selected component (if applicable):
etcd-2.0.3-0.2.fc21.x86_64

How reproducible:
always

Steps to Reproduce:
1.remove/uninstall etcd on fedora 21 and it uninstall kubernetes too.
2.
3.

Actual results:
etcd and kubernetes are removed.

Expected results:
only etcd should be removed.

Additional info:

Comment 1 Jan Chaloupka 2015-03-23 14:25:22 UTC
Eric,

does the same hold for rhel? Avesh's argument is legit. Etcd is build-time requirement as we need it to run tests during building. But for runtime, if we remove etcd from runtime deps, what consequences is this going to have?

Comment 2 Eric Paris 2015-03-23 14:34:16 UTC
agreed.  build dep only.

Comment 3 Fedora Update System 2015-03-27 12:50:50 UTC
kubernetes-0.13.2-0.5.git8d94c43.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/kubernetes-0.13.2-0.5.git8d94c43.fc20

Comment 4 Fedora Update System 2015-03-27 12:51:36 UTC
kubernetes-0.13.2-0.5.git8d94c43.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/kubernetes-0.13.2-0.5.git8d94c43.fc21

Comment 5 Fedora Update System 2015-03-27 12:52:12 UTC
kubernetes-0.13.2-0.5.git8d94c43.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/kubernetes-0.13.2-0.5.git8d94c43.fc22

Comment 6 Fedora Update System 2015-03-29 04:25:35 UTC
Package kubernetes-0.13.2-0.5.git8d94c43.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing kubernetes-0.13.2-0.5.git8d94c43.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-4766/kubernetes-0.13.2-0.5.git8d94c43.fc20
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2015-04-08 06:55:42 UTC
kubernetes-0.13.2-0.5.git8d94c43.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2015-04-08 06:57:38 UTC
kubernetes-0.13.2-0.5.git8d94c43.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2015-04-21 18:51:42 UTC
kubernetes-0.13.2-0.5.git8d94c43.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.