Skip to content

Add flag to allow oci.WithAllDevicesAllowed on PrivilegedWithoutHostDevices#5686

Merged
kzys merged 1 commit intocontainerd:mainfrom
dtnyn:issue-5679
Apr 25, 2022
Merged

Add flag to allow oci.WithAllDevicesAllowed on PrivilegedWithoutHostDevices#5686
kzys merged 1 commit intocontainerd:mainfrom
dtnyn:issue-5679

Conversation

@dtnyn
Copy link
Copy Markdown
Contributor

@dtnyn dtnyn commented Jul 5, 2021

This commit adds a flag that enable all devices whitelisting when privileged_without_host_devices is already enabled.

Fixes #5679

Signed-off-by: Dat Nguyen [email protected]

@k8s-ci-robot
Copy link
Copy Markdown

Hi @dtnyn. Thanks for your PR.

I'm waiting for a containerd 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.

Details

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.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Jul 5, 2021

Build succeeded.

Comment thread docs/cri/config.md Outdated
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Jul 6, 2021

Build succeeded.

@dtnyn
Copy link
Copy Markdown
Contributor Author

dtnyn commented Jul 9, 2021

/cc @mikebrow

Since you had contexts on the discussion regarding this changes when this issue was raised in the old cri repo #6643, could you please have a look?

@kzys
Copy link
Copy Markdown
Member

kzys commented Jul 22, 2021

/ok-to-test

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Sep 13, 2021

Build succeeded.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Sep 13, 2021

Build succeeded.

@dtnyn
Copy link
Copy Markdown
Contributor Author

dtnyn commented Sep 13, 2021

/retest

@dtnyn
Copy link
Copy Markdown
Contributor Author

dtnyn commented Sep 13, 2021

/retest doesn't re-run failed github actions it seems

@k8s-ci-robot
Copy link
Copy Markdown

@dtnyn: The /retest command does not accept any targets.
The following commands are available to trigger required jobs:

  • /test pull-containerd-build
  • /test pull-containerd-node-e2e

Use /test all to run all jobs.

Details

In response to this:

/retest doesn't re-run failed github actions it seems

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.

@dtnyn
Copy link
Copy Markdown
Contributor Author

dtnyn commented Sep 13, 2021

/test all

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Sep 15, 2021

Build succeeded.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Sep 15, 2021

Build succeeded.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Sep 15, 2021

Build succeeded.

Comment thread pkg/cri/server/container_create_linux_test.go Outdated
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Sep 16, 2021

Build succeeded.

@dtnyn dtnyn requested a review from mikebrow October 29, 2021 00:10
This commit adds a flag that enable all devices whitelisting when
privileged_without_host_devices is already enabled.

Fixes containerd#5679

Signed-off-by: Dat Nguyen <[email protected]>
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci Bot commented Nov 3, 2021

Build succeeded.

@dtnyn
Copy link
Copy Markdown
Contributor Author

dtnyn commented Nov 4, 2021

/test pull-containerd-node-e2e

Copy link
Copy Markdown
Member

@mikebrow mikebrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
still a tricky topic.. might add a diagram later on..

@estesp
Copy link
Copy Markdown
Member

estesp commented Mar 23, 2022

This PR is effectively approved but never merged; is there any new thoughts/concerns on this method @mikebrow or @AkihiroSuda? If not, we should merge.

@kzys kzys merged commit f140400 into containerd:main Apr 25, 2022
@Bevisy
Copy link
Copy Markdown

Bevisy commented Jun 20, 2022

Sorry to disturb, do we need to backport the pr to release/1.6 or release/1.5? @dtnyn @kzys @AkihiroSuda

@AkihiroSuda
Copy link
Copy Markdown
Member

Usually we only backport bug fixes, not new features

@Bevisy
Copy link
Copy Markdown

Bevisy commented Jun 21, 2022

Usually we only backport bug fixes, not new features

Got it, thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

privileged_without_host_devices=true prevents running containers within DIND

9 participants