Skip to content

[WIP] [release-4.17] OCPBUGS-61190: MCO report "failed to list *v1alpha1.MachineOSConfig" when enable TechPreview after upgrading from 4.16 to 4.17 with one mcp paused#5584

Open
dkhater-redhat wants to merge 3 commits intoopenshift:release-4.17from
dkhater-redhat:fix-mosc-crd-missing-4.17
Open

[WIP] [release-4.17] OCPBUGS-61190: MCO report "failed to list *v1alpha1.MachineOSConfig" when enable TechPreview after upgrading from 4.16 to 4.17 with one mcp paused#5584
dkhater-redhat wants to merge 3 commits intoopenshift:release-4.17from
dkhater-redhat:fix-mosc-crd-missing-4.17

Conversation

@dkhater-redhat
Copy link
Contributor

- What I did
Removed optr.moscListerSynced from the cacheSynced list to prevent the operator from blocking startup when the MachineOSConfig CRD doesn't exist yet. The MOSC informer still runs in the background and will sync once CVO installs the CRD.
- How to verify it

  1. Upgrade a cluster from 4.16 to 4.17 with one MCP paused
  2. After upgrade completes, enable TechPreview feature set
  3. Verify machine-config-operator pod doesn't get stuck with "failed to list *v1alpha1.MachineOSConfig" errors
  4. Verify nodes remain Ready and don't enter NotReady state
  5. Check logs show MOSC informer starts but doesn't block operator startup
  6. Once CVO installs the MachineOSConfig CRD, verify the informer successfully syncs
    - Description for the changelog

@openshift-ci-robot openshift-ci-robot added jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Jan 20, 2026
@openshift-ci-robot
Copy link
Contributor

@dkhater-redhat: This pull request references Jira Issue OCPBUGS-61190, which is invalid:

  • expected the bug to target the "4.17.z" version, but no target version was set
  • release note text must be set and not match the template OR release note type must be set to "Release Note Not Required". For more information you can reference the OpenShift Bug Process.
  • expected Jira Issue OCPBUGS-61190 to depend on a bug targeting a version in 4.18.0, 4.18.z and in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA), but no dependents were found

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

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

Details

In response to this:

- What I did
Removed optr.moscListerSynced from the cacheSynced list to prevent the operator from blocking startup when the MachineOSConfig CRD doesn't exist yet. The MOSC informer still runs in the background and will sync once CVO installs the CRD.
- How to verify it

  1. Upgrade a cluster from 4.16 to 4.17 with one MCP paused
  2. After upgrade completes, enable TechPreview feature set
  3. Verify machine-config-operator pod doesn't get stuck with "failed to list *v1alpha1.MachineOSConfig" errors
  4. Verify nodes remain Ready and don't enter NotReady state
  5. Check logs show MOSC informer starts but doesn't block operator startup
  6. Once CVO installs the MachineOSConfig CRD, verify the informer successfully syncs
    - 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 requested review from djoshy and yuqi-zhang January 20, 2026 17:30
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 20, 2026
@dkhater-redhat dkhater-redhat changed the title OCPBUGS-61190: MCO report "failed to list *v1alpha1.MachineOSConfig" when enable TechPreview after upgrading from 4.16 to 4.17 with one mcp paused [release-4.17] OCPBUGS-61190: MCO report "failed to list *v1alpha1.MachineOSConfig" when enable TechPreview after upgrading from 4.16 to 4.17 with one mcp paused Jan 20, 2026
@umohnani8
Copy link
Contributor

/lgtm

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

openshift-ci bot commented Feb 2, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dkhater-redhat, umohnani8

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

@dkhater-redhat dkhater-redhat changed the title [release-4.17] OCPBUGS-61190: MCO report "failed to list *v1alpha1.MachineOSConfig" when enable TechPreview after upgrading from 4.16 to 4.17 with one mcp paused [WIP] [release-4.17] OCPBUGS-61190: MCO report "failed to list *v1alpha1.MachineOSConfig" when enable TechPreview after upgrading from 4.16 to 4.17 with one mcp paused Feb 5, 2026
@openshift-ci openshift-ci bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. and removed lgtm Indicates that a PR is ready to be merged. labels Feb 5, 2026
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 5, 2026

New changes are detected. LGTM label has been removed.

@dkhater-redhat dkhater-redhat force-pushed the fix-mosc-crd-missing-4.17 branch from d2e783e to 1dedbe7 Compare February 5, 2026 17:27
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 5, 2026

@dkhater-redhat: 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.

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. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants