## What this PR does Backports to `release-1.7` from `main`, picked by the rules of the [backport policy](https://github.com/cozystack/cozystack/blob/main/docs/release/backports.md) in merge order. A merged pull request comes as its own commits, picked with `git cherry-pick -x` so each keeps its author, message and sign-offs, and a merge commit that carries the original's merge message with a `Backported-from:` trailer naming it; a squash-merged one comes as one pick. `backport-batch verify` checks that shape. A pick listed as changed differs from the commit it came from; `git range-diff <merge>^1..<merge>^2 <batch merge>^1..<batch merge>^2` shows how. A conflict or a failing check here is a [backport task](https://github.com/cozystack/cozystack/blob/main/docs/release/backport-tasks/README.md). - [#4756](https://github.com/cozystack/cozystack/pull/4756) `fix(backupstrategy-controller): run backup clients on a package-owned image`, 2 commits, changed in the pick: `48d0cb2958a5` - [#4867](https://github.com/cozystack/cozystack/pull/4867) `fix(e2e): keep chainsaw asserts polling through transient API errors`, 1 commit - [#4888](https://github.com/cozystack/cozystack/pull/4888) `fix(ci): dispatch frozen-line builds with GITHUB_TOKEN`, 1 commit - [#4985](https://github.com/cozystack/cozystack/pull/4985) `fix(etcd): stop counting canceled watch streams as failed gRPC requests`, 1 commit - [#5005](https://github.com/cozystack/cozystack/pull/5005) `fix(tcp-balancer): cap HAProxy fds and threads by the pod's own limits`, 1 commit - [#4917](https://github.com/cozystack/cozystack/pull/4917) `fix(kubernetes): run Proxmox CCM v0.16.1 and pin the Proxmox images by digest`, 2 commits - [#4974](https://github.com/cozystack/cozystack/pull/4974) `fix(kubernetes-nodes): plan autoscaler capacity on the cores the VM actually gets`, 1 commit - [#4971](https://github.com/cozystack/cozystack/pull/4971) `fix(e2e): keep the Proxmox tenant kubeconfig per run and remove it`, 2 commits - [#4970](https://github.com/cozystack/cozystack/pull/4970) `fix(e2e): read the KubernetesNodes pool release in the HelmRelease guard`, 3 commits - [#4972](https://github.com/cozystack/cozystack/pull/4972) `fix(e2e): validate the leak allowlist against every suite layout`, 3 commits - [#5082](https://github.com/cozystack/cozystack/pull/5082) `fix(marketplace): pin a tapped repository to a digest instead of a mutable tag`, 15 commits, changed in the pick: `a31ae9090928`, `b326e0badd62`, `a3d883b4bf5b`, `f8509450f7ca` - [#4004](https://github.com/cozystack/cozystack/pull/4004) `fix(dashboard): link a tenant row to its detail page`, 2 commits - [#5212](https://github.com/cozystack/cozystack/pull/5212) `fix(cilium): pass the CiliumNode list to jq on stdin in the IPAM hook`, 1 commit - [#5213](https://github.com/cozystack/cozystack/pull/5213) `fix(kubernetes): move the OIDC users out of the bootstrap Job's script`, 1 commit - [#5208](https://github.com/cozystack/cozystack/pull/5208) `fix(clickhouse): restore the archive a Backup was taken as`, 3 commits - [#5230](https://github.com/cozystack/cozystack/pull/5230) `fix(backups): re-render the default backup objects when the S3 endpoint changes`, 8 commits - [#5133](https://github.com/cozystack/cozystack/pull/5133) `fix(securitygroups): project a membership-only group to a policy Cilium accepts`, 1 commit - [#5091](https://github.com/cozystack/cozystack/pull/5091) `fix(postgres): render the declared databases in a stable order`, 1 commit - [#5123](https://github.com/cozystack/cozystack/pull/5123) `fix(mariadb-operator): derive the cluster name from the platform domain`, 2 commits - [#5151](https://github.com/cozystack/cozystack/pull/5151) `fix(redis): run one Sentinel when Redis runs a single pod`, 5 commits - [#5124](https://github.com/cozystack/cozystack/pull/5124) `fix(lineage, kubernetes): resolve CAPK node VMs to their cluster`, 2 commits - [#5184](https://github.com/cozystack/cozystack/pull/5184) `fix(api): read pool usage under the quota key the controller counts`, 1 commit - [#5190](https://github.com/cozystack/cozystack/pull/5190) `fix(platform): remove the dead registries value and patch-containerd Secret`, 2 commits - [#5211](https://github.com/cozystack/cozystack/pull/5211) `fix(postgres): fail a backup job as soon as its cnpg Backup fails`, 1 commit - [#5155](https://github.com/cozystack/cozystack/pull/5155) `fix(postgres): refuse system databases and never drop them`, 1 commit - [#5207](https://github.com/cozystack/cozystack/pull/5207) `fix(mariadb): fail backup and restore jobs whose operator Job failed`, 5 commits - [#5024](https://github.com/cozystack/cozystack/pull/5024) `fix(kubernetes, monitoring): send tenant cluster metrics to the tenant's vminsert`, 1 commit ### Maintainer overrides - [#5083](https://github.com/cozystack/cozystack/pull/5083) `fix(workloadmonitor): stop doubling the bucket- prefix in bucket Workload names`: `backport/skip`, left out - [#4973](https://github.com/cozystack/cozystack/pull/4973) `fix(kubernetes-nodes): refuse a partial resources spec on every pool`: `backport/skip`, left out - [#5180](https://github.com/cozystack/cozystack/pull/5180) `fix(tests): keep two unit tests green after the release image restamp`: `backport/skip`, left out ### Skipped - Rule 1, already on `release-1.7`: 19 - Rule 2, the title type is not `fix` or `security`, or the scope is `deps`: 26 - Rule 3, a breaking change: 5 - Rule 4, touches platform migrations, `targetVersion` or a CRD, or makes a sizeable API change: 2 <details><summary>Rule 1, already on `release-1.7`</summary> - [#4815](https://github.com/cozystack/cozystack/pull/4815) `fix(vm-disk): name the importer error in the disk's WorkloadsReady message`, `its 2 commits picked, the last in 432336387019` - [#4293](https://github.com/cozystack/cozystack/pull/4293) `fix(fluxcd): keep Helm uninstall working during flux-plunger recovery`, `its 1 commit picked, the last in 021040795b22` - [#4791](https://github.com/cozystack/cozystack/pull/4791) `fix(kubernetes): keep NFS publish from hanging on a dead server`, `its 1 commit picked, the last in fa88bd1c4902` - [#4830](https://github.com/cozystack/cozystack/pull/4830) `fix(multus): drop the CPU limit and make resources configurable`, `its 2 commits picked, the last in 363c8426bab7` - [#4865](https://github.com/cozystack/cozystack/pull/4865) `fix(kafka): pass the container limits to the Kafka JVMs`, `its 3 commits picked, the last in fc38a540c02f` - [#4866](https://github.com/cozystack/cozystack/pull/4866) `fix(linstor): mark volumes restored from a snapshot DRBD-initialized`, `its 1 commit picked, the last in f9550b71cc24` - [#4819](https://github.com/cozystack/cozystack/pull/4819) `fix(seaweedfs): build SeaweedFS in-tree with a bounded S3 read-ahead`, `its 5 commits picked, the last in 7f4c3463d2a9` - [#3427](https://github.com/cozystack/cozystack/pull/3427) `fix(backups): prepare standalone VMDisk restore targets and add VM backup/restore e2e round-trips`, `its 3 commits picked, the last in 4ac0cd581481` - [#4889](https://github.com/cozystack/cozystack/pull/4889) `fix(monitoring): send alerts to every Alertmanager replica`, `its 1 commit picked, the last in 5033d53410ba` - [#4929](https://github.com/cozystack/cozystack/pull/4929) `fix(backups): gate every default Strategy CR on its CRD`, `its 2 commits picked, the last in dee1eef5590b` - [#4914](https://github.com/cozystack/cozystack/pull/4914) `fix(fluxcd): close the flux-plunger review follow-ups for the hook, drain and Warnings`, `its 7 commits picked, the last in a8e491646a06` - [#4939](https://github.com/cozystack/cozystack/pull/4939) `fix(cluster-api): resync capi-operator every minute`, `its 1 commit picked, the last in cc8d6a4f05a0` - [#5027](https://github.com/cozystack/cozystack/pull/5027) `fix(hack): keep the backup stack in the vminstance selective install`, `its 1 commit picked, the last in 8ba8386a2e5c` - [#4955](https://github.com/cozystack/cozystack/pull/4955) `fix(vm-disk): let CDI adopt the PVC a Velero restore recreates`, `its 2 commits picked, the last in 691d7bce038e` - [#5071](https://github.com/cozystack/cozystack/pull/5071) `fix(marketplace): do not install a connected repository's components on connect`, `its 2 commits picked, the last in 25f8f11187b9` - [#5086](https://github.com/cozystack/cozystack/pull/5086) `fix(tenant): stop the gateway release waiting on TenantGateway listeners and certificates`, `its 1 commit picked, the last in 18b22495038b` - [#5087](https://github.com/cozystack/cozystack/pull/5087) `fix(controller): carry healthCheckExprs and waitStrategy to existing releases`, `its 1 commit picked, the last in d2a452e89067` - [#5088](https://github.com/cozystack/cozystack/pull/5088) `fix(ingress-nginx): drop the admission-webhook policy a rebase brought back`, `its 1 commit picked, the last in cf00b41e0e9a` - [#5142](https://github.com/cozystack/cozystack/pull/5142) `fix(release): keep release bodies within GitHub's size limit`, `its 1 commit picked, the last in c7405158634e` </details> <details><summary>Rule 2, the title type is not `fix` or `security`, or the scope is `deps`</summary> - [#4845](https://github.com/cozystack/cozystack/pull/4845) `docs(governance): welcome new contributors and link LF sanctions guidance`, `type docs` - [#4881](https://github.com/cozystack/cozystack/pull/4881) `feat(bucket): add a ui flag to skip the s3manager web UI`, `type feat` - [#4899](https://github.com/cozystack/cozystack/pull/4899) `chore: link the FOSSA license scan for CLOMonitor`, `type chore` - [#4898](https://github.com/cozystack/cozystack/pull/4898) `feat(backups): back up Valkey with the Redis strategy`, `type feat` - [#4940](https://github.com/cozystack/cozystack/pull/4940) `docs(release): add changelog for v1.6.5`, `type docs` - [#4861](https://github.com/cozystack/cozystack/pull/4861) `feat(release): sign the release assets and attach a source SBOM`, `type feat` - [#3780](https://github.com/cozystack/cozystack/pull/3780) `docs: move the operator guides out of docs/ to where readers find them`, `type docs` - [#4936](https://github.com/cozystack/cozystack/pull/4936) `docs(release): check changelog claims against the code`, `type docs` - [#4959](https://github.com/cozystack/cozystack/pull/4959) `docs(release): point changelog check B at the Talos installer profile`, `type docs` - [#3777](https://github.com/cozystack/cozystack/pull/3777) `docs(agents): define where a new document belongs`, `type docs` - [#5025](https://github.com/cozystack/cozystack/pull/5025) `test(harbor): pin the resources of the nginx proxy and the portal`, `type test` - [#5039](https://github.com/cozystack/cozystack/pull/5039) `feat(keycloak): load additional CA files from Secret or ConfigMap keys`, `type feat` - [#4860](https://github.com/cozystack/cozystack/pull/4860) `feat(kubernetes-nodes): trust a factory CA in the Proxmox template script`, `type feat` - [#5090](https://github.com/cozystack/cozystack/pull/5090) `ci(e2e): end the Proxmox lane's SSH key with a newline`, `type ci` - [#4969](https://github.com/cozystack/cozystack/pull/4969) `test(kubernetes): pin RetryOnFailure on the Proxmox csi release`, `type test` - [#5000](https://github.com/cozystack/cozystack/pull/5000) `test(kubernetes): name the Proxmox fixture's node pool <cluster>-<pool>`, `type test` - [#5168](https://github.com/cozystack/cozystack/pull/5168) `docs(agents): steer agents away from Helm lookup`, `type docs` - [#4997](https://github.com/cozystack/cozystack/pull/4997) `feat(release): attach an SBOM to every release image`, `type feat` - [#3440](https://github.com/cozystack/cozystack/pull/3440) `ci(api-review-gate): publish the gate as a commit status`, `type ci` - [#5034](https://github.com/cozystack/cozystack/pull/5034) `docs: move the repo-only guides onto the website`, `type docs` - [#5215](https://github.com/cozystack/cozystack/pull/5215) `feat(monitoring-agents): export PVC labels from kube-state-metrics`, `type feat` - [#5217](https://github.com/cozystack/cozystack/pull/5217) `feat(monitoring-agents): keep application identity in container log streams`, `type feat` - [#5171](https://github.com/cozystack/cozystack/pull/5171) `feat(api): expose HelmRelease failure state on Application status`, `type feat` - [#5237](https://github.com/cozystack/cozystack/pull/5237) `feat(operator): let the platform source trust a private registry CA`, `type feat` - [#5106](https://github.com/cozystack/cozystack/pull/5106) `feat(release): make backports automatic with backport-batch`, `type feat` - [#4983](https://github.com/cozystack/cozystack/pull/4983) `feat(api): add the reservation evaluator for tenant quotas`, `type feat` </details> <details><summary>Rule 3, a breaking change</summary> - [#4790](https://github.com/cozystack/cozystack/pull/4790) `fix(platform)!: refuse a networking variant change on a live cluster`, `! in the title` - [#4796](https://github.com/cozystack/cozystack/pull/4796) `fix(vm-disk)!: refuse a golden-image clone CDI would leave unbound`, `! in the title` - [#5085](https://github.com/cozystack/cozystack/pull/5085) `fix(kubernetes, opensearch, foundationdb)!: restrict managed application images`, `! in the title` - [#4818](https://github.com/cozystack/cozystack/pull/4818) `fix(keycloak)!: make the KMS proxy keep its keys across restarts`, `! in the title` - [#5167](https://github.com/cozystack/cozystack/pull/5167) `fix(monitoring-agents)!: isolate merged log payload under log_processed`, `! in the title` </details> <details><summary>Rule 4, touches platform migrations, `targetVersion` or a CRD, or makes a sizeable API change</summary> - [#4941](https://github.com/cozystack/cozystack/pull/4941) `fix(backups): keep the backupstrategy-controller Helm release under the Secret size limit`, `a sizeable API change (breaking-change: [v1alpha1] spec.spec.template: field "metadata" was removed, and 5 more), a CRD` - [#5223](https://github.com/cozystack/cozystack/pull/5223) `fix(backups): report sizeBytes for MariaDB and CNPG backup artifacts`, `a CRD` </details> ```backport-batch {"line":"release-1.7","deferred":[]} ``` ### Screenshots See the original pull requests. ### Downstream repositories - [ ] No downstream repository is affected by this change - [ ] [cozystack/website](https://github.com/cozystack/website) - follow-up: - [ ] [cozystack/terraform-provider-cozystack](https://github.com/cozystack/terraform-provider-cozystack) - follow-up: - [ ] [cozystack/ansible-cozystack](https://github.com/cozystack/ansible-cozystack) - follow-up: - [ ] [cozystack/ccp](https://github.com/cozystack/ccp) - follow-up: - [ ] [cozystack/talm](https://github.com/cozystack/talm) - follow-up: - [ ] [cozystack/cozyhr](https://github.com/cozystack/cozyhr) - follow-up: - [ ] [cozystack/cozy-proxy](https://github.com/cozystack/cozy-proxy) - follow-up: - [ ] [cozystack/cozystack-telemetry-server](https://github.com/cozystack/cozystack-telemetry-server) - follow-up: - [ ] [cozystack/external-apps-example](https://github.com/cozystack/external-apps-example) - follow-up: - [ ] [cozystack/examples](https://github.com/cozystack/examples) - follow-up: - [ ] [cozystack/community](https://github.com/cozystack/community) - follow-up: ### Release note ```release-note fix(backupstrategy-controller): the ClickHouse (Altinity) and RabbitMQ backup strategy Pods now run a dedicated `backup-http-client` image (alpine + curl + jq + ca-certificates, non-root, ~7 MB) instead of the 349 MB `platform-migrations` image. Air-gapped mirrors need the new `ghcr.io/cozystack/cozystack/backup-http-client` repository. fix(e2e): a chainsaw assert in the e2e suites keeps polling through a transient API error such as an etcd leader change, instead of failing the suite long before its timeout. fix(ci): use GITHUB_TOKEN to start the initial packages build when freezing a release line fix(etcd): the tenant etcd alert etcdHighNumberOfFailedGRPCRequests now counts only the gRPC codes that the etcd mixin and the platform copy of the alert count, so the Canceled watch streams of a Kubernetes API server that stops no longer fire it on every etcd member. fix(tcp-balancer): HAProxy now takes its fd and thread caps from the replica's memory and CPU limits instead of the node, so a t1.nano balancer is no longer OOMKilled on nodes with many CPUs. maxconn follows the memory limit at about 16 connections per MiB, 2035 on t1.nano, and the pods roll once on upgrade. fix(kubernetes): the Proxmox cloud-controller-manager now runs v0.16.1, and the Proxmox CCM and CSI driver images are pinned by digest. The v0.15.0 tag referenced before was re-pushed upstream to a build that panics on start, which left every new Proxmox worker with the uninitialized taint. fix(marketplace): a tapped repository is pinned to a digest instead of following a mutable tag, so moving the tag upstream no longer changes what runs in the cluster; connect accepts oci://...@sha256:... and an optional keyless cosign verify policy (anchored to an exact identity and preserved across re-connects), and with verify flags the CLI verifies the signature and pins the verified digest at tap time. fix(dashboard): tenant name in the tenant list links to its detail page now (where Delete is), and top level tenants get their Edit button back. fix(cilium): the IPAM migration hook no longer fails with "Argument list too long" on clusters with more than a few nodes, which blocked the cilium upgrade and every package that depends on networking. fix(kubernetes): the OIDC bootstrap 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. fix(clickhouse): a RestoreJob now 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 again under a name whose Backup still exists now fails instead of reporting that Backup as its result. fix(backups): the backup controller now 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. fix(securitygroups): a SecurityGroup with attachments and no rules no longer leaves an invalid CiliumNetworkPolicy behind; its backing policy is now accepted by Cilium and still allows or denies nothing. fix(postgres): the init script renders the declared databases in a stable order, so an upgrade that leaves the databases unchanged no longer rewrites the init-script Secret. fix(mariadb-operator): the MariaDB operator now 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 cluster domain. fix(redis): an instance with `replicas: 1` now runs one Sentinel instead of three, without a Sentinel PodDisruptionBudget; on upgrade, the PDB the operator created earlier is deleted. Instances with two replicas or more are unchanged. fix(lineage, kubernetes): 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 now applies to its worker nodes, not only to its control plane. fix(api): tenant quota admission now counts the parent pool's usage of extended resources and hugepages, so a child tenant can no longer get a share the parent has already used. After upgrading, updates to existing tenants may be rejected if their quota for these resources exceeds the parent's remaining budget. This includes updates that leave the quota unchanged. fix(postgres): a Postgres BackupJob now fails as soon as its CloudNativePG Backup fails, with the recorded error, instead of after 30 minutes, and a BackupJob waiting on a CloudNativePG Backup reports a WaitingForCNPGBackup condition with the Backup's phase. fix(postgres): databases now refuses the PostgreSQL system databases postgres, template0 and template1, and the init job never runs DROP DATABASE on them. A system database a previous version took over is handed back to the superuser on the next upgrade (event trigger removed, ownership and public schema restored, its <db>_admin and <db>_readonly roles dropped). A release that declares one of them must remove the entry before upgrading. fix(mariadb): a MariaDB 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. Backups created by failed runs before this fix are not removed; restoring from one can fail or select another dump from the shared prefix. fix(kubernetes, 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`. Previously no tenant cluster metric reached the tenant's Monitoring. ```
Cozystack
Cozystack is a free and open-source platform and framework for building clouds.
Cozystack is a CNCF Sandbox project that was originally built and sponsored by Ænix.
With Cozystack, you can transform a bunch of servers into an intelligent system with a simple REST API for spawning Kubernetes clusters, Database-as-a-Service, virtual machines, load balancers, HTTP caching services, and other services with ease.
Use Cozystack to build your own cloud or provide a cost-effective development environment.
Use-Cases
-
Using Cozystack to build a public cloud
You can use Cozystack as a backend for a public cloud -
Using Cozystack to build a private cloud
You can use Cozystack as a platform to build a private cloud powered by Infrastructure-as-Code approach -
Using Cozystack to build your own platform
You can install only the Cozystack components you need on an existing Kubernetes cluster
Documentation
The documentation is located on the cozystack.io website.
Read the Getting Started section for a quick start.
If you encounter any difficulties, start with the troubleshooting guide and work your way through the process that we've outlined.
Versioning
Versioning adheres to the Semantic Versioning principles.
A full list of the available releases is available in the GitHub repository's Release section.
Contributions
Contributions are highly appreciated and very welcomed!
In case of bugs, please check if the issue has already been opened by checking the GitHub Issues section. If it isn't, you can open a new one. A detailed report will help us replicate it, assess it, and work on a fix.
You are welcome to take on the fix yourself. Commits are used to generate the changelog, and their author will be referenced in it.
If you have a concrete feature request, open an issue. For a cross-cutting or architectural change, open a design proposal in the community repo. For questions or early ideas, use GitHub Discussions. See CONTRIBUTING.md for the full routing.
Community
You are welcome to join us in #cozystack, on either CNCF Slack (get an invite) or Kubernetes Slack (get an invite), in our Telegram group, and at our community meetings. Add them to your Google Calendar or iCal for convenience.
Project documents
| Document | What it covers |
|---|---|
| Governance | How decisions are made and who makes them |
| Contributor Ladder | How to grow from contributor to maintainer |
| Maintainers | Who maintains the project |
| Code of Conduct | What we expect of each other |
| Security Policy | Reporting a vulnerability, and which releases get fixes |
| Adopters | Who runs Cozystack in production |
| Roadmap | Where the project is going |
License
Cozystack is licensed under Apache 2.0.
The code is provided as-is with no warranties.
Commercial Support
A list of companies providing commercial support for this project can be found on official site.
