-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Ubuntu changed package name python-apt to python3-apt #7769
Conversation
Welcome @Shinerrs! |
Hi @Shinerrs. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/check-cla |
1 similar comment
/check-cla |
Well then https://github.com/kubernetes-sigs/kubespray/blob/master/roles/kubernetes/preinstall/vars/ubuntu-21.04.yml should be removed, but are you positive that this work with ubuntu 16/18 etc.. ? |
Hey floryut, Ive not tested those versions, I am using an ubuntu ami in AWS and it works there. I think supporting 16 is not feasible as no product should support something that is EoL 16.04 April 30th 2021. 18 is a great question and I will test this today. But in any case, even if it does not work, it begs to question, why is Kubespray forcing the use of a python2 version that is EoL and could contain vulnerabilities, one would beg to question, is this kubespray a production grade or not. Confirmed as a stopper to latest ubuntu build and this fixed it. |
Not necessarily going down that road 😄 just wondering if this change should target only ubuntu 20 or also 18/16 |
hehe :) my opinion is, anyone who uses EoL in production should go to jail, but everyone is entitled to their opinion xD For my own future understanding, how would one (being me) trigger the build jobs in future? |
Interesting, the job failed in Focusing on this pull request:
looks good to me |
You need to ask on slack/PR for someone to trigger it for you (as you need elevated right for this) 👍
Yes the change seems fine as Ubuntu 16/18/20 looks good on playbook-end, the job error might come from ansible_interpreter not set to python3 when running tests, but why would some ubuntu18 jobs works and not one is beyond my understanding for now 😄 |
Anyhow you still could remove https://github.com/kubernetes-sigs/kubespray/blob/master/roles/kubernetes/preinstall/vars/ubuntu-21.04.yml as there is no need for a specific vars now that both files have the same content |
Great suggestion, I have now implemented your suggestion. |
/ok-to-test |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: floryut, Shinerrs The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…s#7769) * replaced deprecated python package with python3 package * removed the version due to duplication
…s#7769) * replaced deprecated python package with python3 package * removed the version due to duplication
/kind feature
What this PR does / why we need it:
Looking forward to next Ubuntu Version you need do change the package name of python-apt in python3-apt.
Issue was resolved for ubuntu20.04.yml but not ubuntu.yml
Original issue that fixed only 1 of the ubuntu variable files: #7715