Skip to content

OCPBUGS-75916: crio: disable short_name_mode until we introduce ctrcfg api for it#5628

Merged
openshift-merge-bot[bot] merged 1 commit intoopenshift:mainfrom
haircommander:short-name-mode-disabled
Feb 6, 2026
Merged

OCPBUGS-75916: crio: disable short_name_mode until we introduce ctrcfg api for it#5628
openshift-merge-bot[bot] merged 1 commit intoopenshift:mainfrom
haircommander:short-name-mode-disabled

Conversation

@haircommander
Copy link
Member

- What I did
disable for 4.22 (and eventually 4.21) until we get a proper fix in
alternative to #5622
- How to verify it

- Description for the changelog

Signed-off-by: Peter Hunt <pehunt@redhat.com>
@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. labels Feb 5, 2026
@openshift-ci-robot
Copy link
Contributor

@haircommander: This pull request references Jira Issue OCPBUGS-75916, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.22.0) matches configured target version for branch (4.22.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @lyman9966

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

- What I did
disable for 4.22 (and eventually 4.21) until we get a proper fix in
alternative to #5622
- How to verify it

- Description for the changelog

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 5, 2026
@haircommander
Copy link
Member Author

/cherry-pick release-4.22

@openshift-cherrypick-robot

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

Details

In response to this:

/cherry-pick release-4.22

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.

Copy link
Contributor

@mtrmac mtrmac left a comment

Choose a reason for hiding this comment

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

I agree that short name lookup should generally be discouraged, and that the use of disabled in CRI-O is undesirable.

Nevertheless:

so I don’t know how OpenShift can just move away from disabled at ~any timeframe. Maybe this needs to be conditional on users setting up U-S-R.

@haircommander
Copy link
Member Author

we could potentially plumb that into the api validation for ctrcfg update... okay I should have read deeper before toggling in cri-o probably. thanks for the heads up.

@haircommander
Copy link
Member Author

I suspect if we don't set it by default, then the majority of users won't set it. which may be fine, it's a pretty narrowly scoped security hole to cover. Will have to think deeper about this. Also summoning @QiWang19 and @saschagrunert for awareness..

@mtrmac
Copy link
Contributor

mtrmac commented Feb 5, 2026

To be clear, I’m not against this PR restoring the (bad) status quo.

And I do want the default OpenShift posture to be "short names only use pre-configured aliases" or even better "short names are entirely prohibited" (because Kubelet sends credentials for docker.io with short names, regardless of the ultimate registry).

This was more of a comment on the other PRs, just highlighting the public feature that depends on that bad behavior.

Copy link
Member

@QiWang19 QiWang19 left a comment

Choose a reason for hiding this comment

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

LGTM

It makes sense to revert the default behavior for now instead of landing the MachineConfig. before we figure out how to introduce short names to newly installed clusters.

I suspect if we don't set it by default, then the majority of users won't set it.

yeah, I think so

@haircommander
Copy link
Member Author

/verified later @haircommander

@openshift-ci-robot openshift-ci-robot added verified-later verified Signifies that the PR passed pre-merge verification criteria labels Feb 6, 2026
@openshift-ci-robot
Copy link
Contributor

@haircommander: This PR has been marked to be verified later by @haircommander.

Details

In response to this:

/verified later @haircommander

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 openshift-eng/jira-lifecycle-plugin repository.

@harche
Copy link
Contributor

harche commented Feb 6, 2026

/lgtm

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

openshift-ci bot commented Feb 6, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: haircommander, harche

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

@haircommander
Copy link
Member Author

/cherry-pick release-4.21

@openshift-cherrypick-robot

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

Details

In response to this:

/cherry-pick release-4.21

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.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 6, 2026

@haircommander: all tests passed!

Full PR test history. Your PR dashboard.

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-sigs/prow repository. I understand the commands that are listed here.

@openshift-merge-bot openshift-merge-bot bot merged commit f19875f into openshift:main Feb 6, 2026
15 checks passed
@openshift-ci-robot
Copy link
Contributor

@haircommander: Jira Issue OCPBUGS-75916: All pull requests linked via external trackers have merged:

This pull request has the verified-later tag and will need to be manually moved to VERIFIED after testing. Jira Issue OCPBUGS-75916 has been moved to the MODIFIED state.

Details

In response to this:

- What I did
disable for 4.22 (and eventually 4.21) until we get a proper fix in
alternative to #5622
- How to verify it

- Description for the changelog

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-cherrypick-robot

@haircommander: new pull request created: #5635

Details

In response to this:

/cherry-pick release-4.22

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.

@openshift-cherrypick-robot

@haircommander: new pull request created: #5636

Details

In response to this:

/cherry-pick release-4.21

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.

@openshift-merge-robot
Copy link
Contributor

Fix included in accepted release 4.22.0-0.nightly-2026-02-08-124411

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. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. verified Signifies that the PR passed pre-merge verification criteria verified-later

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants