Files
lmxopcua/docs/plans/evidence/2026-11-13-615-g9/rig/compose.g9.yml
T
Joseph Doherty c9bc358dc9
v2-ci / unit-tests (push) Has been cancelled
feat(cli): print array values; docs: #615 G9 PASS with otopcua-cli, G8 waived
G9 ran on an isolated 2-node pair (otopcua-g9, 003c7f89, Mode unset as
deployed) with otopcua-cli as the owner-approved client: A1-A3, A5, A7, A8
(graceful, ~11 s gap), B2 (docker kill, failover <1 s, ~2 s gap, 0 Bad,
survivor 250 at +44 s) and B3 (no failback) pass; A4/A5b unmet under Unset,
met under Warm (#717). G8 (CTT) waived by the owner for GA; G5 is the only
open exit criterion.

The run found the CLI printing every array as System.String[] (ServerArray
unreadable); ValueFormatter now renders [a, b] / hex for read, subscribe and
historyread, with tests. Runbook A4/A5b text updated for the #717 modes.
Evidence: docs/plans/evidence/2026-11-13-615-g9/RESULTS.md.
2026-11-13 07:46:56 -05:00

103 lines
4.2 KiB
YAML

# Isolated #615 G9 pair (Mode unset = production default). Project otopcua-g9; own network, SQL, volumes, image tag.
name: otopcua-g9
x-host-env: &host-env
OTOPCUA_ROLES: "admin,driver,cluster-MAIN"
ASPNETCORE_URLS: "http://+:9000"
ConnectionStrings__ConfigDb: "Server=sql,1433;Database=OtOpcUa;User Id=sa;Password=OtOpcUa!Dev123;TrustServerCertificate=True;"
Secrets__SqlitePath: "/data/otopcua-secrets.db"
Secrets__Replication__Enabled: "true"
Secrets__Replication__AnnounceInterval: "00:00:05"
ZB_SECRETS_MASTER_KEY: "ZYGhIX0luS/XsevpCB2W18jYHMcqO6AjM9oXy+T6Zp4="
Security__ApiKeys__Pepper: "t13-apikey-pepper-not-for-production"
# LDAP block is validated at boot; it is AdminUI-login only and login is disabled, so point it at loopback
# (nothing here contacts the shared GLAuth).
Security__Ldap__Enabled: "true"
Security__Ldap__DevStubMode: "false"
Security__Ldap__Server: "127.0.0.1"
Security__Ldap__Port: "3893"
Security__Ldap__Transport: "None"
Security__Ldap__AllowInsecure: "true"
Security__Ldap__SearchBase: "dc=zb,dc=local"
Security__Ldap__ServiceAccountDn: "cn=serviceaccount,dc=zb,dc=local"
Security__Ldap__ServiceAccountPassword: "unused"
Cluster__Hostname: "0.0.0.0"
Cluster__Port: "4053"
ConfigServe__GrpcListenPort: "4055"
ConfigServe__ApiKey: "configserve-t13-key"
ConfigSource__Mode: "Direct"
Telemetry__GrpcListenPort: "4056"
Telemetry__Mode: "Grpc"
Telemetry__ApiKey: "telemetry-t13-key"
TelemetryDial__Mode: "Grpc"
TelemetryDial__ApiKey: "telemetry-t13-key"
Cluster__Roles__0: "admin"
Cluster__Roles__1: "driver"
Cluster__Roles__2: "cluster-MAIN"
MeshTransport__Mode: "Grpc"
MeshTransport__GrpcPsk: "t13-mesh-psk-MAIN"
MeshTransport__CentralGrpcEndpoints__0: "http://central-1:4055"
MeshTransport__CentralGrpcEndpoints__1: "http://central-2:4055"
MeshTransport__ClusterPsks__MAIN: "t13-mesh-psk-MAIN"
Security__Jwt__SigningKey: "t13-signing-key-with-at-least-32-bytes-of-utf8-content-12345678"
Security__Jwt__Issuer: "otopcua-t13"
Security__Jwt__Audience: "otopcua-t13"
Security__DeployApiKey: "t13-deploy-key"
Security__Auth__DisableLogin: "true"
Security__Acl__Enabled: "false"
ServerHistorian__Enabled: "false"
ContinuousHistorization__Enabled: "false"
Serilog__MinimumLevel__Override__Microsoft.EntityFrameworkCore: "Warning"
Serilog__MinimumLevel__Override__Microsoft.AspNetCore: "Warning"
LocalDb__Path: "/app/data/otopcua-localdb.db"
Serilog__WriteTo__0__Args__outputTemplate: "[{Timestamp:HH:mm:ss.fff} {Level:u3}] {Message:lj}{NewLine}{Exception}"
services:
sql:
image: mcr.microsoft.com/mssql/server:2022-latest
environment:
ACCEPT_EULA: "Y"
SA_PASSWORD: "OtOpcUa!Dev123"
MSSQL_PID: Developer
ports: ["25339:1433"]
volumes: [g9-mssql-data:/var/opt/mssql]
healthcheck:
test: ["CMD-SHELL", "/opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P 'OtOpcUa!Dev123' -No -Q 'SELECT 1' || exit 1"]
interval: 10s
timeout: 5s
retries: 20
central-1:
image: otopcua-host:${G9_IMAGE:-g9-003c7f89}
mem_limit: 2g
restart: unless-stopped
depends_on: { sql: { condition: service_healthy } }
environment:
<<: *host-env
Cluster__PublicHostname: "central-1"
OpcUa__ApplicationUri: "urn:OtOpcUa:central-1"
OpcUa__PeerApplicationUris__0: "urn:OtOpcUa:central-2"
Cluster__SeedNodes__0: "akka.tcp://otopcua@central-1:4053"
Cluster__SeedNodes__1: "akka.tcp://otopcua@central-2:4053"
ports: ["25840:4840", "29310:9000"]
volumes: [g9-c1:/app/data, g9-c1:/data]
central-2:
image: otopcua-host:${G9_IMAGE:-g9-003c7f89}
mem_limit: 2g
restart: unless-stopped
depends_on: { sql: { condition: service_healthy }, central-1: { condition: service_started } }
environment:
<<: *host-env
Cluster__PublicHostname: "central-2"
OpcUa__ApplicationUri: "urn:OtOpcUa:central-2"
OpcUa__PeerApplicationUris__0: "urn:OtOpcUa:central-1"
Cluster__SeedNodes__0: "akka.tcp://otopcua@central-2:4053"
Cluster__SeedNodes__1: "akka.tcp://otopcua@central-1:4053"
ports: ["25841:4840", "29311:9000"]
volumes: [g9-c2:/app/data, g9-c2:/data]
volumes:
g9-mssql-data:
g9-c1:
g9-c2: