Skip to content

Conversation

@xw19
Copy link
Member

@xw19 xw19 commented Jan 5, 2025

conmon_cgroup is deprecated and is replaced with RuntimeHandler monitor_cgroup and we prepopulate with default 'system.slice'

What type of PR is this?

/kind bug

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #6047

Special notes for your reviewer:

Does this PR introduce a user-facing change?

None

Fixed bug to allow `conmon_cgroup` to be empty when cgroup manager is `cgroupfs` .

@xw19 xw19 requested a review from mrunalp as a code owner January 5, 2025 19:45
@openshift-ci openshift-ci bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. kind/bug Categorizes issue or PR as related to a bug. labels Jan 5, 2025
@openshift-ci openshift-ci bot requested review from QiWang19 and hasan4791 January 5, 2025 19:45
@openshift-ci openshift-ci bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Jan 5, 2025
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 5, 2025

Hi @xw19. Thanks for your PR.

I'm waiting for a cri-o 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-sigs/prow repository.

@codecov
Copy link

codecov bot commented Jan 5, 2025

Codecov Report

Attention: Patch coverage is 93.10345% with 4 lines in your changes missing coverage. Please review.

Project coverage is 47.49%. Comparing base (b49a38f) to head (a4c67cc).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8888      +/-   ##
==========================================
+ Coverage   47.47%   47.49%   +0.02%     
==========================================
  Files         154      154              
  Lines       23111    23124      +13     
==========================================
+ Hits        10971    10983      +12     
  Misses      11071    11071              
- Partials     1069     1070       +1     

@kwilczynski
Copy link
Contributor

/ok-to-test

@openshift-ci openshift-ci bot 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 Jan 5, 2025
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 5, 2025
@xw19
Copy link
Member Author

xw19 commented Jan 6, 2025

/retest

@xw19
Copy link
Member Author

xw19 commented Jan 6, 2025

/test ci-crun-e2e

@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Jan 6, 2025
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 7, 2025
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Jan 10, 2025
@xw19
Copy link
Member Author

xw19 commented Jan 10, 2025

/retest

@openshift-ci openshift-ci bot added the dco-signoff: no Indicates the PR's author has not DCO signed all their commits. label Jan 10, 2025
@openshift-ci openshift-ci bot removed the dco-signoff: yes Indicates the PR's author has DCO signed all their commits. label Jan 10, 2025
@openshift-ci openshift-ci bot added dco-signoff: yes Indicates the PR's author has DCO signed all their commits. and removed dco-signoff: no Indicates the PR's author has not DCO signed all their commits. labels Jan 10, 2025
@xw19 xw19 requested a review from haircommander January 20, 2025 13:15
@xw19
Copy link
Member Author

xw19 commented Jan 20, 2025

/retest

1 similar comment
@xw19
Copy link
Member Author

xw19 commented Jan 20, 2025

/retest

@xw19
Copy link
Member Author

xw19 commented Jan 27, 2025

/test ci-fedora-kata

Copy link
Member

@sohankunkerkar sohankunkerkar left a comment

Choose a reason for hiding this comment

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

/approve
Thanks for your patience!
@cri-o/cri-o-maintainers PTAL

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 28, 2025
@saschagrunert
Copy link
Member

@xw19 please rebase this one

@xw19 xw19 force-pushed the main branch 2 times, most recently from 39673c4 to 3a8ab78 Compare January 29, 2025 08:58
@xw19
Copy link
Member Author

xw19 commented Jan 29, 2025

/retest

1 similar comment
@xw19
Copy link
Member Author

xw19 commented Jan 29, 2025

/retest

}

// DefaultRuntimeConfig returns the default Runtime configs.
func DefaultRuntimeConfig(cgroupManager cgmgr.CgroupManager) *RuntimeConfig {
Copy link
Member

Choose a reason for hiding this comment

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

nit: can this be defined below where it's callled?

conmon_cgroup is deprecated and is replaced with RuntimeHandler monitor_cgroup and we prepopulate
with default 'system.slice'

Signed-off-by: Sourav Moitra <[email protected]>
@haircommander
Copy link
Member

/approve

LGTM, @cri-o/cri-o-maintainers PTAL

@xw19
Copy link
Member Author

xw19 commented Feb 9, 2025

/retest

Copy link
Member

@sohankunkerkar sohankunkerkar left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Feb 10, 2025
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 10, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: haircommander, roman-kiselenko, sohankunkerkar, xw19

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:
  • OWNERS [haircommander,sohankunkerkar]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 6168738 into cri-o:main Feb 10, 2025
77 of 78 checks passed
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. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. kind/bug Categorizes issue or PR as related to a bug. lgtm 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. release-note Denotes a PR that will be considered when it comes time to generate release notes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

crio fails validation for conmon_cgroup when using cgroupfs as cgroup manager

6 participants