Commit Graph
2060 Commits
Author SHA1 Message Date
Andrei Kvapil 074725f69c Release v0.39.5 (#1854)
This PR prepares the release `v0.39.5`.
v0.39.5
2026-01-13 08:04:19 +01:00
cozystack-bot ea0abcc465 Prepare release v0.39.5
Signed-off-by: cozystack-bot <217169706+cozystack-bot@users.noreply.github.com>
2026-01-13 01:39:12 +00:00
Andrei Kvapil cf96f19a70 [Backport release-0.39] [linstor] Update piraeus-server patches with critical fixes (#1853)
# Description
Backport of #1850 to `release-0.39`.
2026-01-12 23:24:07 +01:00
Andrei Kvapil 274a3a57a8 [linstor] Update piraeus-server patches with critical fixes
Update piraeus-server patches to address critical production issues:

- Add fix-duplicate-tcp-ports.diff to prevent duplicate TCP ports
  after toggle-disk operations (upstream PR #476)

- Update skip-adjust-when-device-inaccessible.diff with comprehensive
  fixes for resources stuck in StandAlone after reboot, Unknown state
  race condition, and encrypted LUKS resource deletion (upstream PR #477)

```release-note
[linstor] Fix DRBD resources stuck in StandAlone state after reboot and encrypted resource deletion issues
```

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
(cherry picked from commit dc2773ba26)
2026-01-12 22:23:42 +00:00
Andrei Kvapil 5d56029be6 Release v0.39.4 (#1849)
This PR prepares the release `v0.39.4`.
v0.39.4
2026-01-12 11:02:36 +01:00
cozystack-bot 8e9b398a21 Prepare release v0.39.4
Signed-off-by: cozystack-bot <217169706+cozystack-bot@users.noreply.github.com>
2026-01-12 01:38:28 +00:00
Andrei Kvapil 93339820f8 Release v0.39.4 (#1847)
This PR prepares the release `v0.39.4`.
2026-01-10 03:55:57 +01:00
cozystack-bot 909997da1d Prepare release v0.39.4
Signed-off-by: cozystack-bot <217169706+cozystack-bot@users.noreply.github.com>
2026-01-10 01:36:19 +00:00
Andrei Kvapil 98cab21ab8 [0.39][paas-full] Add multus dependencies similar to other CNIs (#1835)
## What this PR does
Adds multus as a dependency as other CNIs

### Release note
```release-note
Adds multus as a dependency as other CNIs
```
2026-01-09 21:58:31 +01:00
nbykov0 ce6ec2c0bb [paas-full] Add multus dependency as other CNIs
Signed-off-by: nbykov0 <166552198+nbykov0@users.noreply.github.com>
2026-01-09 20:03:14 +03:00
Andrei Kvapil d90882c4af Release v0.39.3 (#1821)
This PR prepares the release `v0.39.3`.
v0.39.3
2026-01-09 10:06:52 +01:00
cozystack-bot cbe36e4ccf Prepare release v0.39.3
Signed-off-by: cozystack-bot <217169706+cozystack-bot@users.noreply.github.com>
2026-01-09 01:33:57 +00:00
Andrei Kvapil ee600b0ce6 [multus] Remove memory limit (#1834)
Removes multus memory limit due to short but unpredictable and large
memory consumption in some cases, such as starting up after a node
reboot (reported up to 3Gi).
The root cause will be fixed in future releases.

```release-note
Multus memory limit removed.
```

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

* **Chores**
* Updated Multus system namespace configuration and DaemonSet naming for
improved environment organization.
* Adjusted container resource allocation: increased memory requests and
refined memory limits for optimized performance.
* Updated deployment template specifications to reflect infrastructure
changes.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-01-08 23:24:01 +01:00
Andrei Kvapil 2282afcd6a [Backport release-0.39] [linstor] fix: prevent DRBD device race condition in updateDiscGran (#1836)
# Description
Backport of #1829 to `release-0.39`.
2026-01-08 21:05:49 +01:00
Andrei Kvapil 8298763562 [Backport release-0.39] [kube-ovn] Update to v1.14.25 (#1837)
# Description
Backport of #1819 to `release-0.39`.
2026-01-08 21:05:35 +01:00
Andrei Kvapil 3028dc9f1a feat(kubeovn): update to v1.14.25
Update kube-ovn from v1.14.11 to v1.14.25.
Sync chart templates with upstream changes.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
(cherry picked from commit d73773eaa1)
2026-01-08 20:05:03 +00:00
Andrei Kvapil 3ab4707c6a fix(linstor): update skip-adjust-when-device-inaccessible patch
Add physical device path existence check to prevent race condition where
lsblk is called before kernel creates DRBD device node after drbdadm adjust.

This fixes issue where resources ended up in Unknown state after satellite
restart because:
- drbdadm adjust completes successfully (brings devices up)
- updateDiscGran() immediately tries lsblk
- /dev/drbd* doesn't exist yet (kernel hasn't created node)
- lsblk fails with "not a block device" exit code 32
- StorageException interrupts DeviceManager cycle
- Device remains in incomplete state

The patch now checks Files.exists(devicePath) before lsblk, allowing
the check to be retried in next cycle when device node is available.

Upstream: https://github.com/LINBIT/linstor-server/pull/471

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
(cherry picked from commit a2a0747142)
2026-01-08 20:04:52 +00:00
Nikita 17966bfba1 [Backport release-0.39] [seaweedfs] Traffic locality (#1830)
# Description
Backport of #1748 to `release-0.39`.
2026-01-08 15:57:31 +03:00
nbykov0 a9de6bf07e [seaweed] Use upstream images
Signed-off-by: nbykov0 <166552198+nbykov0@users.noreply.github.com>
(cherry picked from commit bcd4b8976a)
2026-01-08 12:56:44 +00:00
nbykov0 765cffdc66 [seaweed] Update to 4.05
Signed-off-by: nbykov0 <166552198+nbykov0@users.noreply.github.com>
(cherry picked from commit aede1b9217)
2026-01-08 12:56:44 +00:00
nbykov0 48ebe418b2 [seaweedfs] Traffic locality for seaweedfs
Signed-off-by: nbykov0 <166552198+nbykov0@users.noreply.github.com>
(cherry picked from commit 2a8a8a480f)
2026-01-08 12:56:44 +00:00
nbykov0 25f31022f0 [ingress] Add topology anti-affinities
Signed-off-by: nbykov0 <166552198+nbykov0@users.noreply.github.com>
(cherry picked from commit 6ca8011dfa)
2026-01-08 12:56:44 +00:00
Andrei Kvapil 5be383610f [Backport release-0.39] [api, lineage] Tolerate all taints (#1827)
# Description
Backport of #1781 to `release-0.39`.
2026-01-07 16:45:11 +01:00
nbykov0 363c8cf066 [cozystack-api] Tolerate all taints
Signed-off-by: nbykov0 <166552198+nbykov0@users.noreply.github.com>
(cherry picked from commit 4e602fd55d)
2026-01-07 15:02:50 +00:00
nbykov0 8c8ab1f1a0 [lineage-webhook] Tolerate all taints
Signed-off-by: nbykov0 <166552198+nbykov0@users.noreply.github.com>
(cherry picked from commit aa66b8c0d3)
2026-01-07 15:02:50 +00:00
Andrei Kvapil 9405e05185 [Backport release-0.39] fix(linstor): prevent orphaned DRBD devices during toggle-disk retry (#1825)
# Description
Backport of #1823 to `release-0.39`.
2026-01-07 15:13:25 +01:00
Andrei Kvapil 0aee5b4dfa fix(linstor): prevent orphaned DRBD devices during toggle-disk retry
The previous retry logic in toggle-disk removed layer data from controller DB
and recreated it. However, removeLayerData() only deletes from the database
without calling drbdadm down on the satellite, leaving orphaned DRBD devices
in the kernel that occupy ports and block new operations.

This fix changes retry to simply repeat the operation with existing layer data,
allowing the satellite to handle it idempotently.

Upstream: https://github.com/LINBIT/linstor-server/pull/475

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
(cherry picked from commit 8151e1e41a)
2026-01-07 14:00:22 +00:00
Andrei Kvapil 8373a8cb3f [Backport release-0.39] [linstor] Build linstor-server with custom patches (#1818)
# Description
Backport of #1726 to `release-0.39`.
2026-01-06 16:21:22 +01:00
Andrei Kvapil cb0e457dda feat(linstor): build linstor-server with custom patches
Add patches for piraeus-server:
- adjust-on-resfile-change: handle resource file changes
- allow-toggle-disk-retry: enable disk operation retries
- force-metadata-check-on-disk-add: verify metadata on disk addition

Update plunger-satellite script and values.yaml for new build.

Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
(cherry picked from commit daa91fd2f3)
2026-01-06 15:19:26 +00:00
Andrei Kvapil c74b88ce66 [Backport release-0.39] [testing] Add aliases and autocomplete (#1809)
# Description
Backport of #1803 to `release-0.39`.
2026-01-05 20:04:26 +01:00
Timofei Larkin 07982b2646 [testing] Add aliases and autocomplete
## What this PR does

Adds a `k=kubectl` alias and bash completion for kubectl to the
e2e-testing sandbox container to maintainers have an easier time
exec'ing into the CI container when something needs to be debugged.

### Release note

```release-note
[testing] Add k=kubectl alias and enable kubectl completion in the CI
container.
```

Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
(cherry picked from commit bf1928c96f)
2026-01-05 18:48:14 +00:00
Andrei Kvapil d80ea29dfa [Backport release-0.39] [kubernetes] Fix endpoints for cilium-gateway (#1808)
# Description
Backport of #1729 to `release-0.39`.
2026-01-05 18:12:34 +01:00
Andrei Kvapil 143da399ff [kubernetes] Fix endpoints for cilium-gateway
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
(cherry picked from commit f59665208c)
2026-01-05 17:11:56 +00:00
Timofei Larkin ad3bff6692 [kubeovn] Package from external repo (#1535)
Previously, all system charts have had their versions bumped with every
update of Cozystack, even if the underlying images and templates did not
change. Additionally, some components would have their docker images
rebuilt and get updated digests because of a changed docker context,
even though no relevant code had been changed. This would cause an
upgrade of several HelmReleases on every upgrade of Cozystack, even when
in practice nothing had changed. This is especially noticeable for
charts, such as kubeovn, which is a dependency for almost all other
system HelmReleases. By moving kubeovn out of the monorepo and
decoupling its release cycle from the release cycle of Cozystack, this
issue can be resolved and is another step towards decomposing Cozystack.

```release-note
[kubeovn] Decouple the release cycle of kubeovn from Cozystack's release
cycle, preventing unnecessary redeployments of all Helm releases, when
upgrading Cozystack.
```
2026-01-05 18:05:50 +01:00
Andrei Kvapil f1852ca841 [Backport release-0.39] [kubevirt-operator] Revert incorrect case change in VM alerts (#1806)
# Description
Backport of #1804 to `release-0.39`.
2026-01-05 16:29:11 +01:00
Aleksei Sviridkin 5914515371 [kubevirt-operator] Revert incorrect case change in VM alerts
Revert PR #1770 which incorrectly changed status check from lowercase
to uppercase. The actual metrics use lowercase:
- kubevirt_vm_info uses status="running" (not "Running")
- kubevirt_vmi_info uses phase="running" (not "Running")

Verified by querying virt-controller metrics in instories cluster.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
(cherry picked from commit 36836fd84e)
2026-01-05 15:19:59 +00:00
Andrei Kvapil 5be4fc8f40 Release v0.39.2 (#1789)
This PR prepares the release `v0.39.2`.
v0.39.2
2026-01-03 09:57:25 +01:00
cozystack-bot f4ff44a18c Prepare release v0.39.2
Signed-off-by: cozystack-bot <217169706+cozystack-bot@users.noreply.github.com>
2026-01-03 01:38:23 +00:00
Andrei Kvapil 6b5e2e3e77 [Backport release-0.39] [system] Add resource requests and limits to etcd-defrag (#1786)
# Description
Backport of #1785 to `release-0.39`.
2026-01-02 19:13:11 +01:00
Matthieu ROBIN fc84b80b70 Add resource requests and limits to etcd-defrag
Added resource requests and limits for etcd-defrag container.

Signed-off-by: Matthieu ROBIN <info@matthieurobin.com>
(cherry picked from commit 675eaa6178)
2026-01-02 18:12:42 +00:00
Andrei Kvapil 85a0003ffb [Backport release-0.39] [tenant] Run cleanup job from system namespace (#1777)
# Description
Backport of #1774 to `release-0.39`.
2025-12-30 12:05:45 +01:00
Timofei Larkin 7c766fc27d [tenant] Run cleanup job from system namespace
## What this PR does

The Helm hook that creates a job deleting all applications in a tenant
before deleting the tenant itself now runs this job from the cozy-system
namespace. This prevents conflicts with resource quotas (not enough
resources to run cleanup job) without temporary increases of the quota
or similar vulnerability-introducing hacks.

### Release note

```release-note
[tenant] Run cleanup job in system namespace to avoid conflicts on
resource quotas.
```

Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
(cherry picked from commit b94fc6c9c8)
2025-12-30 11:03:18 +00:00
Andrei Kvapil 46d81c806f [Backport release-0.39] [tenant] Allow egress to parent ingress pods (#1776)
# Description
Backport of #1765 to `release-0.39`.
2025-12-30 12:00:19 +01:00
Andrei Kvapil 9300309dfb [Backport release-0.39] [kubevirt-operator] Fix typo in VMNotRunningFor10Minutes alert (#1775)
# Description
Backport of #1770 to `release-0.39`.
2025-12-30 12:00:07 +01:00
Aleksei Sviridkin d90a76bc25 fix(tenant): allow egress to parent ingress pods
Nested Kubernetes clusters with exposeMethod: Proxied cannot reach their
own external domains because the clusterwide egress policy blocks traffic
to ingress pods in parent namespaces.

This breaks cert-manager HTTP-01 self-check and any scenario where pods
need to access services exposed through parent ingress.

Add egress rule allowing traffic to ingress pods (cozystack.io/service:
ingress) in parent namespaces, following the same pattern as existing
vminsert and etcd rules.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
(cherry picked from commit 4dfdbfeb62)
2025-12-30 10:59:45 +00:00
Aleksei Sviridkin 13bfb72ea5 [kubevirt-operator] Fix typo in VMNotRunningFor10Minutes alert
Fix case sensitivity in status check: "running" → "Running".
The metric uses "Running" (capital R), so the lowercase check was
always triggering alerts even for running VMs.

Fixes: https://github.com/cozystack/cozystack/issues/1552

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
(cherry picked from commit 7fab919e07)
2025-12-30 10:58:23 +00:00
Andrei Kvapil 56ed29c7fc [Backport release-0.39] [vm] Always expose VMs with a service (#1751)
# Description
Backport of #1738 to `release-0.39`.
2025-12-24 14:38:37 +01:00
Timofei Larkin 1ffa1ef454 [vm] Always expose VMs with a service
## What this PR does

When VMs are created without a public IP, no service is created for them
and they have no in-cluster DNS name. This PR fixes this and resolves
#1731.

### Release note

```release-note
[vm] Always expose VMs with at least a ClusterIP service.
```

Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
(cherry picked from commit ba50d01877)
2025-12-24 13:10:14 +00:00
Andrei Kvapil 1826858bb0 Release v0.39.1 (#1749)
This PR prepares the release `v0.39.1`.
v0.39.1
2025-12-24 09:16:37 +01:00
cozystack-bot 0e262838d2 Prepare release v0.39.1
Signed-off-by: cozystack-bot <217169706+cozystack-bot@users.noreply.github.com>
2025-12-23 23:26:06 +00:00