Skip to content

[release-4.17] After OCL is enabled few phases in MCN are not updating as expected#5575

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

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

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

  1. Enable OCL on a cluster
  2. Apply a MachineConfig change
  3. Watch oc get machineconfignode -w -o wide
  4. 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-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jan 20, 2026
@openshift-ci-robot
Copy link
Contributor

@dkhater-redhat: This pull request references Jira Issue OCPBUGS-43435, 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-43435 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
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

  1. Enable OCL on a cluster
  2. Apply a MachineConfig change
  3. Watch oc get machineconfignode -w -o wide
  4. 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.

@openshift-ci-robot openshift-ci-robot added the jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. label Jan 20, 2026
@openshift-ci openshift-ci bot requested review from djoshy and yuqi-zhang January 20, 2026 00:02
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 20, 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 20, 2026
@dkhater-redhat
Copy link
Contributor Author

/test unit

1 similar comment
@dkhater-redhat
Copy link
Contributor Author

/test unit

@isabella-janssen
Copy link
Member

@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 Jan 23, 2026
@dkhater-redhat
Copy link
Contributor Author

dkhater-redhat commented Jan 28, 2026

when ocl is being enable and the image is rolling out to the node, these are the MCN conditions

❯ oc get machineconfignode -o wide -w
NAME                                         UPDATED   UPDATEPREPARED   UPDATEEXECUTED   UPDATEPOSTACTIONCOMPLETE   UPDATECOMPLETE   RESUMED   UPDATECOMPATIBLE   UPDATEDFILESANDOS   CORDONEDNODE   DRAINEDNODE   REBOOTEDNODE   RELOADEDCRIO   UNCORDONEDNODE
ip-10-0-111-130.us-west-1.compute.internal   True      False            False            False                      False            True      False              False               False          False         False          False          False
ip-10-0-13-219.us-west-1.compute.internal    False     True             Unknown          False                      False            False     True               Unknown             True           True          False          False          False
ip-10-0-25-175.us-west-1.compute.internal    True      False            False            False                      False            True      False              False               False          False         False          False          False
ip-10-0-35-191.us-west-1.compute.internal    True      False            False            False                      False            True      False              False               False          False         False          False          False
ip-10-0-9-211.us-west-1.compute.internal     True      False            False            False                      False            True      False              False               False          False         False          False          False
ip-10-0-93-34.us-west-1.compute.internal     True      False            False            False                      False            True      False              False               False          False         False          False          False
ip-10-0-13-219.us-west-1.compute.internal    False     True             Unknown          True                       False            False     True               Unknown             True           True          True           False          False
ip-10-0-13-219.us-west-1.compute.internal    False     True             Unknown          True                       False            False     True               Unknown             True           True          True           False          False
ip-10-0-13-219.us-west-1.compute.internal    False     True             Unknown          True                       False            False     True               Unknown             True           True          True           False          False
ip-10-0-13-219.us-west-1.compute.internal    False     True             Unknown          True                       False            False     True               Unknown             True           True          True           False          False
ip-10-0-13-219.us-west-1.compute.internal    False     True             Unknown          True                       False            True      True               Unknown             True           True          True           False          False
ip-10-0-13-219.us-west-1.compute.internal    False     True             Unknown          True                       True             True      True               Unknown             True           True          True           False          True
ip-10-0-13-219.us-west-1.compute.internal    False     True             Unknown          True                       True             True      True               Unknown             True           True          True           False          True
ip-10-0-13-219.us-west-1.compute.internal    True      False            False            False                      False            False     False              False               False          False         False          False          False

@dkhater-redhat dkhater-redhat force-pushed the fix-mcn-conditions-ocl-4.17 branch from d2946b9 to ff6003c Compare January 28, 2026 21:35
@dkhater-redhat dkhater-redhat force-pushed the fix-mcn-conditions-ocl-4.17 branch from ff6003c to a51ceed Compare January 28, 2026 21:36
@dkhater-redhat dkhater-redhat changed the title [release-4.17] OCPBUGS-43435: After OCL is enabled few phases in MCN are not updating as expected [release-4.17] After OCL is enabled few phases in MCN are not updating as expected Jan 28, 2026
@openshift-ci-robot openshift-ci-robot removed 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 28, 2026
@openshift-ci-robot
Copy link
Contributor

@dkhater-redhat: No Jira issue is referenced in the title of this pull request.
To reference a jira issue, add 'XYZ-NNN:' to the title of this pull request and request another refresh with /jira refresh.

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

  1. Enable OCL on a cluster
  2. Apply a MachineConfig change
  3. Watch oc get machineconfignode -w -o wide
  4. 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.

@dkhater-redhat
Copy link
Contributor Author

/retest-required

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 5, 2026

@dkhater-redhat: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-aws-ovn-upgrade a51ceed link true /test e2e-aws-ovn-upgrade

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/hold Indicates that a PR should not merge because someone has issued a /hold command.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants