Skip to content
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

Disable docker-ce yum repo by default / cleanups #7080

Merged
merged 1 commit into from
Dec 23, 2020

Conversation

champtar
Copy link
Contributor

Upgrading docker / containerd without adapting the configuration might break the node,
so disable docker-ce repo by default.
We are already using dpkg hold for Debian.

All containerd.io packages provide /usr/bin/runc, so no need to check

yum_conf was never used for containerd

module_hotfixes should not be needed with the EL8 repo

What type of PR is this?
/kind feature

What this PR does / why we need it:

Which issue(s) this PR fixes:

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

Disable docker-ce yum repo by default

@k8s-ci-robot k8s-ci-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Dec 22, 2020
@k8s-ci-robot
Copy link
Contributor

Hi @champtar. 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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

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.

@k8s-ci-robot k8s-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Dec 22, 2020
Upgrading docker / containerd without adapting the configuration might break the node,
so disable docker-ce repo by default.
We are already using dpkg hold for Debian.

All containerd.io packages provide /usr/bin/runc, so no need to check

yum_conf was never used for containerd

module_hotfixes should not be needed with the EL8 repo

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
@LuckySB
Copy link
Contributor

LuckySB commented Dec 23, 2020

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Dec 23, 2020
@LuckySB
Copy link
Contributor

LuckySB commented Dec 23, 2020

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: champtar, LuckySB

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 23, 2020
@EppO
Copy link
Contributor

EppO commented Dec 23, 2020

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 23, 2020
@k8s-ci-robot k8s-ci-robot merged commit 1945499 into kubernetes-sigs:master Dec 23, 2020
@champtar champtar deleted the disable_docker_repo branch December 24, 2020 11:47
@floryut floryut mentioned this pull request Jan 4, 2021
@floryut
Copy link
Member

floryut commented Jan 4, 2021

@champtar since this, containerd build are failing to install packages on Fedora
https://gitlab.com/kargo-ci/kubernetes-sigs-kubespray/-/jobs/941643413

Monday 04 January 2021  01:16:00 +0000 (0:00:01.890)       0:07:34.729 ******** 
TASK [container-engine/containerd : ensure containerd packages are installed] ***
task path: /builds/kargo-ci/kubernetes-sigs-kubespray/roles/container-engine/containerd/tasks/main.yml:93
Monday 04 January 2021  01:16:01 +0000 (0:00:00.856)       0:07:35.585 ******** 
FAILED - RETRYING: ensure containerd packages are installed (4 retries left).
FAILED - RETRYING: ensure containerd packages are installed (4 retries left).
FAILED - RETRYING: ensure containerd packages are installed (3 retries left).
FAILED - RETRYING: ensure containerd packages are installed (3 retries left).
FAILED - RETRYING: ensure containerd packages are installed (2 retries left).
FAILED - RETRYING: ensure containerd packages are installed (2 retries left).
FAILED - RETRYING: ensure containerd packages are installed (1 retries left).
FAILED - RETRYING: ensure containerd packages are installed (1 retries left).
failed: [instance-1] (item={'name': 'containerd.io-1.3.9-3.1.fc32'}) => {"ansible_loop_var": "item", "attempts": 4, "changed": false, "failures": ["containerd.io-1.3.9-3.1.fc32 No match for argument: containerd.io-1.3.9-3.1.fc32"], "item": {"name": "containerd.io-1.3.9-3.1.fc32"}, "msg": "Failed to install some of the specified packages", "rc": 1, "results": []}
...ignoring
failed: [instance-2] (item={'name': 'containerd.io-1.3.9-3.1.fc32'}) => {"ansible_loop_var": "item", "attempts": 4, "changed": false, "failures": ["containerd.io-1.3.9-3.1.fc32 No match for argument: containerd.io-1.3.9-3.1.fc32"], "item": {"name": "containerd.io-1.3.9-3.1.fc32"}, "msg": "Failed to install some of the specified packages", "rc": 1, "results": []}

Do we need to enable repo for fedora ? Any other idea ?

@champtar
Copy link
Contributor Author

champtar commented Jan 4, 2021

indeed roles/container-engine/containerd/vars/fedora.yml is wrong, let me send a PR

@champtar
Copy link
Contributor Author

champtar commented Jan 4, 2021

=> #7093

LuckySB pushed a commit to southbridgeio/kubespray that referenced this pull request Jan 17, 2021
Upgrading docker / containerd without adapting the configuration might break the node,
so disable docker-ce repo by default.
We are already using dpkg hold for Debian.

All containerd.io packages provide /usr/bin/runc, so no need to check

yum_conf was never used for containerd

module_hotfixes should not be needed with the EL8 repo

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants