Skip to content

OCPBUGS-136140: Add machineconfignode, pinnedimageset, machineosconfig, and machineosbuild resources to relatedObjects - #6706

Merged
openshift-merge-bot[bot] merged 1 commit into
openshift:release-4.22from
isabella-janssen:ocpbugs-126899-422
Nov 4, 2026
Merged

openshift-merge-bot[bot] merged 1 commit into
openshift:release-4.22from
isabella-janssen:ocpbugs-126899-422

Conversation

@isabella-janssen

@isabella-janssen isabella-janssen commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Closes:

- What I did
This is a manual cherrypick of #6680 to exclude the osimagestream resource, as it is a TechPreview resource in 4.22.

- How to verify it
Test on a 4.22 cluster with this PR included that has at least one PinnedImageSet applied and OCL enabled.

$ oc get clusterversion
NAME      VERSION                                                AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.22.0-0-2026-11-02-171208-test-ci-ln-ly06rzk-latest   True        False         73m     Cluster version is 4.22.0-0-2026-11-02-171208-test-ci-ln-ly06rzk-latest
$ oc get pinnedimageset
NAME          AGE
test-pinned   27m
$ oc get machineosbuild
NAME                                      PREPARED   BUILDING   SUCCEEDED   INTERRUPTED   FAILED   AGE
worker-0f7ce16072121cff48c2db59ec12f5e5   False      False      True        False         False    27m
  1. Get all related objects.
$ oc get clusteroperator machine-config -o jsonpath='{range .status.relatedObjects[*]}{.resource}{"\t"}{.group}{"\n"}{end}'
...	
machineconfignodes	machineconfiguration.openshift.io
pinnedimagesets	machineconfiguration.openshift.io
machineosconfigs	machineconfiguration.openshift.io
machineosbuilds	machineconfiguration.openshift.io
...
  1. Write information to /tmp/mco-inspect
$ oc adm inspect clusteroperator/machine-config --dest-dir=/tmp/mco-inspect
  1. Check that the machineconfiguration.openshift.io related objects from step 1 and targetted by this bug are included in the machineconfiguration.openshift.io directory
$ ls /tmp/mco-inspect/cluster-scoped-resources/machineconfiguration.openshift.io
...	machineosbuilds		pinnedimagesets
machineconfignodes	machineconfigs		...

- Description for the changelog
Add machineconfignode, pinnedimageset, machineosconfig, and machineosbuild resources to relatedObjects

@coderabbitai

coderabbitai Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML; Path: .coderabbit.yaml
  • Review profile: CHILL
  • Plan: Enterprise
  • Run ID: b3da1db4-c6c2-4fcb-8ed5-dffe83f35804

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

Tip

🎯 Customize your risk assessments

Guide how CodeRabbit assesses merge risk and security architecture risk. Highlight sensitive changes and explain your security boundaries using Merge Risk Instructions and Security Risk Instructions in your review settings. Security architecture risk assessments require the Advanced plan or above.

✅ Automatic approvals, with your rules

Let CodeRabbit approve pull requests once required threads are resolved, pre-merge checks pass, and your risk limits are met. Enable Automatic approvals in review settings, with overrides for teams or file paths.

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Pipeline controller notification

This PR uses the pipeline controller for second-stage tests. Selection and triggering follow the repository configuration.

Use /test ? to list jobs and /pipeline help for commands.

@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 2, 2026
@isabella-janssen

Copy link
Copy Markdown
Member Author

/jira cherrypick OCPBUGS-133366

@openshift-ci

openshift-ci Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@isabella-janssen: Jira Issue OCPBUGS-133366 has been cloned as Jira Issue OCPBUGS-136140. Will retitle bug to link to clone.
/retitle OCPBUGS-136140: Add machineconfignode, pinnedimageset, machineosconfig, and machineosbuild resources to relatedObjects

Details

In response to this:

/jira cherrypick OCPBUGS-133366

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 Add machineconfignode, pinnedimageset, machineosconfig, and machineosbuild resources to relatedObjects OCPBUGS-136140: Add machineconfignode, pinnedimageset, machineosconfig, and machineosbuild resources to relatedObjects Nov 2, 2026
@openshift-ci-robot openshift-ci-robot added jira/severity-low Referenced Jira bug's severity is low for the branch this PR is targeting. 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 Nov 2, 2026
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@isabella-janssen: This pull request references Jira Issue OCPBUGS-136140, 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.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)
  • release note type set to "Release Note Not Required"
  • dependent bug Jira Issue OCPBUGS-133366 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-133366 targets the "5.0.0" version, which is one of the valid target versions: 5.0.0
  • bug has dependents

No GitHub users were found matching the public email listed for the QA contact in Jira (team-mco@redhat.com), skipping review request.

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

Details

In response to this:

Closes:

- What I did
This is a manual cherrypick of #6680 to exclude the osimagestream resource, as it is a TechPreview resource in 4.22.

- How to verify it
Test on a 4.22 cluster with this PR included that has at least one PinnedImageSet applied and OCL enabled.

$ oc get clusterversion
$ oc get pinnedimageset
$ oc get machineosbuild
  1. Get all related objects.
$ oc get clusteroperator machine-config -o jsonpath='{range .status.relatedObjects[*]}{.resource}{"\t"}{.group}{"\n"}{end}'
  1. Write information to /tmp/mco-inspect
$ oc adm inspect clusteroperator/machine-config --dest-dir=/tmp/mco-inspect
  1. Check that the machineconfiguration.openshift.io related objects from step 1 and targetted by this bug are included in the machineconfiguration.openshift.io directory
$ ls /tmp/mco-inspect/cluster-scoped-resources/machineconfiguration.openshift.io

- Description for the changelog
Add machineconfignode, pinnedimageset, machineosconfig, and machineosbuild resources to relatedObjects

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.

@isabella-janssen
isabella-janssen marked this pull request as ready for review November 2, 2026 19:15
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@isabella-janssen: This pull request references Jira Issue OCPBUGS-136140, which is valid.

7 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 POST, which is one of the valid states (NEW, ASSIGNED, POST)
  • release note type set to "Release Note Not Required"
  • dependent bug Jira Issue OCPBUGS-133366 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-133366 targets the "5.0.0" version, which is one of the valid target versions: 5.0.0
  • bug has dependents

No GitHub users were found matching the public email listed for the QA contact in Jira (team-mco@redhat.com), skipping review request.

Details

In response to this:

Closes:

- What I did
This is a manual cherrypick of #6680 to exclude the osimagestream resource, as it is a TechPreview resource in 4.22.

- How to verify it
Test on a 4.22 cluster with this PR included that has at least one PinnedImageSet applied and OCL enabled.

$ oc get clusterversion
NAME      VERSION                                                AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.22.0-0-2026-11-02-171208-test-ci-ln-ly06rzk-latest   True        False         73m     Cluster version is 4.22.0-0-2026-11-02-171208-test-ci-ln-ly06rzk-latest
$ oc get pinnedimageset
NAME          AGE
test-pinned   27m
$ oc get machineosbuild
NAME                                      PREPARED   BUILDING   SUCCEEDED   INTERRUPTED   FAILED   AGE
worker-0f7ce16072121cff48c2db59ec12f5e5   False      False      True        False         False    27m
  1. Get all related objects.
$ oc get clusteroperator machine-config -o jsonpath='{range .status.relatedObjects[*]}{.resource}{"\t"}{.group}{"\n"}{end}'
...	
machineconfignodes	machineconfiguration.openshift.io
pinnedimagesets	machineconfiguration.openshift.io
machineosconfigs	machineconfiguration.openshift.io
machineosbuilds	machineconfiguration.openshift.io
...
  1. Write information to /tmp/mco-inspect
$ oc adm inspect clusteroperator/machine-config --dest-dir=/tmp/mco-inspect
  1. Check that the machineconfiguration.openshift.io related objects from step 1 and targetted by this bug are included in the machineconfiguration.openshift.io directory
$ ls /tmp/mco-inspect/cluster-scoped-resources/machineconfiguration.openshift.io
...	machineosbuilds		pinnedimagesets
machineconfignodes	machineconfigs		...

- Description for the changelog
Add machineconfignode, pinnedimageset, machineosconfig, and machineosbuild resources to relatedObjects

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 removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 2, 2026
@isabella-janssen

Copy link
Copy Markdown
Member Author

/retest-required

1 similar comment
@dkhater-redhat

Copy link
Copy Markdown
Contributor

/retest-required

@dkhater-redhat

Copy link
Copy Markdown
Contributor

/lgtm
/label backport-risk-assessed

@openshift-ci openshift-ci Bot added the backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. label Nov 2, 2026
@dkhater-redhat

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Nov 2, 2026
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Scheduling tests matching the pipeline_run_if_changed or not excluded by pipeline_skip_if_only_changed parameters:
/test e2e-aws-ovn
/test e2e-aws-ovn-upgrade
/test e2e-gcp-op-ocl-part1
/test e2e-gcp-op-ocl-part2
/test e2e-gcp-op-part1
/test e2e-gcp-op-part2
/test e2e-gcp-op-single-node
/test e2e-hypershift

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 2, 2026
@pablintino

Copy link
Copy Markdown
Contributor

/retest-required

@pablintino

Copy link
Copy Markdown
Contributor

/test unit

@openshift-ci openshift-ci Bot removed the lgtm Indicates that a PR is ready to be merged. label Nov 3, 2026
@isabella-janssen

Copy link
Copy Markdown
Member Author

/test unit

@isabella-janssen

Copy link
Copy Markdown
Member Author

/retest-required

@pablintino

Copy link
Copy Markdown
Contributor

/lgtm
/test unit

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Nov 3, 2026
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Scheduling tests matching the pipeline_run_if_changed or not excluded by pipeline_skip_if_only_changed parameters:
/test e2e-aws-ovn
/test e2e-aws-ovn-upgrade
/test e2e-gcp-op-ocl-part1
/test e2e-gcp-op-ocl-part2
/test e2e-gcp-op-part1
/test e2e-gcp-op-part2
/test e2e-gcp-op-single-node
/test e2e-hypershift

@openshift-ci

openshift-ci Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

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

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:
  • OWNERS [dkhater-redhat,pablintino]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@isabella-janssen

Copy link
Copy Markdown
Member Author

/retest-required

@openshift-ci

openshift-ci Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

@isabella-janssen: 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.

@isabella-janssen

Copy link
Copy Markdown
Member Author

/verified later @sergiordlr

@openshift-ci-robot openshift-ci-robot added verified-later verified Signifies that the PR passed pre-merge verification criteria labels Nov 4, 2026
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@isabella-janssen: This PR has been marked to be verified later by @sergiordlr.

Details

In response to this:

/verified later @sergiordlr

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-merge-bot
openshift-merge-bot Bot merged commit 4603cb6 into openshift:release-4.22 Nov 4, 2026
19 checks passed
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@isabella-janssen: Jira Issue OCPBUGS-136140: 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-136140 has been moved to the MODIFIED state.

Details

In response to this:

Closes:

- What I did
This is a manual cherrypick of #6680 to exclude the osimagestream resource, as it is a TechPreview resource in 4.22.

- How to verify it
Test on a 4.22 cluster with this PR included that has at least one PinnedImageSet applied and OCL enabled.

$ oc get clusterversion
NAME      VERSION                                                AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.22.0-0-2026-11-02-171208-test-ci-ln-ly06rzk-latest   True        False         73m     Cluster version is 4.22.0-0-2026-11-02-171208-test-ci-ln-ly06rzk-latest
$ oc get pinnedimageset
NAME          AGE
test-pinned   27m
$ oc get machineosbuild
NAME                                      PREPARED   BUILDING   SUCCEEDED   INTERRUPTED   FAILED   AGE
worker-0f7ce16072121cff48c2db59ec12f5e5   False      False      True        False         False    27m
  1. Get all related objects.
$ oc get clusteroperator machine-config -o jsonpath='{range .status.relatedObjects[*]}{.resource}{"\t"}{.group}{"\n"}{end}'
...	
machineconfignodes	machineconfiguration.openshift.io
pinnedimagesets	machineconfiguration.openshift.io
machineosconfigs	machineconfiguration.openshift.io
machineosbuilds	machineconfiguration.openshift.io
...
  1. Write information to /tmp/mco-inspect
$ oc adm inspect clusteroperator/machine-config --dest-dir=/tmp/mco-inspect
  1. Check that the machineconfiguration.openshift.io related objects from step 1 and targetted by this bug are included in the machineconfiguration.openshift.io directory
$ ls /tmp/mco-inspect/cluster-scoped-resources/machineconfiguration.openshift.io
...	machineosbuilds		pinnedimagesets
machineconfignodes	machineconfigs		...

- Description for the changelog
Add machineconfignode, pinnedimageset, machineosconfig, and machineosbuild resources to relatedObjects

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.

@isabella-janssen
isabella-janssen deleted the ocpbugs-126899-422 branch November 5, 2026 16:58
@isabella-janssen

Copy link
Copy Markdown
Member Author

/cherrypick release-4.21 release-4.20 release-4.19

@openshift-cherrypick-robot

Copy link
Copy Markdown

@isabella-janssen: #6706 failed to apply on top of branch "release-4.21":

Applying: operator: add machineconfignode, pinnedimageset, machineosconfig, and machineosbuild resources to relatedObjects
Using index info to reconstruct a base tree...
M	pkg/operator/status.go
M	pkg/operator/status_test.go
Falling back to patching base and 3-way merge...
Auto-merging pkg/operator/status.go
Auto-merging pkg/operator/status_test.go
CONFLICT (content): Merge conflict in pkg/operator/status_test.go
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0001 operator: add machineconfignode, pinnedimageset, machineosconfig, and machineosbuild resources to relatedObjects

Details

In response to this:

/cherrypick release-4.21 release-4.20 release-4.19

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
Copy Markdown
Contributor

Fix included in release 4.22.0-0.nightly-2026-11-06-080724

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. backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. jira/severity-low Referenced Jira bug's severity is low for the branch this PR is targeting. 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.