Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@openshift-cherrypick-robot

This is an automated cherry-pick of #6257

/assign haircommander

Fix a bug where updating `default_runtime` would cause the `runc` entry in the runtimes table to be deleted

This commit reverts d2ded1d and adds a
test that maintains what it was trying to do.

When upgrading from a cluster that uses runc to one that uses crun,
there may be workloads that specifically request the old default. Those
workloads will fail on restart. To fix this, don't remove runc from the
map. We've since added code that means we don't fail if one of the
non-default runtimes fails validation (if the binary doesn't exist) so
we can handle that situation, which
d2ded1d meant to fix.

Signed-off-by: Peter Hunt <[email protected]>
@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. labels Sep 30, 2022
@openshift-ci openshift-ci bot requested review from klihub and wgahnagl September 30, 2022 13:33
@codecov
Copy link

codecov bot commented Sep 30, 2022

Codecov Report

Merging #6264 (2308164) into release-1.25 (2002c49) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files
@@               Coverage Diff                @@
##           release-1.25    #6264      +/-   ##
================================================
- Coverage         43.67%   43.67%   -0.01%     
================================================
  Files               122      122              
  Lines             13625    13621       -4     
================================================
- Hits               5951     5949       -2     
+ Misses             7030     7029       -1     
+ Partials            644      643       -1     

@haircommander
Copy link
Member

/approve
/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Oct 3, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 3, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: haircommander, openshift-cherrypick-robot

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 3, 2022
@openshift-merge-robot openshift-merge-robot merged commit 9961d62 into cri-o:release-1.25 Oct 3, 2022
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. 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.

3 participants