|
| 1 | +# dra-test4 run_qc_ont_all FSx Export Ledger |
| 2 | + |
| 3 | +Date: 2026-05-18 |
| 4 | + |
| 5 | +## Objective |
| 6 | + |
| 7 | +Export the dra-test4 headnode path `/fsx/analysis_results/ubuntu/run_qc_ont_all` to the active DayOA us-west-2 bucket at `s3://lsmc-dayoa-omics-analysis-us-west-2/analysis_results/ubuntu/run_qc_ont_all/` using the explicit `dyec export` DRA workflow. |
| 8 | + |
| 9 | +## Gate 0: Inventory Freeze |
| 10 | + |
| 11 | +- Controlling SOP: `/Users/jmajor/.codex/docs/plan-ledger-workflow.md` |
| 12 | +- Ledger path: `docs/plans/dra_test4_run_qc_ont_export_ledger.md` |
| 13 | +- Repo path: `/Users/jmajor/.codex/worktrees/dyec-fsx-dra-mounts/daylily-ephemeral-cluster` |
| 14 | +- Branch/status: `main...origin/main`; pre-existing dirty files: `README.md`, `daylily_ec/cli.py`, `docs/LSMC_run_directory_mounting_run_analysis_spec.md`, `docs/cli_reference.md`, `docs/dra_fsx_strategy.md`, `docs/operations.md`, `docs/overview.md`, `docs/quickest_start.md`, `tests/test_run_mounts.py` |
| 15 | +- Activation: `source ./activate` resolved `CONDA_DEFAULT_ENV=DAY-EC`, `dyec=/Users/jmajor/miniconda3/envs/DAY-EC/bin/dyec` |
| 16 | +- Cluster inventory: `AWS_PROFILE=lsmc AWS_REGION=us-west-2 pcluster list-clusters --region us-west-2` showed `dra-test4` as `CREATE_COMPLETE` |
| 17 | +- Headnode info: `dyec --json headnode info --profile lsmc --region us-west-2 --cluster dra-test4` showed headnode `i-0d85f5c6569c7e475`, state `running`, compute fleet `RUNNING` |
| 18 | +- FSx inventory: `aws fsx describe-file-systems` for `parallelcluster:cluster-name=dra-test4` resolved `fs-0bcf5a60d9b48f03e`, lifecycle `AVAILABLE`, `SCRATCH_2`, 2400 GiB |
| 19 | +- Bucket inventory: `aws s3api head-bucket --bucket lsmc-dayoa-omics-analysis-us-west-2` succeeded with bucket region `us-west-2` |
| 20 | +- Existing destination inventory: `aws s3api list-objects-v2 --bucket lsmc-dayoa-omics-analysis-us-west-2 --prefix analysis_results/ubuntu/run_qc_ont_all/ --max-items 10` returned no contents |
| 21 | +- Existing DRA inventory for `fs-0bcf5a60d9b48f03e`: active run mounts under `/run_dir_mounts/`, active `/data/`, active `/analysis_results/ubuntu/run_qc_illumina_all/`, and misconfigured `/analysis_results/ubuntu/illumina_run_qc/`; no overlap with `/analysis_results/ubuntu/run_qc_ont_all/` |
| 22 | +- Source path proof: SSM via `daylily_ec.aws.ssm.run_shell` as `ubuntu` verified `/fsx/analysis_results/ubuntu/run_qc_ont_all` exists, owner `ubuntu:ubuntu`, mtime `2026-05-18 08:49:42 +0000`, 6 top-level entries, 192 files and 23 directories at max depth 4, with `/fsx` at 42G used of 2.2T |
| 23 | + |
| 24 | +## Rows |
| 25 | + |
| 26 | +| ID | Area | Requirement | Status | Category | Approval Gate | Owner | Evidence | Root Cause | Terminal Note | |
| 27 | +|---|---|---|---|---|---|---|---|---|---| |
| 28 | +| G0-001 | Baseline | Record repo, live cluster, FSx, bucket, destination, DRA, and source-path inventory before export. | `SUCCESS` | `legitimate_safety_handling` | Gate 0 | orchestrator | Gate 0 section above. | | Baseline complete before live export. | |
| 29 | +| PRE-001 | Source | Prove the requested headnode path exists on dra-test4 as `ubuntu`. | `SUCCESS` | `legitimate_safety_handling` | Gate 0 | orchestrator | SSM command `a8352ab0-16f6-49bc-b54e-81927466aa0d`; source directory exists with 6 top-level entries and 192 files at max depth 4. | | Requested source path is present. | |
| 30 | +| PRE-002 | Destination | Resolve and validate the explicit DayOA us-west-2 destination prefix. | `SUCCESS` | `legitimate_safety_handling` | Gate 0 | orchestrator | `s3://lsmc-dayoa-omics-analysis-us-west-2/analysis_results/ubuntu/run_qc_ont_all/`; bucket region `us-west-2`; no listed existing objects under the prefix. | | Destination is explicit and empty at preflight. | |
| 31 | +| EXP-001 | Export | Run explicit `dyec export` from source path to destination S3 prefix and preserve `fsx_export.yaml`. | `SUCCESS` | `feature_implementation` | Gate 1 | orchestrator | First `dyec export` wrote failure receipt `reports/fsx_exports/dra-test4_run_qc_ont_all_20260518T085756Z/fsx_export.yaml`; focused fix moved report path under the export destination; `pytest tests/test_export.py -q -> 17 passed`; retry wrote success receipt `reports/fsx_exports/dra-test4_run_qc_ont_all_20260518T090219Z/fsx_export.yaml`. | | Export task `task-09dd75221119a5311` completed `SUCCEEDED`; source `/analysis_results/ubuntu/run_qc_ont_all/` exported to `s3://lsmc-dayoa-omics-analysis-us-west-2/analysis_results/ubuntu/run_qc_ont_all/`. | |
| 32 | +| VER-001 | Verification | Verify export receipt success, DRA detach, and S3 object presence after export. | `SUCCESS` | `legitimate_safety_handling` | Gate 5 | orchestrator | Receipt status `success`, `task_lifecycle: SUCCEEDED`, `detached: true`, `detach_lifecycle: DELETED`; `describe-data-repository-associations` for `dra-004d5751b19bf2eae` and for `/analysis_results/ubuntu/run_qc_ont_all/` returned no active associations; S3 prefix contains 214 objects totaling 13,784,915,480 bytes; headnode source regular files total 13,784,915,480 bytes; report prefix contains 0 failed-file report objects. | | Post-export verification complete; all rows are terminal and the objective is complete. | |
| 33 | + |
| 34 | +## Final Status |
| 35 | + |
| 36 | +- Rows terminal: 5/5 |
| 37 | +- Objective complete: yes |
| 38 | +- Export receipt: `reports/fsx_exports/dra-test4_run_qc_ont_all_20260518T090219Z/fsx_export.yaml` |
| 39 | +- S3 destination: `s3://lsmc-dayoa-omics-analysis-us-west-2/analysis_results/ubuntu/run_qc_ont_all/` |
| 40 | +- Focused test: `pytest tests/test_export.py -q -> 17 passed` |
0 commit comments