diff --git a/docs/changelogs/v1.7.2.md b/docs/changelogs/v1.7.2.md index 1c9e450bf..1760c4b43 100644 --- a/docs/changelogs/v1.7.2.md +++ b/docs/changelogs/v1.7.2.md @@ -99,16 +99,17 @@ Cozystack v1.7.2 is a patch release on the v1.7 line. It carries the security re Platform migrations do not change in this release: `migrations.targetVersion` stays at 61. No release of talm, boot-to-talos, cozyhr, cozy-proxy or external-apps-example fell in this period. -* **Talos host nodes need a reboot (#5045).** Upgrade Talos on the host nodes and reboot them; the kernel fix applies only once the new kernel runs. -* **Pods roll on upgrade.** System PostgreSQL databases of Keycloak, Harbor, Grafana, Alerta and SeaweedFS are rolled, replicas first and then the primary restarted in place, with an interruption of a few minutes per database (#5403). Every OpenSearch cluster restarts once (#5373), ClickHouse pods with backups enabled restart once (#5229), and SeaweedFS s3 pods restart once for the gRPC mTLS change (#5228). ingress-nginx controllers roll for the rebuilt image and configuration (#5377, #5436, #5407). -* **Worker pool rollouts need room for one extra VM (#5153, #5399).** A pool short of quota or capacity stalls with the new Machine Pending until room is made or `maxUnavailable` is set to 1. Set it to 1 on a Proxmox pool whose template passes a GPU through, because the chart cannot see that GPU. +* **Talos host nodes need a reboot (#5045).** Upgrade Talos on the host nodes and reboot them; the kernel fix applies only once the new kernel runs. `talm upgrade` drains the node through the cluster's API endpoint before the reboot; when that endpoint (the cluster VIP) is not reachable from the machine running talm, run `kubectl drain ` first, then `talm upgrade --drain=false`, and `kubectl uncordon ` once the node is back. While a node is drained, a two-instance PostgreSQL on the `local` storage class has no `-ro` endpoint. A PostgreSQL with the barman-cloud plugin stops taking writes on primary switchover until the plugin pod, evicted from the same node, is up again, about 70 s in our upgrade test (5 to 15 s for clusters without the plugin). +* **Pods roll on upgrade.** System PostgreSQL databases of Keycloak, Harbor, Grafana, Alerta and SeaweedFS are rolled, replicas first and then the primary restarted in place, with an interruption of a few minutes per database (#5403). Every OpenSearch cluster restarts once (#5373), ClickHouse pods with backups enabled restart once (#5229), and SeaweedFS s3 pods restart once for the gRPC mTLS change (#5228). ingress-nginx controllers roll for the rebuilt image and configuration (#5377, #5436, #5407). Every tenant PostgreSQL whose chart renders the barman-cloud ObjectStore rolls once for the sidecar CPU limit (#5280); in our upgrade test an instance accepted no new connections for about 270 s. Tenant Kubernetes control planes run by Kamaji roll once, about 43 s in our upgrade test. +* **Worker pool rollouts need room for one extra VM (#5153, #5399).** A pool short of quota or capacity stalls with the new Machine Pending until room is made or `maxUnavailable` is set to 1. Set it to 1 on a Proxmox pool whose template passes a GPU through, because the chart cannot see that GPU. In our upgrade test the old worker was drained only after its replacement was Ready: a two-node pool rolled in 9.3 min, with a 6 s gap on a LoadBalancer Service and a 139 s pause of a writer on a PVC while its volume moved to the new worker; a single-node pool rolled in 4.5 min, and a workload without a PodDisruptionBudget whose pods all ran on that node was down for 28 s while they were rescheduled, and a writer on a PVC paused 80 s, with its data intact. Give workloads that must stay up during a pool rollout more than one replica and a PodDisruptionBudget. * **Existing etcd members stay put; stranded members need care (#4986).** Only members created after the upgrade get the new spread. An etcd created while the cluster had fewer nodes than members can leave a recreated member Pending after nodes are added, and the node-local volume rules out the other nodes; replace a stranded member by deleting its `EtcdMember` while the others keep quorum, one at a time. To keep the old behaviour, set `scheduling.globalAppTopologySpreadConstraints` in `spec.components.platform.values` of the `cozystack.cozystack-platform` Package to an entry with `maxSkew: 1`, `topologyKey: kubernetes.io/hostname` and `whenUnsatisfiable: ScheduleAnyway` before upgrading. * **PostgreSQL five-field schedules change meaning (#5119).** A release that already sets five fields gets the standard cron meaning: `0 2 * * *` moves from hourly to daily. Review `backup.schedule` before upgrading. -* **PostgreSQL backup CPU headroom (#5280).** Each instance pod of a tenant with a CPU quota counts 750m more against `limits.cpu`; check the headroom before pods are recreated. Existing ObjectStores pick up the limit at their next backup or HelmRelease upgrade, and running pods at their next restart. +* **PostgreSQL backup CPU headroom (#5280).** Each instance pod of a tenant with a CPU quota counts 750m more against `limits.cpu`; check the headroom before the upgrade, which recreates these pods. * **Velero backups of already failed BackupJobs are deleted (#5364).** To keep one for a manual `velero restore`, copy it before the upgrade. The `backupstrategy-controller` ClusterRole gains `delete` on `deletebackuprequests`. * **Lifecycle enforcement and orphan cleanup in SeaweedFS (#5228, #4915).** Enabling `lifecycle.enabled` makes stored rules apply within minutes and deletes objects they already expired on the first pass, so review existing rules first; each enabled instance gains two small pods and a 1Gi volume on `lifecycle.storageClass` or the cluster default. With `cosi.orphanIdentities` at `auto`, orphaned S3 identities are removed on upgrade unless `filer.grpcHost` is set; set `report` if the filer is reachable from other clusters some other way. * **Tenant super-admins lose direct VirtualMachine writes (#4797).** Automation that creates or edits `kubevirt.io` VirtualMachines as a tenant super-admin must use VMInstance and VMDisk applications instead. * **Direct deletes of tenant namespaces are refused (#5011).** Delete the Tenant instead. +* **Root tenant without ingress (#5226).** If `Tenant/root` has `spec.ingress: false`, set the platform value `ingress.rootEnabled` to `false` to match it. * **tcp-balancer Services lose unused ports (#4965).** Services without `kubernetesAndTalos` no longer publish 6443 and 50000. * **kubevirt-csi RBAC objects are renamed (#5236).** The ClusterRole and ClusterRoleBinding of tenant Kubernetes clusters get namespace- and cluster-specific names. * **Tenant PostgreSQL stays on the v1.7.1 images (#5405 was reverted in #5461).** v1.7.2-rc.1 carried a move of tenant PostgreSQL to patched `standard-trixie` images, taken out again after an upgrade test from v1.7.1 found blockers. Upgrading from v1.7.1 changes no tenant PostgreSQL image, so CVE-2026-116331 remains open for tenant PostgreSQL on v1.7 until the move returns in a later patch. A cluster that ran v1.7.2-rc.1 goes back to the bullseye images on this release without a collation rebuild, so indexes on non-C collations need a `REINDEX`, and a PostGIS extension already updated to 3.7.0 does not load with the 3.6.1 image.