Upgrade Support Boundary
This document is required because the completeness report cannot claim a complete Enterprise operator journey while upgrade remains PARTIAL.
Classifications (binding)
Scroll sideways to see the full table. Use the arrow keys when focused.
| Topic | Classification | Notes |
|---|---|---|
| MIXED_VERSION_SUPPORT | NOT_VERIFIED | Running Agents on a different Manager schema/API generation is not a certified topology |
| ROLLBACK_SUPPORT | NOT_VERIFIED as a product rollback | Recovery = restore a dump taken before migrate, then run matching binaries. Not a one-command rollback |
| DOWNGRADE_SUPPORT | Not supported | Manager -migrate is forward-only |
| DATABASE_BACKWARD_COMPATIBILITY | Not supported | Newer schema is not documented as readable by older Manager binaries |
| AGENT_MANAGER_COMPATIBILITY | NOT_VERIFIED | Heartbeat and rule sync exist; no published compatibility matrix |
In-product updater (zwallctl update / /api/v1/update-campaigns) | NOT_SUPPORTED for production | Implemented; owner/truth: not a production upgrade path |
| Hosting profile transition APIs | NOT_VERIFIED per version pair | Preflight flags exist; use only when the admitted release documents the pair |
Community source rebuild + -migrate | SUPPORTED as the Community path | Backup first |
Enterprise verified-release + --manager-database-only | SUPPORTED as the commercial direction | Path prefixes remain inconsistent; not a production-readiness claim |
What can safely be documented now
Community
- Backup with
backup_db.sh(and verify helper). - Rebuild Manager, Agent, zwallctl, eBPF objects, and web UI from the new source tag you intend to run.
./bin/manager -config <path> -preflight-migrate(validate pending plan, no apply)../bin/manager -config <path> -migrate(forward-only apply, then exit)../bin/manager -config <path> -check-schema.- Restart Manager, then Agents.
- Verify
/health/live,/health/ready, console login, Agent list (3-Agent cap still applies).
Community has no license cobra tree and no update-campaign commands.
Enterprise
- Backup database and license identity files and systemd credentials.
- Stage the new verified release (customer verifier
zwall-release). - Run database admission against the new bundle (
scripts/setup.sh --manager-database-onlyorscripts/install-manager-database.sh) so-preflight-migrate,-migrate, and-check-schemarun from the admitted Manager binary. - Replace Manager/Agent/Hosting artifacts and units from that same admitted release. Do not mix binaries from two bundles.
- Restart units (Hosting: loader then Agent).
- Verify health, login, Agent list, Hosting observation or Virtualization attachment as applicable.
--allow-test-release is disposable non-production only.
Hosting in-place profile transition
Agent flags:
zwall-agent --hosting-upgrade-preflight --config PATH \
--expected-agent-id N \
--compatibility-manifest-sha256 DIGEST \
--agent-artifact-sha256 DIGESTprints UPGRADE_COMPATIBLE or a failure category.
Manager APIs POST/GET /api/v1/agents/:id/hosting-profile-transition and rollback exist. Treat the specific version pair as NOT_VERIFIED unless the admitted release documents it.
What is not a production upgrade path
zwallctl update apply,zwallctl upgrade,zwallctl update rollbackPOST /api/v1/update-campaigns- Signing-key CLI used to feed that updater
- Mixing Community source Manager with Enterprise Hosting Agent
- Skipping database admission on Enterprise
Those commands may exist in the Enterprise cobra tree. They are inventoried so operators are not surprised; they are not the certified path.
Rollback boundary (truthful)
Scroll sideways to see the full table. Use the arrow keys when focused.
| Action | Supported? |
|---|---|
| Restore a pre-migrate dump into an isolated DB and inspect | SCRIPT_EXISTENCE_ONLY (see Backup; certified restore is unresolved) |
| Point a matching old Manager binary at a restored old schema | NOT_VERIFIED as a certified procedure; engineering has not published a rollback matrix |
| Run new Manager against old schema without migrate | NOT_VERIFIED / likely fail -check-schema or runtime validate |
| Run old Manager against new schema | NOT_SUPPORTED (no backward compatibility claim) |
| Product “downgrade channel” | Not supported |
zwallctl update rollback | NOT_SUPPORTED for production (updater) |
If admission fails before -migrate applies, keep the previous binaries. If -migrate has applied, the previous Manager binary is not documented as compatible with the new schema. Recovery is restore-from-backup plus binaries that match that dump, which is not a certified rollback product.
Compatibility notes that remain open
- OS/kernel matrix
- filesystem prefix (
/etc/zcsvs/etc/zwall-managervs/opt/zcs…) - certified upgrade compatibility matrix
- Enterprise uninstall residue
- PostgreSQL 15+ (Community README) vs PostgreSQL 16 observed on Enterprise gates — do not invent a single public PG major
Verification after upgrade (minimum)
GET /health/live→aliveGET /health/ready→readywithdatabaseok- Admin login
GET /api/v1/agents(orzwallctl list-agents)- Virtualization: eBPF health if Enterprise dashboard endpoint is present
- Hosting: loader + Agent active; hosting status; drops remain zero
- Enterprise:
zwallctl license statusif licensed
Related documentation
- Upgrades overview
- Community upgrades
- Enterprise verified-release upgrade steps are provided separately to Enterprise customers.
- Compatibility
- Rollback
- Backup (logical dump scripts; restore/DR contract unresolved)