Skip to content

fix ABI folder naming issue and Hub cluster network MTU setting at deployment time#595

Open
elhadjici wants to merge 6 commits intoopenshift-kni:mainfrom
elhadjici:OCPBUGS-67195-hub-mtu-setting
Open

fix ABI folder naming issue and Hub cluster network MTU setting at deployment time#595
elhadjici wants to merge 6 commits intoopenshift-kni:mainfrom
elhadjici:OCPBUGS-67195-hub-mtu-setting

Conversation

@elhadjici
Copy link
Copy Markdown

The Goal of the PR are :

@openshift-ci openshift-ci Bot requested review from SchSeba and cgoncalves February 18, 2026 13:51
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Feb 18, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: elhadjici
Once this PR has been reviewed and has the lgtm label, please assign lack for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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 needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Feb 18, 2026
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Feb 18, 2026

Hi @elhadjici. Thanks for your PR.

I'm waiting for a openshift-kni member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@jgato
Copy link
Copy Markdown
Contributor

jgato commented Feb 18, 2026

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Feb 18, 2026
Comment thread telco-hub/install/install_directory/agent-config.yaml
Comment thread telco-hub/install/install_directory/openshift/Network.yaml Outdated
openshift documentation reference and recommendation

Co-authored-by: Ian Miller <34246471+imiller0@users.noreply.github.com>
@openshift-ci openshift-ci Bot removed the lgtm Indicates that a PR is ready to be merged. label Apr 6, 2026
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Apr 6, 2026

New changes are detected. LGTM label has been removed.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 6, 2026

Warning

Rate limit exceeded

@elhadjici has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 19 minutes and 22 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 19 minutes and 22 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 3c16d402-4705-406c-9de3-1df778e16731

📥 Commits

Reviewing files that changed from the base of the PR and between a659a3f and 3738f01.

📒 Files selected for processing (1)
  • telco-hub/install/openshift/README.md
📝 Walkthrough

Walkthrough

Documentation and configuration updates for OpenShift cluster installation. Main changes include updating working directory references from ocp to install_directory in installation commands, adding a new OVN Kubernetes network manifest with 8900 MTU configuration, and documenting the extra-manifest folder structure.

Changes

Cohort / File(s) Summary
Documentation Updates
telco-hub/install/openshift/README.md, telco-hub/install/openshift/openshift/README.md
Updated and added README files. Main README replaces ocp directory references with install_directory in openshift-install commands and KUBECONFIG environment variable. New README documents the extra-manifest folder restriction that files cannot override default cluster manifests.
Network Configuration
telco-hub/install/openshift/openshift/Network.yaml
New OpenShift Network custom resource manifest configuring OVN Kubernetes as the default network with MTU set to 8900. Includes inline comment noting MTU constraints relative to machine network MTU.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately reflects the main changes: updating the ABI folder naming from 'ocp' to 'install_directory' and adding the Network MTU configuration.
Description check ✅ Passed The description is directly related to the changeset, referencing the specific GitHub and Jira issues that motivated the ABI folder naming and network MTU changes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
telco-hub/install/install_directory/README.md (1)

35-35: ⚠️ Potential issue | 🟡 Minor

Fix typo in Line 35 (“OpenShit” → “OpenShift”).

This is user-facing documentation text and should be corrected.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@telco-hub/install/install_directory/README.md` at line 35, Replace the typo
"OpenShit" with "OpenShift" in the README.md link text (the markdown link that
currently reads "Installing an OpenShit cluster with the Agent-based
Installer"); update the link label to "Installing an OpenShift cluster with the
Agent-based Installer" while leaving the URL unchanged so the displayed text is
corrected for users.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@telco-hub/install/install_directory/openshift/README.md`:
- Line 2: Update the unclear sentence "This is extra-manifest folder would
contain examples that can be added during the cluster installation." in the
README (the sentence starting "This is extra-manifest folder...") to a clear,
grammatical form such as: "This extra-manifest folder contains examples that can
be added during cluster installation." Replace the existing broken sentence with
this corrected version to improve readability.
- Line 3: The README's guidance and the presence of openshift/Network.yaml are
misleading because files under the openshift/ directory are additive-only and
cannot override install-time cluster resources like
Network.operator.openshift.io; remove or relocate openshift/Network.yaml and
update the README to instruct users to set network parameters in
install-config.yaml before generating manifests or to edit the
installer-generated manifests after running the installer’s "create manifests"
step (i.e., customize the Cluster Network Operator manifest in the install
assets), and clarify that openshift/ is for additive customizations (e.g.,
MachineConfigs) only.

---

Outside diff comments:
In `@telco-hub/install/install_directory/README.md`:
- Line 35: Replace the typo "OpenShit" with "OpenShift" in the README.md link
text (the markdown link that currently reads "Installing an OpenShit cluster
with the Agent-based Installer"); update the link label to "Installing an
OpenShift cluster with the Agent-based Installer" while leaving the URL
unchanged so the displayed text is corrected for users.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: dcb9a563-ea15-401e-95de-be898ab8eca4

📥 Commits

Reviewing files that changed from the base of the PR and between dce2c0f and cd7c622.

📒 Files selected for processing (5)
  • telco-hub/install/install_directory/README.md
  • telco-hub/install/install_directory/agent-config.yaml
  • telco-hub/install/install_directory/install-config.yaml
  • telco-hub/install/install_directory/openshift/Network.yaml
  • telco-hub/install/install_directory/openshift/README.md

@@ -0,0 +1,3 @@
# Openshift folder
This is extra-manifest folder would contain examples that can be added during the cluster installation.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Fix unclear sentence structure in Line 2.

The current sentence is grammatically broken and can confuse users following install steps. Please rewrite for clarity (for example: “This extra-manifest folder contains examples that can be added during cluster installation.”).

As per coding guidelines "Focus on major issues impacting performance, readability, maintainability and security. Avoid nitpicks and avoid verbosity."

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@telco-hub/install/install_directory/openshift/README.md` at line 2, Update
the unclear sentence "This is extra-manifest folder would contain examples that
can be added during the cluster installation." in the README (the sentence
starting "This is extra-manifest folder...") to a clear, grammatical form such
as: "This extra-manifest folder contains examples that can be added during
cluster installation." Replace the existing broken sentence with this corrected
version to improve readability.

@@ -0,0 +1,3 @@
# Openshift folder
This is extra-manifest folder would contain examples that can be added during the cluster installation.
Using the openshift folder imposes a restriction: its contents cannot override default cluster manifests.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🌐 Web query:

In OpenShift agent-based installs, for manifests placed under <install_dir>/openshift/, can user-provided manifests modify install-time cluster configuration resources (e.g., Network.operator.openshift.io named "cluster"), or are they strictly non-overriding/additive only?

💡 Result:

In agent-based installs, files you place under <install_dir>/openshift/ are treated as additional manifests (most commonly MachineConfig) that get applied during bootstrap, and Red Hat explicitly warns these customizations are not validated and can even yield a nonfunctional cluster—they’re not presented as a supported “override” mechanism for installer-owned cluster config objects. [1]

For install-time cluster configuration resources (for example, cluster-wide network/operator configuration), the documented/supported workflow is instead:

  • Set what you can in install-config.yaml before generating manifests; and
  • If further network customization is needed, do it by creating/editing the installer-generated manifests (for example, a customized Cluster Network Operator manifest after create manifests)—with the constraint that you cannot override phase-1 (install-config.yaml) values in that later step. [2]

So, practically: don’t rely on <install_dir>/openshift/ to “modify/override” existing install-time singleton resources like Network.operator.openshift.io (or related cluster-scoped “cluster” objects). Treat it as additive customization, and make supported changes via install-config.yaml and by editing the generated manifests in the install assets instead. [1][2]

Sources:
[1] OCP 4.16 Agent-based installer guide – “Creating additional manifest files” (notes + openshift/ directory guidance) (access.redhat.com)
[2] OCP 4.12 install docs – Network customization “Phase 2” + “cannot override” phase-1 values (docs.redhat.com)

Citations:


The README statement is accurate, but the Network.yaml approach is incorrect for install-time cluster configuration.

Per OpenShift agent-based installer documentation, manifests under <install_dir>/openshift/ are treated as additive only and cannot override install-time cluster resources like Network.operator.openshift.io. If openshift/Network.yaml is intended to customize cluster network settings (e.g., MTU) at install time, this approach will not work.

To modify install-time cluster configuration, use the supported workflow:

  • Set network parameters in install-config.yaml before generating manifests, or
  • Edit the installer-generated manifests directly after create manifests (e.g., customizing the Cluster Network Operator manifest in the install assets).

The openshift/ directory should be used only for additive customizations like MachineConfigs, not for overriding cluster-scoped configuration.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@telco-hub/install/install_directory/openshift/README.md` at line 3, The
README's guidance and the presence of openshift/Network.yaml are misleading
because files under the openshift/ directory are additive-only and cannot
override install-time cluster resources like Network.operator.openshift.io;
remove or relocate openshift/Network.yaml and update the README to instruct
users to set network parameters in install-config.yaml before generating
manifests or to edit the installer-generated manifests after running the
installer’s "create manifests" step (i.e., customize the Cluster Network
Operator manifest in the install assets), and clarify that openshift/ is for
additive customizations (e.g., MachineConfigs) only.

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

Labels

needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants