Skip to content

OSDOCS CQA MCO-1: MCO Core Configuration and Customization III - #113918

Merged
mburke5678 merged 1 commit into
openshift:mainfrom
mburke5678:cqa-mco-1-3
Jul 2, 2026
Merged

OSDOCS CQA MCO-1: MCO Core Configuration and Customization III#113918
mburke5678 merged 1 commit into
openshift:mainfrom
mburke5678:cqa-mco-1-3

Conversation

@mburke5678

@mburke5678 mburke5678 commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

https://redhat.atlassian.net/browse/OSDOCS-16921

Previews:
Machine Confguration -> Image mode for OpenShift

Assemblies:
mco-coreos-layering.adoc

@openshift-ci-robot

openshift-ci-robot commented Jun 23, 2026

Copy link
Copy Markdown

@mburke5678: This pull request references MCO-1 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the epic to target either version "5.0." or "openshift-5.0.", but it targets "openshift-4.15" instead.

Details

In response to this:

https://redhat.atlassian.net/browse/OSDOCS-16921

Previews:

Assemblies:
mco-coreos-layering.adoc

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 size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jun 23, 2026
@ocpdocs-previewbot

ocpdocs-previewbot commented Jun 23, 2026

Copy link
Copy Markdown

@mburke5678 mburke5678 changed the title MCO-1: MCO Core Configuration and Customization III OSDOCS MCO-1: MCO Core Configuration and Customization III Jun 23, 2026
@mburke5678 mburke5678 added the merge-review-needed Signifies that the merge review team needs to review this PR label Jun 23, 2026
@mburke5678 mburke5678 changed the title OSDOCS MCO-1: MCO Core Configuration and Customization III OSDOCS CQA MCO-1: MCO Core Configuration and Customization III Jun 26, 2026
@lahinson lahinson added merge-review-in-progress Signifies that the merge review team is reviewing this PR and removed merge-review-needed Signifies that the merge review team needs to review this PR labels Jul 1, 2026

@lahinson lahinson left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@mburke5678 Nice work! Just a few comments for your consideration. Feel free to merge when you are ready.

====
+
Hotfixes are provided to you based on link:https://access.redhat.com/solutions/2996001[Red Hat Hotfix policy]. Apply it on top of the base image and test that new custom layered image in a non-production environment. When you are satisfied that the custom layered image is safe to use in production, you can roll it out on your own schedule to specific node pools. For any reason, you can easily roll back the custom layered image and return to using the default {op-system}.
Hotfixes are provided to you based on Red Hat Hotfix policy. Apply it on top of the base image and test that new custom layered image in a non-production environment. When you are satisfied that the custom layered image is safe to use in production, you can roll it out on your own schedule to specific node pools. For any reason, you can easily roll back the custom layered image and return to using the default {op-system}.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
Hotfixes are provided to you based on Red Hat Hotfix policy. Apply it on top of the base image and test that new custom layered image in a non-production environment. When you are satisfied that the custom layered image is safe to use in production, you can roll it out on your own schedule to specific node pools. For any reason, you can easily roll back the custom layered image and return to using the default {op-system}.
Hotfixes are provided to you based on Red{nbsp}Hat Hotfix policy. Apply it on top of the base image and test that new custom layered image in a non-production environment. When you are satisfied that the custom layered image is safe to use in production, you can roll it out on your own schedule to specific node pools. For any reason, you can easily roll back the custom layered image and return to using the default {op-system}.

SSG: https://redhat-documentation.github.io/supplementary-style-guide/#non-breaking-spaces

// https://issues.redhat.com/browse/OCPBUGS-42838

* *{op-system-base} packages*. You can download {op-system-base-full} packages from the link:https://access.redhat.com/downloads/content/479/ver=/rhel---9/9.1/x86_64/packages[Red Hat Customer Portal], such as chrony, firewalld, and iputils.
* *{op-system-base} packages*. You can download {op-system-base-full} packages from the Red Hat Customer Portal, such as chrony, firewalld, and iputils.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
* *{op-system-base} packages*. You can download {op-system-base-full} packages from the Red Hat Customer Portal, such as chrony, firewalld, and iputils.
* *{op-system-base} packages*. You can download {op-system-base-full} packages from the Red{nbsp}Hat Customer Portal, such as chrony, firewalld, and iputils.

containerFile: # <4>
- containerfileArch: NoArch <5>
name: layered-image
containerFile: #

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
containerFile: #
containerFile:

On this line and in a few other places in this example, I think you can remove the #.

----
$ oc describe machineconfignode/<machine_config_node_name>
----
+

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm seeing a callout in the preview. I think it's coming from the snippet on line 199.

<4> Optional: Update the secret needed to push the newly built custom layered image to the registry.
+
where:
+

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If you're formatting the user-replaced variable text as a definition list, the SSG says to introduce definition lists with "where:" and begin each variable description with "Specifies".

SSG: https://redhat-documentation.github.io/supplementary-style-guide/#explain-commands-variables-in-code-blocks

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@lahinson This rule was recently changed to drop the requirement for Specifies.


If you modify and apply the `MachineOSConfig` object YAML or create a new YAML file, the YAML overwrites any changes you made directly to the `MachineOSConfig` object itself.

include::snippets//coreos-layering-configuring-on-pause.adoc[]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Check the snippet. I see a callout in the preview, and I'm guessing it's coming from there.

+
Add the `machineconfiguration.openshift.io/rebuild: ""` annotation to trigger a rebuild of the custom layered image.

.Verification

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should the verification steps be in an ordered list? Just wondering if they should be completed in a specific order.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

No. You can do them in any order or skip one of the two.

:_mod-docs-content-type: PROCEDURE
:_mod-docs-content-type: CONCEPT
[id="coreos-layering-configuring-on-remove_{context}"]
= Removing an on-cluster custom layered image

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Concept module titles should be noun phrases.

Suggested change
= Removing an on-cluster custom layered image
= Removal of an on-cluster custom layered image

----
sh-4.4# chroot /host
----

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
+

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If you add this plus sign, I think it'll fix the formatting issues that are in the preview.

@lahinson lahinson added ok-to-merge and removed merge-review-in-progress Signifies that the merge review team is reviewing this PR labels Jul 1, 2026
@openshift-ci

openshift-ci Bot commented Jul 2, 2026

Copy link
Copy Markdown

@mburke5678: 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.

@mburke5678
mburke5678 merged commit 81b43b6 into openshift:main Jul 2, 2026
2 checks passed
@mburke5678
mburke5678 deleted the cqa-mco-1-3 branch July 2, 2026 16:18
@mburke5678

Copy link
Copy Markdown
Contributor Author

/cherrypick enterprise-4.20

@mburke5678

Copy link
Copy Markdown
Contributor Author

/cherrypick enterprise-4.21

@mburke5678

Copy link
Copy Markdown
Contributor Author

/cherrypick enterprise-4.22

@mburke5678

Copy link
Copy Markdown
Contributor Author

/cherrypick enterprise-5.0

@openshift-cherrypick-robot

Copy link
Copy Markdown

@mburke5678: #113918 failed to apply on top of branch "enterprise-4.20":

Applying: MCO-1: MCO Core Configuration and Customization III
.git/rebase-apply/patch:25: trailing whitespace.
You can extend the functionality of your base {op-system} image by layering additional images onto the base image without modifying the base {op-system} image. 
.git/rebase-apply/patch:140: trailing whitespace.
You can modify an on-cluster custom layered image, as needed, to install additional packages, remove existing packages, change the pull or push repositories, update secrets, or other similar changes. 
.git/rebase-apply/patch:219: trailing whitespace.
You can use the on-cluster build process to apply a custom layered image to your cluster by creating a `MachineOSConfig` custom resource (CR). 
.git/rebase-apply/patch:221: trailing whitespace.
The `MachineOSConfig` CR specifies the following parameters: 
.git/rebase-apply/patch:273: trailing whitespace.
`metadata.name`:: Specifies a name for the `MachineOSConfig` object. The name must match the name of the associated machine config pool. This name is used with other {image-mode-os-on-lower} resources. The examples in this documentation use the name `layered-image`. 
warning: squelched 2 whitespace errors
warning: 7 lines add whitespace errors.
Using index info to reconstruct a base tree...
M	machine_configuration/mco-coreos-layering.adoc
M	modules/coreos-layering-configuring-on-proc.adoc
M	modules/coreos-layering-configuring-on-revert.adoc
M	modules/coreos-layering-configuring.adoc
M	modules/coreos-layering-removing.adoc
A	snippets/mco-mcn-ocl-example.adoc
Falling back to patching base and 3-way merge...
Auto-merging machine_configuration/mco-coreos-layering.adoc
CONFLICT (content): Merge conflict in machine_configuration/mco-coreos-layering.adoc
Auto-merging modules/coreos-layering-configuring-on-proc.adoc
CONFLICT (content): Merge conflict in modules/coreos-layering-configuring-on-proc.adoc
Auto-merging modules/coreos-layering-configuring-on-revert.adoc
Auto-merging modules/coreos-layering-configuring.adoc
Auto-merging modules/coreos-layering-removing.adoc
CONFLICT (modify/delete): snippets/mco-mcn-ocl-example.adoc deleted in HEAD and modified in MCO-1: MCO Core Configuration and Customization III.  Version MCO-1: MCO Core Configuration and Customization III of snippets/mco-mcn-ocl-example.adoc left in tree.
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 MCO-1: MCO Core Configuration and Customization III

Details

In response to this:

/cherrypick enterprise-4.20

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

Copy link
Copy Markdown

@mburke5678: new pull request created: #114553

Details

In response to this:

/cherrypick enterprise-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-cherrypick-robot

Copy link
Copy Markdown

@mburke5678: new pull request created: #114554

Details

In response to this:

/cherrypick enterprise-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

Copy link
Copy Markdown

@mburke5678: new pull request created: #114555

Details

In response to this:

/cherrypick enterprise-5.0

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

branch/enterprise-4.20 branch/enterprise-4.21 branch/enterprise-4.22 branch/enterprise-5.0 jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. ok-to-merge size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants