Files
cozystack/docs/changelogs/v1.7.1.md
T
cozystack-ci[bot] f3bf92acc1 docs: add changelog for v1.7.1
Signed-off-by: cozystack-ci[bot] <274107086+cozystack-ci[bot]@users.noreply.github.com>
2026-11-13 12:57:32 +00:00

14 KiB

Cozystack v1.7.1

Cozystack v1.7.1 is a patch release on the v1.7 line. It fixes the COSI driver bug that could leave freshly granted S3 keys rejected for good, makes marketplace taps digest-pinned, makes MariaDB, PostgreSQL and ClickHouse backups report their real outcome, and repairs several tenant-facing issues: tenant cluster metrics, SecurityGroups on Kubernetes workers, Redis with a single replica, the Proxmox cloud-controller-manager and the tcp-balancer. Read the Migration and Upgrades section before upgrading.

Fixes

  • SeaweedFS COSI driver v0.4.0: bucket users granted together could get S3 keys that never work (403 InvalidAccessKeyId) because the v0.3.1 driver rewrote a legacy IAM file the S3 gateways were migrating. The driver is bumped to v0.4.0, which writes each grant to a per-identity IAM file. Keys already lost on running clusters stay broken: remove the user from the Bucket, wait until its BucketAccess is gone, and add it back (@myasnikovdaniil in #5284, backport #5290).
  • Marketplace taps are pinned to a digest: a tapped repository no longer follows a mutable tag, so moving the tag upstream cannot change what runs in the cluster. tap connect accepts oci://...@sha256:... references and an optional keyless cosign verify policy, anchored to an exact identity and preserved across re-connects; with the verify flags the CLI verifies the signature and pins the verified digest at tap time. Community index entries can record a digest too (@IvanHunters in #5082, backport #5246).
  • Tenant cluster metrics reach the tenant's Monitoring: the vmagent of tenant Kubernetes clusters now writes to the tenant's vminsert and labels series with the owning tenant instead of cozy-monitoring; before, no tenant cluster metric reached the tenant's Monitoring (@mattia-eleuteri in #5024, backport #5246).
  • SecurityGroups apply to Kubernetes worker nodes: the virt-launcher pods of Kubernetes worker nodes are now resolved to their Kubernetes application and marked as managed by Cozystack, so a SecurityGroup attached to a Kubernetes cluster applies to its workers, not only to its control plane (@mattia-eleuteri in #5124, backport #5246).
  • Membership-only SecurityGroups: a SecurityGroup with attachments and no rules no longer leaves an invalid CiliumNetworkPolicy behind; its backing policy is accepted by Cilium and still allows or denies nothing (@mattia-eleuteri in #5133, backport #5246).
  • Proxmox CCM and CSI images: the Proxmox cloud-controller-manager runs v0.16.1 and the Proxmox CCM and CSI driver images are pinned by digest. The v0.15.0 tag was re-pushed upstream to a build that panics on start, which left every new Proxmox worker with the uninitialized taint (@themoriarti in #4917, backport #5246).
  • Autoscaler capacity of KubernetesNodes pools: on the kubevirt substrate the cluster-autoscaler capacity annotation is planned on the cores the VM actually gets, so a leading-zero resources.cpu such as "010" (decoded as YAML, eight cores) no longer yields a wrong capacity. No pool rolls (@themoriarti in #4974, backport #5246).
  • Tenant quota admission counts extended resources: admission now reads the parent pool's usage of extended resources and hugepages under the requests.* key the controller counts, so a child tenant can no longer get a share the parent has already used (@lexfrei in #5184, backport #5246).
  • Postgres backup jobs fail as soon as the CloudNativePG Backup fails: a Postgres BackupJob now fails with the recorded error instead of after 30 minutes, and reports a WaitingForCNPGBackup condition with the Backup's phase while it waits (@scooby87 in #5211, backport #5246).
  • MariaDB backups and restores report real failures: a BackupJob or RestoreJob whose operator Job failed now ends Failed instead of Succeeded, and a failed backup no longer creates a Ready Backup without an archive (@scooby87 in #5207, backport #5246).
  • ClickHouse restores use the right archive: a RestoreJob restores the archive its Backup was taken as, not the newest one. New Backups record the archive name; Backups taken before this release are restored best effort from the newest archive stamped no later than their takenAt, with a warning in the restore pod log. A ClickHouse BackupJob created under a name whose Backup still exists now fails instead of reporting that Backup as its result (@myasnikovdaniil in #5208, backport #5246).
  • Backup S3 endpoint changes are followed: the backup controller re-renders the Velero BSL, the default backup strategies and the platform bucket's credentials Secret when their S3 endpoint is stale, so after the platform bucket's BucketAccess is re-granted for a new publishing.host, backups move to the new endpoint without forcing releases by hand (@scooby87 in #5230, backport #5246).
  • Backup clients run on a dedicated image: the ClickHouse (Altinity) and RabbitMQ backup strategy Pods now run a small backup-http-client image instead of the 349 MB platform-migrations image, so a platform migration change no longer re-digests the backup clients. Air-gapped mirrors need the new ghcr.io/cozystack/cozystack/backup-http-client repository (@androndo in #4756, backport #5246).
  • PostgreSQL system databases: databases refuses postgres, template0 and template1, and the init job never runs DROP DATABASE on them, which used to fail the init job on every upgrade and leave the HelmRelease in UpgradeFailed (@mattia-eleuteri in #5155, backport #5246).
  • PostgreSQL init script is stable: the declared databases render in a stable order, so an upgrade that leaves the databases unchanged no longer rewrites the init-script Secret (@mattia-eleuteri in #5091, backport #5246).
  • Redis with a single replica: an instance with replicas: 1 runs one Sentinel instead of three, without a Sentinel PodDisruptionBudget, so node drains are no longer blocked by it; instances with two replicas or more are unchanged (@mattia-eleuteri in #5151, backport #5246).
  • MariaDB operator on a custom cluster domain: the operator uses the platform's networking.clusterDomain instead of a hard-coded cozy.local, so replication and User/Database/Grant reconciliation work on clusters with a non-default domain (@mattia-eleuteri in #5123, backport #5246).
  • tcp-balancer no longer OOMs: HAProxy takes its fd and thread caps from the replica's own memory and CPU limits instead of the node, so a t1.nano balancer is no longer OOMKilled on nodes with many CPUs (@yankawai in #5005, backport #5246).
  • etcd alert noise: etcdHighNumberOfFailedGRPCRequests counts only the gRPC codes the etcd mixin counts, so the Canceled watch streams of a stopping Kubernetes API server no longer fire it on every member (@yankawai in #4985, backport #5246).
  • Cilium IPAM hook on larger clusters: the hook passes the CiliumNode list to jq on stdin and no longer fails with "Argument list too long" on clusters with more than a few nodes, which blocked the cilium upgrade and every package depending on networking (@myasnikovdaniil in #5212, backport #5246).
  • OIDC bootstrap Job with many users: the Job no longer fails to start for a tenant cluster with about 240 or more oidc.users; the bindings now come from a ConfigMap the Job mounts (@myasnikovdaniil in #5213, backport #5246).
  • Dashboard tenant list links to the tenant page: the tenant name in the tenant list opens its detail page, where Delete lives, and top-level tenants get their Edit button back (@myasnikovdaniil in #4004, backport #5246).
  • Dead registries platform value removed: the platform chart no longer has the registries value or the patch-containerd Secret, which nothing read. Mirrors for tenant workers are the per-pool talos.registryMirrors of KubernetesNodes (@myasnikovdaniil in #5190, backport #5246).

Security

  • Marketplace digest pinning and signature verification: see the marketplace entry under Fixes (#5082).

Development, Testing, and CI/CD

  • Chainsaw asserts survive transient API errors: an e2e assert keeps polling through an error such as an etcd leader change instead of failing the suite early (@lexfrei in #4867, backport #5246).
  • Proxmox e2e hygiene: the Proxmox tenant kubeconfig is kept per run and removed afterwards, the HelmRelease guard reads the KubernetesNodes pool release, and the leak allowlist is validated against every suite layout (@themoriarti in #4971, #4970 and #4972, backports #5246).
  • Frozen-line builds start with GITHUB_TOKEN: the initial packages build dispatched when a release line is frozen now runs (@myasnikovdaniil in #4888, backport #5246).
  • Unit tests after the release image restamp: two unit tests that read fields the release build rewrites stay green on release-1.7; this is a release-branch-only fix (@themoriarti in #5179).

Documentation

Migration and Upgrades

Platform migrations do not change in this release: migrations.targetVersion stays at 61.

  • Remove system databases from PostgreSQL databases before upgrading (#5155). A release that declares postgres, template0 or template1 under databases is refused at render; remove the entry first. A system database a previous version took over is handed back to the superuser on the next upgrade: the event trigger is removed, ownership and the public schema are restored, and its <db>_admin and <db>_readonly roles are dropped.
  • Tenant quota updates can be rejected after upgrading (#5184). Admission now counts the parent's usage of extended resources and hugepages, so an update to an existing tenant can be rejected when its quota for these resources exceeds the parent's remaining budget, including an update that leaves the quota unchanged.
  • Air-gapped mirrors need backup-http-client (#4756). Mirror ghcr.io/cozystack/cozystack/backup-http-client before upgrading, or ClickHouse and RabbitMQ backup Pods cannot pull their image.
  • tcp-balancer pods roll once (#5005). The new HAProxy global section changes the rendered config; maxconn follows the memory limit at about 16 connections per MiB (2035 on t1.nano).
  • Redis scaled to one replica loses its Sentinel PDB (#5151). A post-upgrade hook deletes the Sentinel PodDisruptionBudget the operator created earlier for an instance with replicas: 1; scaling an instance between 1 and 2 replicas scales its Sentinel Deployment between 1 and 3.
  • Backups created by failed MariaDB runs are not cleaned up (#5207). Backups made by failed runs before this fix are not removed; restoring from one can fail or select another dump from the shared prefix.
  • Keys lost to the COSI grant bug stay lost (#5284). Re-add the affected user to the Bucket as described in the Fixes entry.
  • registries in the platform Package is ignored (#5190). A Package that still sets it keeps installing; the patch-containerd Secret in cozy-system is deleted by the release.
  • SecurityGroups now reach Kubernetes workers (#5124). A SecurityGroup attached to a Kubernetes application starts applying to its worker nodes after the upgrade, so review attached groups before upgrading.

Contributors

We'd like to thank all contributors who made this release possible:

Full Changelog: https://github.com/cozystack/cozystack/compare/v1.7.0...v1.7.1