Export Center Operations Runbook

Audience: DevOps and on-call operators running the StellaOps Export Center service in production and air-gapped environments. Purpose: Provide the operational procedures — monitoring, capacity, failure response, recovery, and verification — for keeping export runs healthy and bundles verifiable.

Some workers and API surfaces are still landing across the Export Center delivery milestones. Validate each command against your deployed version before relying on it; this runbook captures the target procedures.

1. Service scope

The Export Center packages StellaOps evidence and policy overlays into reproducible bundles (JSON, Trivy DB, mirror). Operations owns:

Related documentation:

2. Contacts & tooling

AreaOwner(s)Escalation
Export Center serviceExporter Service Guild#export-center-ops, on-call rotation
Distribution & CI smokeDevOps GuildCI channel, PagerDuty devops-export
KMS / encryptionAuthority Core#authority-core
Offline Kit disseminationOffline Kit Guild#offline-kit

Primary tooling:

3. Monitoring & SLOs

Key metrics (exposed by workers and API):

MetricSLO / AlertNotes
exporter_run_duration_secondsp95 < 300 s (full), < 120 s (delta)Break down by profile (profile_kind).
exporter_run_failures_totalAlert when > 3 failures/15 min per profileInclude error_code label.
exporter_run_bytes_totalTrack growth trendsHelps with storage planning.
exporter_distribution_push_secondsp95 < 60 sCovers OCI/object storage.
exporter_verify_failures_totalAlert on any non-zeroRaised when cosign/Trivy smoke tests fail.
exporter_retention_pruned_totalShould increase nightlyConfirms retention job success.

Dashboards must include:

Alerts (Alertmanager):

4. Routine operations

4.1 Daily checklist

4.2 Weekly tasks

4.3 Pre-release

5. Capacity & scaling

5.1 Worker sizing

5.2 Storage planning

ExportCenter:
  Retention:
    Mirror:
      Mode: days
      Value: 30
    Trivy:
      Mode: count
      Value: 10

6. Failure response

SymptomLikely causeImmediate actionFollow-up
ERR_EXPORT_UNSUPPORTED_SCHEMATrivy schema mismatchPin SchemaVersion to previous value; rerun exportCoordinate with Exporter Guild to add new mapping
ERR_EXPORT_BASE_MISSINGBase manifest unavailableTrigger full export (mirror:full), notify tenantInvestigate storage retention settings
Run stuck in pendingWorker unavailable / queue pausedCheck worker status via OrchestratorScale workers or fix queue
Signing failure (errorCode=signing)KMS outage or permission changeVerify KMS health; retry run; escalate to AuthorityDocument incident, review key rotation schedule
Distribution failure (errorCode=distribution)OCI/object store outageSwitch profile distribution to download-only (distribution: ["http"])Restore distribution backend, resume normal config
CLI verification failure in CINew bundle did not pass cosign or Trivy importInspect pipeline logs; download bundle; rerun verification manuallyEngage Exporter Guild if data quality issue
Retention job skippedScheduler failure or misconfigurationRun retention job manually (stella export retention run)Audit scheduler configuration

Log locations: exporter service emits structured logs with runId, profile, errorCode. For supported deployments, collect logs from Docker Compose or the host service manager.

7. Recovery playbooks

7.1 Replaying a failed run

  1. Identify run (runId) and root cause via GET /api/export/runs/{id}.
  2. If configuration changed, clone profile and adjust settings.
  3. Resubmit run (stella export run submit or API) with --allow-empty if intentionally empty.
  4. Monitor SSE stream or stella export run watch.
  5. After success, prune failed run data if necessary.

7.2 Restoring from previous full bundle

  1. Locate last successful full bundle (mirror:full) and associated manifest.
  2. Download and verify signatures.
  3. Extract into mirror staging area.
  4. Apply subsequent delta bundles in order.
  5. Trigger mirror verification script (mirror verify <path>).

7.3 KMS outage response

  1. Disable new export submissions temporarily (set per-tenant quota to 0).
  2. Coordinate with Authority Core to restore KMS.
  3. Once KMS back, run stella export run submit --profile <id> --selectors ... --priority catch-up for affected tenants.

8. Verification workflow

All bundles must pass both signature and content verification.

8.1 Trivy bundle validation (CI job)

cosign verify-blob \
  --key tenants/acme/export-center.pub \
  --signature signatures/trivy-db.sig \
  trivy/db.bundle

trivy module db import trivy/db.bundle --cache-dir /tmp/trivy-cache

Automation: DEVOPS-EXPORT-36-001 ensures this runs on every pipeline.

8.2 Mirror bundle validation

cosign verify-blob \
  --key tenants/acme/export-center.pub \
  --signature signatures/export.sig \
  mirror/export.json

./offline-kit/bin/mirror verify mirror-20251029-full.tar.zst

If encryption enabled, decrypt using age or AES key before verification.

9. Change management

10. References