-
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
Ensure apparmor is installed (Ubuntu) #8036
Ensure apparmor is installed (Ubuntu) #8036
Conversation
Kubespray deployment failed when using containerd backend on nodes that apparmor was not installed or previously removed. This PR ensure apparmor is installed by adding it into required_pkgs var.
Hi @rtsp. 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. |
When I saw another pull request for Debian, I guessed apparmor can be optional on Debian and it is fine to check the installation. |
What do you mean with "an option"? Package docker-ce recommends apparmor on ubuntu, packages containerd.io or kubelet don't mention it, it has |
There're some edge cases that
So, If the apparmor is required by kubespray because both docker and containerd need it. I think it's no downside for explicitly specify it in |
I see. /ok-to-test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @rtsp
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: floryut, rtsp 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 |
Backport kubernetes-sigs#8011 and kubernetes-sigs#8036 to kubespray/release-2.17
Kubespray deployment failed when using containerd backend on nodes that apparmor was not installed or previously removed. This PR ensure apparmor is installed by adding it into required_pkgs var. (cherry picked from commit af04906)
…8042) * Ensure apparmor is installed (#8011) Kubespray deployment failed when using containerd backend on nodes that apparmor was not installed or previously removed. This PR ensure apparmor is installed by adding it into required_pkgs var. (cherry picked from commit 4bace24) * Ensure apparmor is installed (#8036) Kubespray deployment failed when using containerd backend on nodes that apparmor was not installed or previously removed. This PR ensure apparmor is installed by adding it into required_pkgs var. (cherry picked from commit af04906) Co-authored-by: rtsp <git@rtsp.us>
Kubespray deployment failed when using containerd backend on nodes that apparmor was not installed or previously removed. This PR ensure apparmor is installed by adding it into required_pkgs var.
…ubernetes-sigs#8042) * Ensure apparmor is installed (kubernetes-sigs#8011) Kubespray deployment failed when using containerd backend on nodes that apparmor was not installed or previously removed. This PR ensure apparmor is installed by adding it into required_pkgs var. (cherry picked from commit 4bace24) * Ensure apparmor is installed (kubernetes-sigs#8036) Kubespray deployment failed when using containerd backend on nodes that apparmor was not installed or previously removed. This PR ensure apparmor is installed by adding it into required_pkgs var. (cherry picked from commit af04906) Co-authored-by: rtsp <git@rtsp.us>
Kubespray deployment failed when using containerd backend on nodes that apparmor was not installed or previously removed. This PR ensure apparmor is installed by adding it into required_pkgs var.
What type of PR is this?
What this PR does / why we need it:
Exactly same as #8011 but for Ubuntu (#7965 (comment))
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
I don't have Ubuntu to test this PR but it should work fine for both 18.04 (apparmor 2.12) and 20.04 (apparmor 2.13).
Does this PR introduce a user-facing change?: