Skip to content
This repository was archived by the owner on Sep 9, 2026. It is now read-only.

Initial AAP configuration - #1

Merged
adriengentil merged 1 commit into
osac-project:mainfrom
adriengentil:aap-initial-configuration
Apr 1, 2025
Merged

adriengentil merged 1 commit into
osac-project:mainfrom
adriengentil:aap-initial-configuration

Conversation

@adriengentil

@adriengentil adriengentil commented Mar 28, 2025

Copy link
Copy Markdown
Contributor

Scafold new ansible project, add the skeleton for create and delete
hosted clusters, inventory and rulebook.

Fixes osac-project/issues#46

@adriengentil

Copy link
Copy Markdown
Contributor Author

(github jobs will likely fail because the collection ansible-platform is located on Red Hat Automation Hub and requires authentication)

@adriengentil
adriengentil marked this pull request as ready for review March 31, 2025 09:17
@adriengentil
adriengentil enabled auto-merge (squash) March 31, 2025 09:53
@adriengentil
adriengentil disabled auto-merge March 31, 2025 09:53
@adriengentil
adriengentil enabled auto-merge (squash) March 31, 2025 09:53
@adriengentil
adriengentil force-pushed the aap-initial-configuration branch 2 times, most recently from 0f173f6 to df780bc Compare March 31, 2025 15:51
Scafold new ansible project, add the skeleton for create and delete
hosted clusters, inventory and rulebook.
@adriengentil
adriengentil force-pushed the aap-initial-configuration branch from df780bc to f58138d Compare March 31, 2025 16:21
@adriengentil
adriengentil merged commit 9f8bacd into osac-project:main Apr 1, 2025
wgordon17 added a commit to wgordon17/osac-aap that referenced this pull request May 12, 2026
…rd compat, and storage provision tests

- Replaces VAST_STORAGE_TIERS single env var approach with safe raw-string
  parsing: _vast_storage_tiers_raw in defaults, from_json in configure_backend
  with explicit empty-check assert for actionable error messages (finding osac-project#2)
- Adds 5 tier validation tasks: non-empty list, SDR-016 type/mapping check,
  SDR-009 protocol enum, DNS label names, uniqueness, SDR-010 max_tiers guard
- Moves credential resolution before CSI install (fail-fast, SDR-001 outer
  block/always clears 9 credential facts in all exit paths, SDR-017)
- Rewrites ensure_csi_operator.yaml for multi-protocol: per-protocol CSIDriver
  check, _vast_protocols_needing_install derivation, single OLM Subscription
  (SDR-002 preserved), per-protocol VastCSIDriver CRs, per-protocol wait
- Replaces single View/Quota tasks with per-tier loops (no_log, SDR-008);
  removes non-functional QoS view policy tasks
- Adds Jinja2 comprehension _vast_sc_tiers, replace_default additive override,
  per-tier VolumeSnapshotClass (vast-snapshot-{tenant}-{tier} naming)
- Updates tenant config Secret to store storage_tiers JSON (replaces
  storage_tier, storage_protocol, storage_path, view_policy_name fields)
- Adds two-format reader to cleanup_backend: reads storage_tiers JSON if
  present, falls back to storage_tier/storage_protocol for pre-hardening
  Secrets; loops View and VSC deletions over tiers (finding osac-project#3)
- Adds storage_provision integration test target: single-tier NFS,
  dual-tier NFS+block with quota, validation failures, replace_default (finding osac-project#1)
- Updates configmap sample to VAST_STORAGE_TIERS JSON format
- Updates secret-vast-tenant-config-test fixture to new Secret format

Generated-By: Claude Code (Anthropic)
Signed-off-by: Will Gordon <wgordon@redhat.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setting up and configuring AAP in the MOC environment

2 participants