NO-ISSUE: Fix CentOS 9/10 CI image creation and runtime#6997
Conversation
|
@ggiguash: This pull request explicitly references no jira issue. DetailsIn response to this: 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. |
|
Skipping CI for Draft Pull Request. |
|
/test ? |
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
WalkthroughAdds CentOS-family bootc image handling, a cos10 test agent package update, and a CentOS Stream 9 kickstart workaround. ChangesCentOS bootc support updates
Estimated code review effort: 2 (Simple) | ~10 minutes Caution Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional.
❌ Failed checks (1 error)
✅ Passed checks (14 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
/test e2e-aws-tests-bootc-upstream |
|
/test e2e-aws-tests-bootc-upstream |
1 similar comment
|
/test e2e-aws-tests-bootc-upstream |
|
/test e2e-aws-tests-bootc-upstream |
There was a problem hiding this comment.
Actionable comments posted: 3
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@assets/components/ovn/single-node/master/daemonset.yaml`:
- Around line 358-367: The change in the OVN master daemonset manifest is in a
rebase-managed asset, so the nftables conntrack fix must also be added to the
corresponding rebase patch under scripts/auto-rebase/ rather than relying on the
YAML edit alone. Update the patch source that drives the daemonset manifest
generation, keeping the nft/NOTRACK changes in sync with the manifest via the
relevant rebase-managed patch file for the OVN master daemonset.
- Around line 363-367: The nft setup in the startup script is not idempotent, so
repeated pod restarts can fail when `nft add table inet raw` and the `nft add
chain inet raw ...` commands hit existing objects. Update the command sequence
in the `daemonset.yaml` startup logic to make the `raw` table and its
`prerouting`/`output` chains safe to re-run on every boot, using the existing
nftables setup block that precedes `exec ovnkube`; the fix should ensure the
hostNetwork namespace can already contain these objects without aborting
startup.
- Around line 363-367: The NOTRACK setup in the OVN daemonset is still using the
legacy iptables/ip6tables path in the multi-node node manifest, while the
single-node path already uses nftables. Update the NOTRACK rule programming to
follow the nft flow used in the single-node manifest by switching the relevant
setup in the daemonset’s OVN init logic to nft commands, keeping both paths
consistent for the xt_CT/xt_NOTRACK removal case.
🪄 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: Repository YAML (base), Central YAML (inherited)
Review profile: CHILL
Plan: Enterprise
Run ID: 81ef0feb-cc94-4efc-aa9b-2be8fdf97697
📒 Files selected for processing (1)
assets/components/ovn/single-node/master/daemonset.yaml
…missing kernel modules
|
/test e2e-aws-tests-bootc-upstream |
|
/test e2e-aws-tests-bootc-upstream |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
test/kickstart-templates/includes/main-ostreecontainer.cfg (1)
27-30: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick winUse the repo-standard shell prologue.
The wrapper is shell code, so it should use
#!/usr/bin/bashandset -euo pipefailto match the repository shell standard. As per coding guidelines, Shell:#!/usr/bin/bash;set -euo pipefail.♻️ Proposed fix
-#!/bin/bash +#!/usr/bin/bash +set -euo pipefail🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@test/kickstart-templates/includes/main-ostreecontainer.cfg` around lines 27 - 30, The ostree wrapper script in the bootstrap template is using a non-standard shell header and missing the repository’s required safety prologue. Update the heredoc in the `ostree` wrapper to use the repo-standard shell prologue (`#!/usr/bin/bash` plus `set -euo pipefail`) before the existing `unset INVOCATION_ID` and `exec /usr/bin/ostree.real "$@"` logic.Source: Coding guidelines
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@test/kickstart-templates/includes/main-ostreecontainer.cfg`:
- Around line 27-30: The ostree wrapper script in the bootstrap template is
using a non-standard shell header and missing the repository’s required safety
prologue. Update the heredoc in the `ostree` wrapper to use the repo-standard
shell prologue (`#!/usr/bin/bash` plus `set -euo pipefail`) before the existing
`unset INVOCATION_ID` and `exec /usr/bin/ostree.real "$@"` logic.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository YAML (base), Central YAML (inherited)
Review profile: CHILL
Plan: Enterprise
Run ID: 48281e84-0c91-49ea-b2bd-c7c423348910
📒 Files selected for processing (1)
test/kickstart-templates/includes/main-ostreecontainer.cfg
|
Bootc periodics failed due to low-latency errors /override ci/prow/e2e-aws-tests-bootc-periodic-arm-el10 ci/prow/e2e-aws-tests-bootc-periodic-el9 ci/prow/e2e-aws-tests-bootc-periodic-el10 Upstream tests failed due to optional scenario issues - will be handled elsewhere. /override ci/prow/e2e-aws-tests-bootc-upstream ci/prow/e2e-aws-tests-bootc-upstream-arm |
|
@ggiguash: Overrode contexts on behalf of ggiguash: ci/prow/e2e-aws-tests-bootc-periodic-arm-el10, ci/prow/e2e-aws-tests-bootc-periodic-el10, ci/prow/e2e-aws-tests-bootc-periodic-el9, ci/prow/e2e-aws-tests-bootc-upstream, ci/prow/e2e-aws-tests-bootc-upstream-arm DetailsIn response to this:
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. |
|
/verified by ci |
|
@ggiguash: This PR has been marked as verified by DetailsIn response to this:
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. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ggiguash, pacevedom The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Caution Review failedAn error occurred during the review process. Please try again later. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
@ggiguash: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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. |
Implements workarounds for:
Summary by CodeRabbit
Summary by CodeRabbit
New Features
Bug Fixes