Skip to content

OCPEDGE-2933: feat: add MAC-keyed FC TNF IPI install weekly lanes - #83799

Open
fracappa wants to merge 1 commit into
openshift:mainfrom
fracappa:fca/mac-keyed-fc-ipi-install
Open

OCPEDGE-2933: feat: add MAC-keyed FC TNF IPI install weekly lanes#83799
fracappa wants to merge 1 commit into
openshift:mainfrom
fracappa:fca/mac-keyed-fc-ipi-install

Conversation

@fracappa

@fracappa fracappa commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

MAC-based fencing credentials has been recently introduced in Openshift.

This PR introduces a CI lane to validate this new installation method in the IPI path.

This PR depends on: openshift-metal3/dev-scripts#1916

Summary by CodeRabbit

Adds weekly OpenShift CI lanes for two-node fencing with MAC-based credentials.

  • Adds the baremetalds-two-node-fencing-mac workflow for TNF IPI installations.
  • Configures MAC-address fencing credentials with FENCING_CREDENTIAL_IDENTIFIER=macAddress.
  • Enables weekly nightly-5.0 and nightly-5.1 periodic jobs on the Equinix edge-enablement profile.
  • Adds ownership and workflow metadata for the new CI path.

@coderabbitai

coderabbitai Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Pro Plus

Run ID: 666ba7d2-ae80-486e-a42f-e0e0ae198ccc

📥 Commits

Reviewing files that changed from the base of the PR and between ace104d and 19f4c7f.

⛔ Files ignored due to path filters (1)
  • ci-operator/jobs/openshift/release/openshift-release-main-periodics.yaml is excluded by !ci-operator/jobs/**
📒 Files selected for processing (5)
  • ci-operator/config/openshift/release/openshift-release-main__nightly-5.0.yaml
  • ci-operator/config/openshift/release/openshift-release-main__nightly-5.1.yaml
  • ci-operator/step-registry/baremetalds/two-node/fencing/mac/OWNERS
  • ci-operator/step-registry/baremetalds/two-node/fencing/mac/baremetalds-two-node-fencing-mac-workflow.metadata.json
  • ci-operator/step-registry/baremetalds/two-node/fencing/mac/baremetalds-two-node-fencing-mac-workflow.yaml
🚧 Files skipped from review as they are similar to previous changes (5)
  • ci-operator/step-registry/baremetalds/two-node/fencing/mac/OWNERS
  • ci-operator/step-registry/baremetalds/two-node/fencing/mac/baremetalds-two-node-fencing-mac-workflow.metadata.json
  • ci-operator/config/openshift/release/openshift-release-main__nightly-5.1.yaml
  • ci-operator/config/openshift/release/openshift-release-main__nightly-5.0.yaml
  • ci-operator/step-registry/baremetalds/two-node/fencing/mac/baremetalds-two-node-fencing-mac-workflow.yaml

Included review availability: Your plan provides up to 2 included reviews per hour; 0 remain after this review.


Walkthrough

The change adds a MAC-address-based two-node fencing workflow and schedules it as a 168-hour periodic test in the nightly 5.0 and 5.1 release configurations.

Changes

MAC fencing CI coverage

Layer / File(s) Summary
Workflow definition and ownership
ci-operator/step-registry/baremetalds/two-node/fencing/mac/*
Adds the baremetalds-two-node-fencing-mac workflow with OpenShift Edge ownership, Equinix edge-enablement infrastructure, two masters, no workers, Redfish BMC support, and MAC-based fencing credentials.
Nightly release scheduling
ci-operator/config/openshift/release/openshift-release-main__nightly-5.0.yaml, ci-operator/config/openshift/release/openshift-release-main__nightly-5.1.yaml
Adds the e2e-metal-ovn-two-node-fencing-mac periodic test with the intranet capability and a 168-hour interval.

Estimated code review effort: 2 (Simple) | ~10 minutes

Merge Risk: ⚪ Minimal · up to 19f4c

This PR adds CI coverage for MAC-keyed fencing installation lanes without any supplied evidence of an actionable merge-blocking risk; it is merge-ready after normal checks and review.

Sequence Diagram(s)

sequenceDiagram
  participant PeriodicTestJob
  participant FencingWorkflow
  participant PreSteps
  participant IpiTest
  participant PostSteps
  PeriodicTestJob->>FencingWorkflow: starts baremetalds-two-node-fencing-mac
  FencingWorkflow->>PreSteps: runs pre chain
  FencingWorkflow->>IpiTest: runs baremetalds-ipi-test
  FencingWorkflow->>PostSteps: runs post chain
Loading

Suggested reviewers: petr-muller, hoxhaeris

🚥 Pre-merge checks | ✅ 15
✅ Passed checks (15 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: adding weekly FC TNF IPI installation lanes that use MAC-keyed fencing credentials.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names ✅ Passed PASS: The pull request adds CI configuration, generated periodic jobs, ownership metadata, and a workflow definition. The changed lines contain no Ginkgo test-title constructs such as It(), `Describ…
Test Structure And Quality ✅ Passed PASS: The pull request changes only CI configuration, generated periodic-job YAML, OWNERS metadata, and a declarative workflow. The exact commit diff adds no Ginkgo test code or It, Eventually, `C…
Microshift Test Compatibility ✅ Passed PASS — The pull request adds CI and workflow YAML only. The diff contains no Go files and no new Ginkgo declarations such as It(), Describe(), Context(), or When(). The new workflow invokes th…
Single Node Openshift (Sno) Test Compatibility ✅ Passed PASS — The pull request adds CI configuration and a bare-metal workflow only. The parent-to-HEAD diff contains YAML, JSON, OWNERS, and generated Prow job changes; it adds no Go or other test source fi…
Topology-Aware Scheduling Compatibility ✅ Passed PASS: The pull request adds CI release entries, generated Prow periodic jobs, ownership metadata, and a CI-operator workflow. It does not add or modify deployment manifests, operator code, or controll…
Ote Binary Stdout Contract ✅ Passed PASS — The pull request changes only CI YAML, JSON metadata, and OWNERS files. It adds no OTE binary source, main or suite setup code, logging configuration, or stdout write. The new workflow reuses t…
Ipv6 And Disconnected Network Test Compatibility ✅ Passed PASS: The pull request adds CI configuration and a step-registry workflow only. The parent-to-HEAD diff adds no Go files, Ginkgo declarations (It, Describe, Context, or When), or test implemen…
No-Weak-Crypto ✅ Passed PASS: The commit adds CI scheduling, ownership metadata, and a workflow configuration. Its only credential-related setting is FENCING_CREDENTIAL_IDENTIFIER=macAddress, which selects MAC addresses as…
Container-Privileges ✅ Passed PASS: The pull request adds no privileged: true, hostPID, hostNetwork, hostIPC, SYS_ADMIN, allowPrivilegeEscalation: true, or root user declaration. The generated Kubernetes jobs contain s…
No-Sensitive-Data-In-Logs ✅ Passed PASS. The commit adds CI configuration and a workflow only. It adds no logging command, log format, literal password, token, API key, email, session ID, hostname, or customer data. `FENCING_CREDENTIAL…
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (5 skipped: 5 unsupported.)

Full details: Stable And Deterministic Test Names

Explanation

PASS: The pull request adds CI configuration, generated periodic jobs, ownership metadata, and a workflow definition. The changed lines contain no Ginkgo test-title constructs such as It(), Describe(), Context(), or When(). The workflow uses static job and chain identifiers. The status.podIP field in generated job configuration is not a test title.

Full details: Test Structure And Quality

Explanation

PASS: The pull request changes only CI configuration, generated periodic-job YAML, OWNERS metadata, and a declarative workflow. The exact commit diff adds no Ginkgo test code or It, Eventually, Consistently, BeforeEach, or AfterEach calls. Therefore, the stated Ginkgo test quality requirements are not applicable to the changed code.

Full details: Microshift Test Compatibility

Explanation

PASS — The pull request adds CI and workflow YAML only. The diff contains no Go files and no new Ginkgo declarations such as It(), Describe(), Context(), or When(). The new workflow invokes the existing baremetalds-ipi-test chain. Therefore, the custom check is not applicable to this pull request.

Full details: Single Node Openshift (Sno) Test Compatibility

Explanation

PASS — The pull request adds CI configuration and a bare-metal workflow only. The parent-to-HEAD diff contains YAML, JSON, OWNERS, and generated Prow job changes; it adds no Go or other test source files and no Ginkgo Describe, Context, When, or It declarations. The workflow sets NUM_MASTERS=2, but that is cluster provisioning configuration, not a new Ginkgo test. Therefore, the SNO test-compatibility check is not applicable.

Full details: Topology-Aware Scheduling Compatibility

Explanation

PASS: The pull request adds CI release entries, generated Prow periodic jobs, ownership metadata, and a CI-operator workflow. It does not add or modify deployment manifests, operator code, or controllers. The new workflow only configures a two-node test installation (NUM_MASTERS=2, NUM_WORKERS=0, and MAC fencing credentials). The changed additions contain no affinity, topology spread, node selector/affinity, toleration, PDB, replica, or maxUnavailable constraints. Therefore, the custom check has no applicable scheduling failure condition.

Full details: Ote Binary Stdout Contract

Explanation

PASS — The pull request changes only CI YAML, JSON metadata, and OWNERS files. It adds no OTE binary source, main or suite setup code, logging configuration, or stdout write. The new workflow reuses the existing baremetalds-ipi-test chain and adds only FENCING_CREDENTIAL_IDENTIFIER=macAddress; no process-level stdout contract violation is introduced.

Full details: Ipv6 And Disconnected Network Test Compatibility

Explanation

PASS: The pull request adds CI configuration and a step-registry workflow only. The parent-to-HEAD diff adds no Go files, Ginkgo declarations (It, Describe, Context, or When), or test implementation. The workflow sets IP_STACK=v4, but this is installation configuration, not a newly added Ginkgo test or one of the listed hardcoded-address or URL construction patterns. The generated job uses the internal quay-proxy.ci.openshift.org image path. No explicit custom-check failure condition is introduced.

Full details: No-Weak-Crypto

Explanation

PASS: The commit adds CI scheduling, ownership metadata, and a workflow configuration. Its only credential-related setting is FENCING_CREDENTIAL_IDENTIFIER=macAddress, which selects MAC addresses as fencing credential keys. The added lines contain no MD5, SHA1, DES, 3DES, RC4, Blowfish, ECB, custom crypto, or secret/token comparison logic. The workflow only references existing pre, test, and post chains.

Full details: Container-Privileges

Explanation

PASS: The pull request adds no privileged: true, hostPID, hostNetwork, hostIPC, SYS_ADMIN, allowPrivilegeEscalation: true, or root user declaration. The generated Kubernetes jobs contain standard container settings but no securityContext or privilege fields. The new workflow only sets CI workflow environment variables and references existing chains.

Full details: No-Sensitive-Data-In-Logs

Explanation

PASS. The commit adds CI configuration and a workflow only. It adds no logging command, log format, literal password, token, API key, email, session ID, hostname, or customer data. FENCING_CREDENTIAL_IDENTIFIER=macAddress names the credential key; it does not contain a credential value. The generated jobs use standard secret file paths and mounts. The reused setup and gather steps already redact pull secrets, password fields, auth tokens, UserData, and pacemaker credentials.

✨ 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.

@openshift-ci

openshift-ci Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: fracappa
Once this PR has been reviewed and has the lgtm label, please assign xueqzhan 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

@fracappa fracappa changed the title feat: add MAC-keyed FC TNF IPI install weekly lanes OCPEDGE-2933: feat: add MAC-keyed FC TNF IPI install weekly lanes Aug 21, 2026
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Aug 21, 2026
@openshift-ci-robot

openshift-ci-robot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

@fracappa: This pull request references OCPEDGE-2933 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 story to target either version "5.1.0." or "openshift-5.1.0.", but it targets "openshift-5.0" instead.

Details

In response to this:

MAC-based fencing credentials has been recently introduced in Openshift.

This PR introduces a CI lane to validate this new installation method in the IPI path.

This PR depends on: openshift-metal3/dev-scripts#1916

Summary by CodeRabbit

Adds weekly OpenShift CI lanes for two-node fencing with MAC-based credentials.

  • Adds the baremetalds-two-node-fencing-mac workflow for TNF IPI installations.
  • Configures fencing credentials with FENCING_CREDENTIAL_IDENTIFIER=macAddress.
  • Enables weekly nightly-5.0 and nightly-5.1 periodic jobs on the Equinix edge-enablement profile.
  • Adds ownership and workflow metadata for the new CI path.

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.

@fracappa

Copy link
Copy Markdown
Contributor Author

/jira refresh

@openshift-ci-robot

openshift-ci-robot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

@fracappa: This pull request references OCPEDGE-2933 which is a valid jira issue.

Details

In response to this:

/jira refresh

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.

@fracappa

Copy link
Copy Markdown
Contributor Author

/pj-rehearse

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@fracappa: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci

openshift-ci Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

@fracappa: The following tests 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/rehearse/periodic-ci-openshift-release-main-nightly-5.0-e2e-metal-ovn-two-node-fencing-mac 4365dc1 link unknown /pj-rehearse periodic-ci-openshift-release-main-nightly-5.0-e2e-metal-ovn-two-node-fencing-mac
ci/rehearse/periodic-ci-openshift-release-main-nightly-5.1-e2e-metal-ovn-two-node-fencing-mac 4365dc1 link unknown /pj-rehearse periodic-ci-openshift-release-main-nightly-5.1-e2e-metal-ovn-two-node-fencing-mac

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.

@fracappa
fracappa force-pushed the fca/mac-keyed-fc-ipi-install branch from 919eb0c to 19f4c7f Compare August 26, 2026 09:51
@coderabbitai

coderabbitai Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Note

GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer.

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@fracappa: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
periodic-ci-openshift-release-main-nightly-5.0-e2e-metal-ovn-two-node-fencing-mac N/A periodic Periodic changed
periodic-ci-openshift-release-main-nightly-5.1-e2e-metal-ovn-two-node-fencing-mac N/A periodic Periodic changed
Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse list to get an up-to-date list of affected jobs
Comment: /pj-rehearse abort to abort all active rehearsals
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

@fracappa

Copy link
Copy Markdown
Contributor Author

/pj-rehearse

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@fracappa: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

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

Labels

jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants