← Back to Pull requests

tentacle 9.2: choose UBI 9 or UBI 10 with BASE_DISTRO #2318

Merged
baum merged 7 files (247 lines) on Nov 30, 2026 14:30 UTC
View on GitHub
baum baum commented on Nov 30, 2026 13:08 UTC
Author

Summary


  • Backport of #2316 onto tentacle_9.2. This branch keeps version 1.7.30, SPDK 26.01, and CEPH_BRANCH=tentacle.

  • Add BASE_DISTRO so image builds can select UBI 10 (default, Rocky Linux 10) or UBI 9 (CentOS Stream 9 build, UBI 9 runtime, Shaman centos/9).

  • The UBI 9 gateway stays on system Python 3.9 so the distro python3-rados and python3-rbd modules import.

  • Add a ubi9-sanity CI job that builds the UBI 9 images and runs the unsecured bdevperf I/O path. The default build stays on UBI 10.
  • Building with UBI 9

    BASE_DISTRO=ubi10 in .env keeps the Rocky Linux 10 / UBI 10 images. Set BASE_DISTRO=ubi9 in .env, or pass it on the make command line. A command-line value overrides .env.

    ubi9 builds SPDK and the Ceph test cluster on CentOS Stream 9, runs SPDK and the CLI on UBI 9, and uses the centos/9 Shaman repo. The gateway stays on the image's Python 3.9 so python3-rados and python3-rbd import.

    Build the images in the same order as the ubi9-sanity job, then start them. The gateway image is FROM $CONTAINER_REGISTRY/spdk:$SPDK_VERSION, so the local SPDK image has to be tagged before the gateway build starts.

    make BASE_DISTRO=ubi9 build SVC=spdk
    make BASE_DISTRO=ubi9 build SVC=bdevperf
    make BASE_DISTRO=ubi9 build SVC=ceph
    make BASE_DISTRO=ubi9 build SVC=nvmeof
    make BASE_DISTRO=ubi9 build SVC=nvmeof-cli
    make BASE_DISTRO=ubi9 up
    

    Diff: 247 lines (+216 / -31) across 7 files Reviewer: caroav Review duration: 81m
    All Vouch review confidence checks passed
    Residual risk 0.23 = Change Risk (0.45) × (1 − Review Confidence (0.48)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.45 · 247 lines diff across 7 files
    0.45
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.00 · 1 substantive comment(s)
    0.00
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    48%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Shallow Review Depth shallow_review_depth
    0.350
    Diff Size diff_size
    0.330
    Real PR Conversation Timeline
    2 items
    caroav caroav approved these changes on Nov 30, 2026 13:15 UTC
    Approved Reviewer

    Approved these changes.

    Reviewers
    Assignees
    baum baum
    Labels
    risk: low confidence: 48.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 44.8% (MEDIUM) · Higher = larger blast radius
    44.8%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 48.5% · Lower = rushed or shallow review
    48.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 23.1% · Safe to merge
    23.1%