Bug 1420394
Summary: | both origin and kubernetes-client provide /usr/bin/kubectl | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Igor Gnatenko <ignatenko> |
Component: | origin | Assignee: | Jakub Čajka <jcajka> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 37 | CC: | admiller, bradley.g.smith, hello, jcajka, jdisnard, link, ngompa13, tdawson, vfeenstr |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-11-20 20:43:12 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
Igor Gnatenko
2017-02-08 14:47:48 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle. Changing version to '26'. ping? Apologies for the delay. OpenShift is a kubernetes distribution. This is not incorrect but the packages should probably conflict. Thoughts on making the packages conflict? Fine with making conflicts. This message is a reminder that Fedora 26 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '26'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 26 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 26 changed to end-of-life (EOL) status on 2018-05-29. Fedora 26 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. I still do not see any conflict in F27: Error: Transcation check error: file /usr/bin/kubectl from install of origin-clients-3.6.0-1.fc27.x86_64 conflicts with file from package kubernetes-client-1.10.1-0.fc27.x86_64 Added some PRs against origin to solve this: https://src.fedoraproject.org/rpms/origin/pull-request/1 https://src.fedoraproject.org/rpms/origin/pull-request/2 https://src.fedoraproject.org/rpms/origin/pull-request/4 This is still the case today, though since we set up alternatives with hyperkube, coudl we also do this with kubectl? (In reply to Neal Gompa from comment #9) > This is still the case today, though since we set up alternatives with > hyperkube, coudl we also do this with kubectl? We don't have alternatives(dropped) as kube haven't done its part(were afraid of impact of sym links), there is now explicit conflict in 3.11 packages. I hope that I have covered all the cases/subpackages, if not please re-open this. I just hit this issue, and my apologies for reopening. Can we please have origin-clients move `/usr/bin/kubectl` to a separate sub-package, something like "origin-clients-kubectl"? The sub-package would only contain files related to `kubectl` like the binary, manual pages, shell completion, etc.. That way we can potentially move package level "conflicts" declarations to the sub-package, and hopefully origin-clients would have it's dependency on `/usr/bin/kubectl` satisfied by either it's own sub-package, or the separate kubernetes-client package. I say hopefully, because I'm not sure about forward/backward compatibility in Origin? For example, newer `kubectl` have `kustomize` built-in (e.g. `kubectl apply -k`), but the one I got installed currently doesn't have that feature. Ultimately I want to have `oc` from origin-clients, and I want `kubectl` from kubernetes-client, and and I want to allow foot shooting if I stubbornly insist on using more recent version of `kubectl`. What do you think @admiller ?? +1 for removing /usr/bin/kubectl from the -clients subpackage. origin-clients-3.11.2 is bundling a very old version of kubectl (1.10). We should provide kubectl from the kubernetes client package. Are we in agreeance or is there a reason not to? This message is a reminder that Fedora Linux 35 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '35'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 35 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed. Fedora Linux 35 entered end-of-life (EOL) status on 2022-12-13. Fedora Linux 35 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora Linux please feel free to reopen this bug against that version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see the version field. If you are unable to reopen this bug, please file a new report against an active release. Thank you for reporting this bug and we are sorry it could not be fixed. origin-clients is still shipping a very old version of kubectl in the `origin-clients` package. [link@thelio ~]$ rpm -q origin-clients origin-clients-3.11.2-8.fc37.x86_64 [link@thelio ~]$ rpm -ql origin-clients | grep kubectl /usr/bin/kubectl [link@thelio ~]$ kubectl version Client Version: version.Info{Major:"1", Minor:"10+", GitVersion:"v1.10.0+b3b92b2", GitCommit:"b3b92b2", GitTreeState:"clean", BuildDate:"2022-07-22T02:33:09Z", GoVersion:"go1.19rc2", Compiler:"gc", Platform:"linux/amd64"} Origin is no longer in Fedora. This should be closed. The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days |