rollout: apply the October monitoring, Keycloak and ops changes #834
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
priority
high
priority
low
priority
medium
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-infra#834
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "%!s()"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
Roll out the infra changes merged in #826 to #832 and Keycloak 26.8.1 (bitborg-keycloak#17, image
26.8.1-1). Parked on 2026-10-21.State
bitborg-keycloak:26.8.1-1is released.vault_services_host_private_ip(prod),vault_postgres_monitor_password(prod and staging).26.8.1-1through an extra-var only.keycloak_image_tagingroup_vars/all/vars.ymlis still26.8.0-5, so any staging apply with--tags keycloakand no-e keycloak_image_tag=26.8.1-1downgrades staging. Pin the tag (step 2) before the next staging apply.--tags postgres,monitoring-agent) andKC_HOSTNAME_ADMIN. Thebitborgrealm issuer is unchanged.bootstrap-admin user. Delete it when the console work resumes.Steps
v26.8.1-1.ansible-playbook -i inventory/staging.yml site.yml --tags postgres,monitoring-agent,keycloak -e keycloak_image_tag=26.8.1-1.bitborgissuer unchanged, sign-in works.opentofuclient scope": add the mapping over the API first, then plan and apply the realm (workspace select staging,env/staging.tfvars). A secondplan -detailed-exitcodeexits 0.keycloak_image_tag: "26.8.1-1"ingroup_vars/all/vars.yml(PR).--check --difffirst each time:--tags postgres,monitoring-agent(#459, cgroup memory series for #569).--limit monitoring --tags base,monitoring(#732 nftables, #589/#621/#459 rules, #301 dashboards). Checknft list table inet bitborg | grep 3100shows only the services host, and logs still arrive.--tags keycloak(26.8.1,KC_HOSTNAME_ADMIN). Issuer stayshttps://id.bitborg.se/realms/bitborg.--tags forgejo, addbitborg-ci-logs(read team) andbitborg-artifact-cleanup(write team, Actions unit) to the org, mint PATs (read:repository,read:organizationandwrite:repository,read:organization), vaultvault_forgejo_ci_log_export_tokenandvault_forgejo_artifact_cleanup_token, apply--tags ci-log-export,artifact-cleanup,monitoring. Enableartifact_cleanup_delete_enabledafter one clean dry run.pnpm tofu:plan: no instance change (#611).TOFU_STATE_OFFSITE_REMOTE, then check the nextpnpm tofu:applycopies the state (#470).Do not run
scripts/teardown.sh --yes.State on 2026-11-29:
26.8.2-1(#915, #917). The #800 scope change is on prod: a full realm plan asopentofuis empty.--tags postgres,monitoring-agent: done.pg_upandbitborg_unit_memory_current_bytesreport from bitborg-prod.bitborg_ci_log_export_*orbitborg_artifact_cleanup_*series exist.base,monitoringapply (#732 nftables), staging #800,pnpm tofu:plan(#611), the off-site state copy (#470), #644, and the #569 caps.Remaining scope is the unchecked items above.