Skip to content

WINC-2092: Add windows_exporter log collection - #560

Open
jrvaldes wants to merge 1 commit into
openshift:mainfrom
redhat-chai-bot:WINC-2092/add-windows-exporter-log
Open

WINC-2092: Add windows_exporter log collection#560
jrvaldes wants to merge 1 commit into
openshift:mainfrom
redhat-chai-bot:WINC-2092/add-windows-exporter-log

Conversation

@jrvaldes

@jrvaldes jrvaldes commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Add windows_exporter/windows_exporter.log to the LOGS array in gather_windows_node_logs to collect windows_exporter service logs from Windows nodes.

follow-up to

Summary by CodeRabbit

  • New Features
    • Added Windows Exporter logs to the Windows node log collection.

Add windows_exporter/windows_exporter.log to the LOGS array in
gather_windows_node_logs to collect windows_exporter service logs
from Windows nodes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Pipeline controller notification
This repo is configured to use the pipeline controller. Second-stage tests will be triggered either automatically or after lgtm label is added, depending on the repository configuration. The pipeline controller will automatically detect which contexts are required and will utilize /test Prow commands to trigger the second stage.

For optional jobs, comment /test ? to see a list of all defined jobs. To trigger manually all jobs from second stage use /pipeline required command.

This repository is configured in: LGTM mode

@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 19, 2026
@openshift-ci-robot

openshift-ci-robot commented Aug 19, 2026

Copy link
Copy Markdown

@jrvaldes: This pull request references WINC-2092 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 task to target the "5.1.0" version, but no target version was set.

Details

In response to this:

Add windows_exporter/windows_exporter.log to the LOGS array in gather_windows_node_logs to collect windows_exporter service logs from Windows nodes.

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.

@coderabbitai

coderabbitai Bot commented Aug 19, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 9986a271-96ce-4090-bdfa-49914d18f918

📥 Commits

Reviewing files that changed from the base of the PR and between fd47ab2 and 6a9bea4.

📒 Files selected for processing (1)
  • collection-scripts/gather_windows_node_logs

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


Walkthrough

The Windows node log collector now gathers windows_exporter/windows_exporter.log in addition to the existing Windows logs.

Changes

Windows node log collection

Layer / File(s) Summary
Collect Windows exporter log
collection-scripts/gather_windows_node_logs
The Windows log collection list includes windows_exporter/windows_exporter.log.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to 6a9be

This localized change adds Windows exporter service logs to node diagnostics, with no actionable merge-blocking risk remaining after normal checks and review.

🚥 Pre-merge checks | ✅ 15
✅ Passed checks (15 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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 The only PR change adds a static log path to a Bash LOGS array; it introduces no Ginkgo test declarations or dynamic test names.
Test Structure And Quality ✅ Passed The diff only adds a path to a Bash LOGS array; it changes no Ginkgo tests, assertions, cluster waits, setup, or cleanup.
Microshift Test Compatibility ✅ Passed The PR changes only a Windows log-collection shell script by adding one log path; it adds no Ginkgo e2e tests or MicroShift-incompatible API usage.
Single Node Openshift (Sno) Test Compatibility ✅ Passed The commit changes only one Bash LOGS entry; it adds no Ginkgo e2e test, so SNO multi-node compatibility rules do not apply.
Topology-Aware Scheduling Compatibility ✅ Passed The diff changes only a Windows log-collection script by adding one LOGS entry. It adds no deployment, controller, replica, affinity, topology, selector, or toleration scheduling constraint.
Ote Binary Stdout Contract ✅ Passed The PR changes only a Windows log path in a Bash collection script; it does not add or modify an OTE binary or process-level suite stdout.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed The diff adds one shell LOGS entry only. It adds no Ginkgo test and no IPv4 or external-network operation.
No-Weak-Crypto ✅ Passed The only change adds a Windows exporter log path to LOGS; the diff introduces no cryptographic algorithm, custom crypto, or secret comparison.
Container-Privileges ✅ Passed The PR adds only a LOGS entry for windows_exporter/windows_exporter.log; the diff introduces no privileged, host namespace, SYS_ADMIN, or escalation setting.
No-Sensitive-Data-In-Logs ✅ Passed The diff adds only a fixed windows_exporter log path to an existing collector; it adds no credentials, tokens, PII, hostnames, or customer data to logging.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the addition of Windows Exporter log collection.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

@mansikulkarni96

Copy link
Copy Markdown
Member

/approve
/lgtm

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

Copy link
Copy Markdown
Contributor

Scheduling required tests:
/test e2e-aws

@openshift-ci

openshift-ci Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

@jrvaldes

Copy link
Copy Markdown
Contributor Author

/test e2e-aws

@jrvaldes

Copy link
Copy Markdown
Contributor Author

/cc @ingvagabund @sferich888 PTAL

@openshift-ci

openshift-ci Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

@jrvaldes: GitHub didn't allow me to request PR reviews from the following users: PTAL.

Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs.

Details

In response to this:

/cc @ingvagabund @sferich888 PTAL

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-ci

openshift-ci Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

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

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. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants