Skip to content

Backport main #3967: drop LVM overlay, use /mnt/containers/storage #2494

Description

@jiridanek

Parent: #2491

Source

opendatahub-io/notebooks#3967 (ISSUE#3965), merged on main 2026-06-29. Not on rhoai-2.25 or rhds/cherry-pick-qol-rhoai-2.25.

What changes on main

  • Delete ci/cached-builds/gha_lvm_overlay.sh
  • Set graphroot = /mnt/containers/storage in ci/cached-builds/storage.conf
  • Prepare /mnt/containers/storage in build-notebooks-TEMPLATE.yaml instead of LVM mount step
  • Add scripts/monitor_resources.py (disk/memory on /, /mnt, storage path)
  • Simplify free-up-disk-space composite action

rhoai-2.25 today

  • Still runs gha_lvm_overlay.sh + home-dir storage (~/.local/share/containers/storage)
  • Comment in overlay script notes root_reserve_mb=2048 was insufficient for CUDA builds

Work

  1. Cherry-pick or manually port ISSUE#3965: modernize resource monitoring and remove obsolete LVM overlay opendatahub-io/notebooks#3967 onto rhoai-2.25
  2. Resolve conflicts with RHDS-specific workflow differences (subscription jobs, AIPCC login, PRODUCT)
  3. Run test-build-notebooks-template.yaml on jupyter-minimal and a ROCm target
  4. Validate full push matrix ROCm amd64 legs

Acceptance criteria

  • No gha_lvm_overlay.sh step in build-notebooks-TEMPLATE.yaml
  • Podman uses /mnt/containers/storage on GHA runners
  • Resource monitoring available in workflow logs
  • No regression on arm64 (note: arm64 runners may lack /mnt scratch — verify main's handling)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions