Skip to content

Reduce opensearch retention policy for multinode environment - #2760

Merged
Alex-Welsh merged 1 commit into
stackhpc/2026.1from
opensearch-retention-multinode
Nov 5, 2026
Merged

Alex-Welsh merged 1 commit into
stackhpc/2026.1from
opensearch-retention-multinode

Conversation

@RowanJohns

Copy link
Copy Markdown
Contributor

Opensearch retention policy moves logs from “open” to “closed” after 30 days, and from “closed” to “delete” after 60 days. This is far too long for a multinode. This patch reduces those retention times to something more reasonable.

@RowanJohns
RowanJohns requested a review from Alex-Welsh November 5, 2026 10:40
@RowanJohns RowanJohns self-assigned this Nov 5, 2026
@RowanJohns
RowanJohns requested a review from a team as a code owner November 5, 2026 10:40
@github-actions github-actions Bot added the waiting-review PR is waiting for a review label Nov 5, 2026
@coderabbitai

coderabbitai Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Explain Change →

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

No actionable comments were generated in the recent review.

Walkthrough

The CI multinode Kolla configuration sets OpenSearch indices to close after 3 days and be deleted after 6 days.

Changes: OpenSearch retention

Layer / File(s) Summary
Set index retention periods
etc/kayobe/environments/ci-multinode/kolla/globals.yml
The configuration sets opensearch_soft_retention_period_days to 3 and opensearch_hard_retention_period_days to 6.

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

Merge Risk: Minimal · previous review 7484f

The shorter retention settings apply to CI multinode deployments. No material issue was established that should prevent merging after normal checks.

Pre-merge checks: Passed 3

Check name Status Explanation
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
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.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Tip

🎯 Customize your risk assessments

Guide how CodeRabbit assesses merge risk and security architecture risk. Highlight sensitive changes and explain your security boundaries using Merge Risk Instructions and Security Risk Instructions in your review settings. Security architecture risk assessments require the Advanced plan or above.

✅ Automatic approvals, with your rules

Let CodeRabbit approve pull requests once required threads are resolved, pre-merge checks pass, and your risk limits are met. Enable Automatic approvals in review settings, with overrides for teams or file paths.

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

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 2bcc3ae and 7484f26.

Files selected for processing: 1

  • etc/kayobe/environments/ci-multinode/kolla/globals.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@RowanJohns
RowanJohns force-pushed the opensearch-retention-multinode branch from 7484f26 to aa8d829 Compare November 5, 2026 10:43
@Alex-Welsh
Alex-Welsh merged commit bbc8702 into stackhpc/2026.1 Nov 5, 2026
27 checks passed
@Alex-Welsh
Alex-Welsh deleted the opensearch-retention-multinode branch November 5, 2026 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting-review PR is waiting for a review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants