Skip to content

[release-4.18] OCPBUGS-74644: After OCL is enabled few phases in MCN are not updating as expected#5605

Open
dkhater-redhat wants to merge 1 commit intoopenshift:release-4.18from
dkhater-redhat:fix-mcn-conditions-ocl-4.18
Open

[release-4.18] OCPBUGS-74644: After OCL is enabled few phases in MCN are not updating as expected#5605
dkhater-redhat wants to merge 1 commit intoopenshift:release-4.18from
dkhater-redhat:fix-mcn-conditions-ocl-4.18

Conversation

@dkhater-redhat
Copy link
Contributor

  • What I did
    Added missing MachineConfigNode condition updates to updateOnClusterBuild() for UpdatePrepared, UpdateCompatible, and UpdateFilesAndOS. These conditions were only being set in the regular update() path, causing them to remain False when OCL is enabled.
  • How to verify it

Enable OCL on a cluster
Apply a MachineConfig change
Watch oc get machineconfignode -w -o wide
Verify the UPDATEPREPARED, UPDATECOMPATIBLE, and UPDATEDFILESANDOS columns transition from False to True/Unknown as expected, matching the behavior without OCL

  • Description for the changelog

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 28, 2026

[APPROVALNOTIFIER] This PR is APPROVED

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

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 Jan 28, 2026
@dkhater-redhat dkhater-redhat changed the title Fix MCN conditions not updating during OCL sync [release-4.17] After OCL is enabled few phases in MCN are not updating as expected Jan 28, 2026
@dkhater-redhat dkhater-redhat changed the title [release-4.17] After OCL is enabled few phases in MCN are not updating as expected [release-4.18] After OCL is enabled few phases in MCN are not updating as expected Jan 28, 2026
@djoshy
Copy link
Contributor

djoshy commented Jan 29, 2026

/jira cherry-pick OCPBUGS-43435

@openshift-ci-robot
Copy link
Contributor

@djoshy: Jira Issue OCPBUGS-43435 has been cloned as Jira Issue OCPBUGS-74644. Will retitle bug to link to clone.
/retitle OCPBUGS-74644: [release-4.18] After OCL is enabled few phases in MCN are not updating as expected

Details

In response to this:

/jira cherry-pick OCPBUGS-43435

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 changed the title [release-4.18] After OCL is enabled few phases in MCN are not updating as expected OCPBUGS-74644: [release-4.18] After OCL is enabled few phases in MCN are not updating as expected Jan 29, 2026
@openshift-ci-robot openshift-ci-robot added 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 29, 2026
@openshift-ci-robot
Copy link
Contributor

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

  • expected dependent Jira Issue OCPBUGS-43435 to be in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA), but it is ASSIGNED instead

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
    Added missing MachineConfigNode condition updates to updateOnClusterBuild() for UpdatePrepared, UpdateCompatible, and UpdateFilesAndOS. These conditions were only being set in the regular update() path, causing them to remain False when OCL is enabled.
  • How to verify it

Enable OCL on a cluster
Apply a MachineConfig change
Watch oc get machineconfignode -w -o wide
Verify the UPDATEPREPARED, UPDATECOMPATIBLE, and UPDATEDFILESANDOS columns transition from False to True/Unknown as expected, matching the behavior without OCL

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

@djoshy
Copy link
Contributor

djoshy commented Jan 29, 2026

/retitle [release-4.18] OCPBUGS-74644: After OCL is enabled few phases in MCN are not updating as expected

@openshift-ci openshift-ci bot changed the title OCPBUGS-74644: [release-4.18] After OCL is enabled few phases in MCN are not updating as expected [release-4.18] OCPBUGS-74644: After OCL is enabled few phases in MCN are not updating as expected Jan 29, 2026
@dkhater-redhat
Copy link
Contributor Author

/jira refresh

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Feb 9, 2026
@openshift-ci-robot
Copy link
Contributor

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

7 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.z) matches configured target version for branch (4.18.z)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)
  • release note type set to "Release Note Not Required"
  • dependent bug Jira Issue OCPBUGS-43435 is in the state Verified, which is one of the valid states (VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA))
  • dependent Jira Issue OCPBUGS-43435 targets the "4.19.z" version, which is one of the valid target versions: 4.19.0, 4.19.z
  • bug has dependents

Requesting review from QA contact:
/cc @sergiordlr

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

Details

In response to this:

/jira refresh

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 a review from sergiordlr February 9, 2026 17:23
@dkhater-redhat
Copy link
Contributor Author

/retest-required

@dkhater-redhat dkhater-redhat force-pushed the fix-mcn-conditions-ocl-4.18 branch from 447c3a8 to af1b26b Compare February 10, 2026 18:41
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 10, 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. 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants