Home / Infrastructure / Incus fleets

Incus fleets

Every container orchestrata uses runs in Incus on this host, openmandriva-x8664. They are grouped into five Incus projects. Three of them are the environments of ADR-0077: prod, test and dev. Each environment has its own bridge and subnet, and network ACLs keep the environments from reaching each other. The fourth project, orchestrata, holds the wiki, a Claude workspace container, a stopped GitLab server and codetools test leftovers. The fifth, pi-workers, exists for pi-task and holds no instances.

All state on this page was measured on 2026-10-23 between 01:15 and 01:25 EDT with read-only commands:

Topology

Diagram infrastructure-incus-fleets-1

The environments

Environment Incus project Bridge Subnet Autostart Owned by OpenTofu Used by
prod default orch-prod-br 10.53.1.0/24 false on all 7 (ADR-0135, measured 2026-10-25) yes the host units in /opt/orchestrata (profile env/prod.env); "since 2026-08-03 never a test target" (infra/README.md)
test orchestrata-test orch-test-br 10.53.2.0/24 false on all 10 yes the authoritative test suite (env/test.env) and the product copy in app
dev orchestrata-dev orch-dev-br 10.53.3.0/24 false on all 3 yes development runs (env/dev.env)
not an environment orchestrata incusbr0 10.222.9.0/24 false on all 10 (measured 2026-10-25) no Wiki.js, the Claude workspace container, codetools tests
not an environment pi-workers not measured not measured no instances no pi-task worker containers (see the pi-task section of Deployment)

Autostart on the test and dev fleets was turned off by hand, to cut CPU load. Mohamed confirmed on 2026-10-22 that he did it; the record of that day dates the change 2026-10-20. On 2026-10-21 at 19:32, a DeepChat session stopped the test and dev fleets. At 01:20 on 2026-10-23, every container in the three environments was running again.

Nothing starts at boot, prod included (ADR-0135, Mohamed 2026-10-25: "deliberate, keep off"). All 30 containers in default, orchestrata, orchestrata-dev and orchestrata-test carry boot.autostart=false. The orchestrata user units are disabled too: a systemctl run from a Konsole window removed their default.target.wants links at 2026-10-24 11:34:03. So after a reboot nothing runs until someone starts it. On 2026-10-24 the T9 drive that holds the pool fell off USB at 18:33:40, and the host rebooted four times. Prod stayed down until it was restored by hand on 2026-10-25: containers started at 10:38, units active at 10:42:23.

orch-up is the one command that starts the system (ADR-0135; built under brief plans/briefs/system-up.md):

Prod: Incus project default

Container IPv4 Image Role Ports (infra/README.md)
orchgraph-coord-1 10.53.1.160 Archlinux Raft coordinator; the routing entry KG_URI=neo4j://10.53.1.160:7691 bolt 7691, mgmt 12121, coordinator 10111
orchgraph-coord-2 10.53.1.109 Archlinux Raft coordinator same
orchgraph-coord-3 10.53.1.198 Archlinux Raft coordinator same
orchgraph-data-1 10.53.1.128 Archlinux data instance (MAIN or REPLICA) bolt 7687, mgmt 13011, monitor 7444, metrics 9091
orchgraph-data-2 10.53.1.123 Archlinux data instance; MAIN at the last backup (2026-10-22 03:00) same
redis-queue 10.53.1.10 Debian bookworm queues, hot storage, broker (REDIS_HOST) 6379
prometheus-metrics 10.53.1.40 Debian bookworm "scrapes the gateway /metrics" 9090

The three prolog-node-* containers that the OpenTofu files still declare were deleted on 2026-10-20 (see Drift). The cluster itself is described on Memgraph HA cluster reference.

Test: Incus project orchestrata-test

Container IPv4 Image Role (from env/test.env)
app 10.53.2.13 (pinned) Archlinux the product copy at /opt/orchestrata: orchestrata-kernel and orchestrata-gateway both active; CXP_GRPC_HOST=10.53.2.13, CXP_WS_URI=ws://10.53.2.13:8765
memgraph 10.53.2.10 Archlinux KG_URI and TEST_MEMGRAPH_URI = bolt://10.53.2.10:7687, database orchkg
memgraph-ha-main 10.53.2.20 Archlinux TEST_MEMGRAPH_HA_MAIN_URI
memgraph-ha-replica 10.53.2.21 Archlinux TEST_MEMGRAPH_HA_REPLICA_URI
redis 10.53.2.11 Debian bookworm REDIS_HOST
prolog 10.53.2.12 Debian bookworm SWI-Prolog node
rh-coord-1, rh-coord-2, rh-coord-3 10.53.2.30 to .32 Archlinux TEST_MEMGRAPH_COORDINATOR_URIS (bolt 7691): a Raft HA test cluster
rh-data-1 10.53.2.33 Archlinux data instance of that test cluster

The product inside app is at 22363abb2, deployed 2026-10-12T13:20:13+00:00. That is 546 commits behind origin/master. See Deployment inventory.

Dev: Incus project orchestrata-dev

Container IPv4 Image Role (from env/dev.env)
memgraph 10.53.3.20 Archlinux KG_URI=bolt://10.53.3.20:7687, database orchkg
redis 10.53.3.21 Debian bookworm REDIS_HOST
prolog 10.53.3.22 Debian bookworm SWI-Prolog node

Incus project orchestrata

Container State IPv4 Image Role
knowledge-wiki RUNNING 10.222.9.101 Debian bookworm Wiki.js 2.5.314 on Node v20.20.2 with PostgreSQL 15. Proxy device 0.0.0.0:3000 to the container's 127.0.0.1:3000. Disk device /host-wiki, read-only, from ~/workspace/knowledge-wiki. See Wiki.js.
claude-orchestrata RUNNING 10.222.9.18 Debian bookworm Claude agent workspace container (the 2026-08 inventory listed it at 10.53.1.12); current use not measured
gitlab-server STOPPED - Ubuntu jammy a local GitLab server; not in use
codetools-bdd-596514, codetools-bdd-601778, codetools-bdd-736890, codetools-ensure-715440, codetools-preexisting-715440 STOPPED - not recorded containers left by codetools Incus tests (the codetools.incus package)
ct-installer-test, ct-prov-e710843a STOPPED - Ubuntu noble containers left by codetools installer and provisioning tests

Seven of the ten containers in this project are stopped test leftovers. They are listed under codetools blockers.

Who owns what

Diagram infrastructure-incus-fleets-2

Drift

The drift gate is scripts/check_infra_drift.py. It runs tofu plan -detailed-exitcode over infra/terraform and checks three bridge keys that the provider never stores. It writes /var/lib/orchestrata/terraform/drift-latest.json. A missing state is a failure, never a skip.

Diagram infrastructure-incus-fleets-3

The last report was written on 2026-10-22 at 19:01:27 UTC:

The three additions are incus_instance.prolog["node-1".."node-3"], which were deleted on the host. The in-place changes were measured on 2026-10-22 with a read-only tofu plan -refresh-only. There are 13 boot.autostart changes from "true" to "false" (3 dev, 9 test and test_app), plus the test project's restricted.devices.disk.paths. Mohamed made these changes by hand to cut CPU load. Reconciling infra/terraform with them is pending.

orchestrata-infra-drift.timer has been disabled since 2026-10-22, so this report is not refreshed. See section 10 of Host services.

Backups

orchgraph-backup.timer runs every day at 03:00. It takes a CREATE SNAPSHOT of every prod orchgraph database and pulls it to /var/lib/orchestrata/backups/orchgraph, keeping 14 runs. On 2026-10-23 the archive held 14 runs, from 20261009-030051 to 20261022-030027, 4.3 GB in all. The latest manifest records the node counts memgraph 19,973 and orchkg 156,953, with MAIN at 10.53.1.123:7687. Nothing backs up the test or dev fleets or the orchestrata project; none was found.

Incus snapshots and image copies follow Mohamed's one-generation rule: keep one generation only, and ask before touching images.

Rules