Skip to content

Conversation

@haircommander
Copy link
Member

What type of PR is this?

/kind bug

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?

fix a bug where pinns wasn't setting the sysctls at the correct time when it was also pinning a user namespace 

@haircommander haircommander requested a review from mrunalp as a code owner May 7, 2024 20:16
@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 May 7, 2024
@openshift-ci openshift-ci bot requested review from QiWang19 and wgahnagl May 7, 2024 20:17
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 7, 2024
Comment on lines 135 to 137
if len(output) != 0 {
logrus.Debugf("Got output from pinns: %s", output)
}
Copy link
Contributor

Choose a reason for hiding this comment

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

No need to wrap debug log with a check, you probably want to see any value there, if debug level is set.

Suggested change
if len(output) != 0 {
logrus.Debugf("Got output from pinns: %s", output)
}
logrus.Debugf("Got output from pinns: %v", output)

@codecov
Copy link

codecov bot commented May 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 49.58%. Comparing base (81f5382) to head (0a91103).
Report is 13 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8149      +/-   ##
==========================================
- Coverage   49.59%   49.58%   -0.01%     
==========================================
  Files         153      153              
  Lines       16926    16927       +1     
==========================================
- Hits         8394     8393       -1     
- Misses       7486     7488       +2     
  Partials     1046     1046              

@kwilczynski
Copy link
Contributor

/retest

@kwilczynski
Copy link
Contributor

/test ci-fedora-kata

@kwilczynski
Copy link
Contributor

@haircommander, there might be a genuine failure in the logs, per:

# E0508 00:02:06.091415   27274 remote_runtime.go:193] "RunPodSandbox from runtime service failed" err=<
# 	rpc error: code = Unknown desc = CreateContainer failed: usernamespace
#
# 	Caused by:
# 	    0: idmapping uid
# 	    1: No idmap has size > 0: unknown

Copy link
Member

@giuseppe giuseppe left a comment

Choose a reason for hiding this comment

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

LGTM (for the .c part)

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 8, 2024
@kwilczynski
Copy link
Contributor

/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 8, 2024
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label May 8, 2024
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 May 8, 2024
@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 8, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: giuseppe, haircommander, sohankunkerkar

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 [giuseppe,haircommander]

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

- 'test "Clean up network if pod sandbox gets killed"'
kata_skip_pod_tests:
- 'test "pass pod sysctls to runtime"'
- 'test "pass pod sysctls to runtime when in userns"'
Copy link
Member

Choose a reason for hiding this comment

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

Should we create an issue for this to track the failure?

Copy link
Member Author

@haircommander haircommander May 8, 2024

Choose a reason for hiding this comment

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

we could though userns isn't super meaningful in a kata context because the IDs are already separated from the host through virtualization

@haircommander
Copy link
Member Author

/override ci/prow/e2e-gcp-ovn

@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 8, 2024

@haircommander: Overrode contexts on behalf of haircommander: ci/prow/e2e-gcp-ovn

In response to this:

/override ci/prow/e2e-gcp-ovn

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.

@haircommander
Copy link
Member Author

/hold cancel

/cherry-pick release-1.30

@openshift-cherrypick-robot

@haircommander: once the present PR merges, I will cherry-pick it on top of release-1.30 in a new PR and assign it to you.

In response to this:

/hold cancel

/cherry-pick release-1.30

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.

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 8, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit b134313 into cri-o:main May 8, 2024
@openshift-cherrypick-robot

@haircommander: new pull request created: #8155

In response to this:

/hold cancel

/cherry-pick release-1.30

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.

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. 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.

5 participants