mesa-doc /mesa-pro/docs/runbook
docs

Support runbook (shape)

License

symptomcheckaction
LICENSE_REQUIREDMESA_LICENSE_FILE set?set path; license is a file, not env content
LICENSE_INVALIDmodu license verify <file> --jsoncheck expiry/public key/customer signature
PLUGIN_NOT_LICENSEDlimits.plugins + docs/plans.mdreissue with the right preset/plugin
project quotalimits.projectsraise quota in a new license

Base CLI / contracts

symptomcheckaction
MODU_NOT_FOUNDMESA_MODU_BIN/PATHpoint to built base CLI
contracts mismatchmodu contract --jsoninstall pinned release; rebuild base contracts in dev
e2e contract import failscontracts dist built?npm -w @modu/contracts run build in base

MCP

symptomcheckaction
APPLY_DISABLEDMESA_MCP_ALLOW_APPLYset only after explicit confirmation
tool missinglicense pluginreissue or use tools/list
stdio invalidstdout pollutiondiagnostics must go to stderr

Control plane

symptomcheckaction
UNAUTHORIZED from clienttoken in MESA_CONTROL_PLANE_TOKEN matches an enabled rowmesa-control-plane token issue --license-serial <serial>; rotate with token disable --token <raw> then reissue
QUOTA_EXCEEDED but customer says quota was raisedlicense in CP still has old limits_jsonre-import the new license (license import); serial must match
SYNC_UNAVAILABLE on every createserver down / TLS / portmesa-control-plane health; check reverse proxy; creation stays blocked (fail closed), reads unaffected
LICENSE_REVOKED after revocation was meant to be liftedrevocation is explicitimport a new serial; re-import of a revoked serial is refused by design
cache/server driftmesa-project reconcileread-only report; fix by releasing/re-reserving, never by hand-editing the registry
disk full / corrupt DBserver refuses to start (fail closed)restore from backup: stop server, cp backup.db control.db (+ -wal/-shm removed), health to verify

Ops drills:

  • Backup: mesa-control-plane backup --out /var/backups/control-$(date +%F).db (online, cronable).
  • Restore drill (quarterly): stop serve → replace db from backup → start serve → health shows expected license/project counts → one mesa-project create against a scratch license.
  • Token rotation: token issue (new token) → update client env → verify entitlements → token disable --token <old raw> (sha256 accepted too).
  • Clock: expiry is judged by the server clock (UTC ISO). Keep NTP on the host; a small skew is tolerated only in the sense that expiry flips exactly at the stored expires_at.

Connectors

symptomcheckaction
PLUGIN_NOT_LICENSEDdatasource.<kind>issue per-kind grant
connector refusesmanifest plugin/kindfix manifest; base modu connector validate
upstream downmesa-datasource healthcheck connector process/upstream; no write fallback

Escalation: capture pro-release.json, license customer/limits (never signature contents), base modu contract --json, and the exact failing command; do not paste private keys.

源文件 · mesa-pro/docs/runbook.md