Skip to content

Misc 2026-related fixes - #2511

Open
Alex-Welsh wants to merge 8 commits into
stackhpc/2026.1from
alex/2026.1-fixes
Open

Misc 2026-related fixes#2511
Alex-Welsh wants to merge 8 commits into
stackhpc/2026.1from
alex/2026.1-fixes

Conversation

@Alex-Welsh

Copy link
Copy Markdown
Member

Rebuilt all kolla images, should be closer to getting check-review working. Now using OVN 26.03 🎉
Bumped the kayobe pin, there's also some kolla changes required to get images building, but I'm hoping to just get them merged upstream and synced to our fork.

@Alex-Welsh
Alex-Welsh requested a review from a team as a code owner August 12, 2026 14:54
@github-actions github-actions Bot added the waiting-review PR is waiting for a review label Aug 12, 2026
@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown

Review Change Stack

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

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 59fb69b6-d80e-41ad-ae24-b7539392ef43

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
📝 Walkthrough

Rebuilt Rocky Kolla images for 2026.1 and updated image tags. Enabled RPM repository build_only settings and refreshed package repository versions. Added Grafana and OpenSearch Dashboards vulnerability exceptions. Bumped the Kayobe dependency to include an inventory fix.

Walkthrough

The change refreshes Kolla image and repository configuration, updates Pulp repository versions, adds two Trivy vulnerability allowlists, and pins Kayobe to a new commit.

Changes

Kolla content refresh

Layer / File(s) Summary
Image and repository configuration
etc/kayobe/kolla-image-tags.yml, etc/kayobe/kolla/repos.yaml
The Rocky Linux 10 OpenStack image tag changed. Several Rocky Linux 10 image entries were removed. Ubuntu repositories now use lowercase trusted: true. Configured repositories now use build_only: true.
Pulp repository versions
etc/kayobe/pulp-repo-versions.yml
Repository version timestamps changed. Grafana APT and Ubuntu Noble Fluent version entries were added.
Vulnerability and dependency updates
etc/kayobe/trivy/allowed-vulnerabilities.yml, requirements.txt
Grafana and OpenSearch Dashboards vulnerability allowlists were added. The pinned Kayobe commit changed.

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

Possibly related PRs

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 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.

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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 3


ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 0d242632-21bb-404c-a3f2-1d28e3793d87

📥 Commits

Reviewing files that changed from the base of the PR and between 4fd9e9b and 1c3a776.

📒 Files selected for processing (5)
  • etc/kayobe/kolla-image-tags.yml
  • etc/kayobe/kolla/repos.yaml
  • etc/kayobe/pulp-repo-versions.yml
  • etc/kayobe/trivy/allowed-vulnerabilities.yml
  • requirements.txt
📜 Review details
⏰ Context from checks skipped due to timeout. (3)
  • GitHub Check: stackhpc/check
  • GitHub Check: Ansible 2.19 lint with Python 3.12
  • GitHub Check: Ansible 2.20 lint with Python 3.12
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2026-07-27T12:28:31.134Z
Learnt from: seunghun1ee
Repo: stackhpc/stackhpc-kayobe-config PR: 2454
File: etc/kayobe/pulp.yml:566-568
Timestamp: 2026-07-27T12:28:31.134Z
Learning: For `etc/kayobe/stackhpc.yml`, the configured Kolla-Ansible source `stackhpc/kolla-ansiblestackhpc/2026.1` no longer defines or deploys InfluxDB and does not contain `kolla_enable_influxdb`. InfluxDB should not be required in `etc/kayobe/pulp.yml` `stackhpc_pulp_images_kolla`; a remaining `kolla_enable_influxdb` setting in ci-builder configuration is obsolete and does not enable a deployable service.

Applied to files:

  • etc/kayobe/pulp-repo-versions.yml
🪛 OSV Scanner (2.4.0)
requirements.txt

[MEDIUM] 1-1: idna 3.9.0: undefined

(PYSEC-2026-215)


[MEDIUM] 1-1: idna 3.9.0: Internationalized Domain Names in Applications (IDNA): Specially crafted inputs to idna.encode() can bypass CVE-2024-3651 fix

(GHSA-65pc-fj4g-8rjx)


[MEDIUM] 1-1: requests 2.32.5: undefined

(PYSEC-2026-2275)


[MEDIUM] 1-1: requests 2.32.5: Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function

(GHSA-gc5v-m9x4-r6x2)

🔇 Additional comments (5)
etc/kayobe/trivy/allowed-vulnerabilities.yml (1)

30-32: 🔒 Security & Privacy

Provide scan evidence and removal tracking for both exceptions.

The script scopes these identifiers to the grafana and opensearch_dashboards images. Add scan evidence for each finding and a removal condition for CVE-2026-59873. Remove each exception when its image contains the fixed package version.

requirements.txt (1)

1-1: 🔒 Security & Privacy

Document transitive dependency reachability before merging.

requirements.txt and Kayobe’s pinned requirements do not declare idna or requests. Kayobe has no direct calls to idna.encode or requests.utils.extract_zipped_paths. Establish the installed dependency graph and document whether another dependency reaches either API.

etc/kayobe/kolla-image-tags.yml (1)

7-20: LGTM!

etc/kayobe/kolla/repos.yaml (1)

30-119: LGTM!

Also applies to: 126-126

etc/kayobe/pulp-repo-versions.yml (1)

4-6: LGTM!

Also applies to: 9-10, 13-19, 22-25, 28-36, 40-49

Comment thread etc/kayobe/kolla/repos.yaml
Comment on lines +7 to +8
stackhpc_pulp_repo_centos_stream_10_nfv_openvswitch_aarch64_version: 20260729T102151
stackhpc_pulp_repo_centos_stream_10_nfv_openvswitch_version: 20260729T092535

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

# Find OVN LTS version definitions and consumers.
rg -n --glob '*.yml' --glob '*.yaml' \
  'stackhpc_(pulp_)?repo_(multiarch_)?centos_stream_10_ovn_lts(_aarch64)?_version' .

Repository: stackhpc/stackhpc-kayobe-config

Length of output: 874


🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

printf '%s\n' '--- OVN references across tracked files ---'
rg -n --hidden --glob '!*.pyc' \
  'centos_stream_10_ovn_lts|ovn_lts_version|nfv_openvswitch' .

printf '%s\n' '--- Relevant pulp configuration ---'
sed -n '225,265p' etc/kayobe/pulp.yml

printf '%s\n' '--- Pulp repository version entries ---'
rg -n -C 3 \
  'stackhpc_pulp_repo_(centos_stream_10|multiarch_centos_stream_10)_' \
  etc/kayobe/pulp-repo-versions.yml

printf '%s\n' '--- Version-file and variable-loading references ---'
rg -n --glob '*.yml' --glob '*.yaml' \
  'pulp-repo-versions|repo-versions|vars_files|include_vars|pulp_repo_' \
  etc/kayobe | head -250

Repository: stackhpc/stackhpc-kayobe-config

Length of output: 41822


🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

printf '%s\n' '--- All OVN-related configuration ---'
rg -n -i --hidden --glob '!*.pyc' '\bovn\b|openvswitch' etc/kayobe

printf '%s\n' '--- Pulp configuration loading ---'
rg -n --hidden --glob '*.yml' --glob '*.yaml' \
  'pulp\.yml|pulp-repo-versions\.yml|stackhpc_pulp_repo_multiarch_centos_stream_10_ovn_lts_version' \
  etc

printf '%s\n' '--- Static variable-resolution check ---'
python3 - <<'PY'
from pathlib import Path
import re

root = Path(".")
versions = root / "etc/kayobe/pulp-repo-versions.yml"
pulp = root / "etc/kayobe/pulp.yml"
ci_files = [
    root / "etc/kayobe/environments/ci-builder/stackhpc-ci.yml",
    root / "etc/kayobe/environments/ci-multinode/stackhpc-ci.yml",
    root / "etc/kayobe/environments/aio/release-train.yml",
]

text = versions.read_text()
defined = set(re.findall(r"^([A-Za-z0-9_]+):", text, re.M))
pulp_text = pulp.read_text()
lookup_names = re.findall(
    r"lookup\('vars',\s*'([^']*?)'\s*~\s*arch_suffix\s*~\s*'([^']*)'",
    pulp_text,
)
for prefix, suffix in lookup_names:
    if "ovn_lts" in prefix:
        print("OVN lookup template:", prefix + "<arch_suffix>" + suffix)
        for arch_suffix in ("", "_aarch64"):
            name = prefix + arch_suffix + suffix
            print(f"{name}: {'DEFINED' if name in defined else 'MISSING'}")

for path in ci_files:
    matches = [
        line.strip()
        for line in path.read_text().splitlines()
        if "ovn_lts_version" in line
    ]
    print(path, "OVN consumers:", matches)
PY

Repository: stackhpc/stackhpc-kayobe-config

Length of output: 13458


Define the OVN LTS repository pins.

The OVN LTS lookup resolves neither architecture-specific variable. Add both generated entries to etc/kayobe/pulp-repo-versions.yml, or remove the stale OVN consumers.

Comment thread requirements.txt
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.

1 participant