Skip to content

Commit 03dd779

Browse files
committed
fix(linstor): update piraeus-operator to v2.10.7
The nfs-server DaemonSet runs piraeus-csi-nfs-server v1.10.3, which boots systemd as PID 1 in a privileged container with the host /dev mounted. Its getty units hang up the host's getty@tty1 about a second after the pod starts; systemd restarts the host getty until it hits the start limit and gives up, so login on the local or out-of-band console stops working on nodes that run the NFS server. Seen on bare-metal Ubuntu 24.04 nodes with Cozystack 1.6.5 and 1.7.0. Upstream fixed the image by disabling the services the NFS server does not need (piraeusdatastore/linstor-csi#417, reported as piraeusdatastore/piraeus-operator#961); v1.10.6 includes the fix. v2.10.7 is the newest release on the same 2.10 line whose image set matches what this repository already builds itself: LINSTOR 1.33.3 and LINSTOR CSI v1.11.2, so the nfs-server image now matches the CSI driver. The bump also carries the operator-side NFS server template changes made for those images, which an image-tag override alone would leave behind. CRD changes in this range are descriptions only. The chart is vendored the way `make update` does it, which also drops the stale CRD copy from the vendored chart; piraeus-operator-crds installs the CRDs. Declare the local chart dependency so Helm can validate the umbrella chart without changing its rendered resources. v2.10.7 gives the CSI pods their client certificate as mounted files through LS_USER_CERTIFICATE_FILE and LS_USER_KEY_FILE, instead of inline values in LS_USER_CERTIFICATE and LS_USER_KEY. The linstor-wait-until v0.3.1 in the linstor-csi image is built on a golinstor release that reads only the inline variables, so its init containers present no client certificate, the LINSTOR API closes the TLS connection, and they retry on EOF forever. Move the image to linstor-wait-until v1.0.0, the version upstream linstor-csi v1.11.2 pins. Tested with helm template (nfs-server renders v1.11.2, operator v2.10.7) and make helm-unit-tests. Assisted-by: LLM Signed-off-by: Aleksei Sviridkin <[email protected]>
1 parent 238b3ee commit 03dd779

15 files changed

Lines changed: 137 additions & 2209 deletions

File tree

‎packages/system/linstor/images/linstor-csi/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM --platform=$BUILDPLATFORM golang:1.27@sha256:3680233e3204827fbdc66088528ae6
22
ARG GOPROXY
33

44
ARG VERSION=v1.11.2
5-
ARG LINSTOR_WAIT_UNTIL_VERSION=v0.3.1
5+
ARG LINSTOR_WAIT_UNTIL_VERSION=v1.0.0
66
ARG TARGETARCH
77
ARG TARGETOS
88

‎packages/system/linstor/tests/csi-topology_test.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ tests:
3434
# Until there is, the re-check on a bump is a human obligation, stated in
3535
# templates/cluster.yaml beside the list.
3636
#
37-
# The list was last verified complete against piraeus-operator v2.10.2:
37+
# The list was last verified complete against piraeus-operator v2.10.7:
3838
# eleven upstream flags plus --strict-topology.
3939
- it: the restated argument list is complete
4040
template: templates/cluster.yaml

‎packages/system/piraeus-operator-crds/templates/crds.yaml‎

Lines changed: 30 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -151,13 +151,17 @@ spec:
151151
*SecretName using the issuer configured here.
152152
properties:
153153
group:
154-
description: Group of the resource being referred to.
154+
description: |-
155+
Group of the issuer being referred to.
156+
Defaults to 'cert-manager.io'.
155157
type: string
156158
kind:
157-
description: Kind of the resource being referred to.
159+
description: |-
160+
Kind of the issuer being referred to.
161+
Defaults to 'Issuer'.
158162
type: string
159163
name:
160-
description: Name of the resource being referred to.
164+
description: Name of the issuer being referred to.
161165
type: string
162166
required:
163167
- name
@@ -320,13 +324,17 @@ spec:
320324
issuer configured here.
321325
properties:
322326
group:
323-
description: Group of the resource being referred to.
327+
description: |-
328+
Group of the issuer being referred to.
329+
Defaults to 'cert-manager.io'.
324330
type: string
325331
kind:
326-
description: Kind of the resource being referred to.
332+
description: |-
333+
Kind of the issuer being referred to.
334+
Defaults to 'Issuer'.
327335
type: string
328336
name:
329-
description: Name of the resource being referred to.
337+
description: Name of the issuer being referred to.
330338
type: string
331339
required:
332340
- name
@@ -568,9 +576,10 @@ spec:
568576
operator:
569577
description: |-
570578
Operator represents a key's relationship to the value.
571-
Valid operators are Exists and Equal. Defaults to Equal.
579+
Valid operators are Exists, Equal, Lt, and Gt. Defaults to Equal.
572580
Exists is equivalent to wildcard for value, so that a pod can
573581
tolerate all taints of a particular category.
582+
Lt and Gt perform numeric comparisons (requires feature gate TaintTolerationComparisonOperators).
574583
type: string
575584
tolerationSeconds:
576585
description: |-
@@ -1054,13 +1063,17 @@ spec:
10541063
issuer configured here.
10551064
properties:
10561065
group:
1057-
description: Group of the resource being referred to.
1066+
description: |-
1067+
Group of the issuer being referred to.
1068+
Defaults to 'cert-manager.io'.
10581069
type: string
10591070
kind:
1060-
description: Kind of the resource being referred to.
1071+
description: |-
1072+
Kind of the issuer being referred to.
1073+
Defaults to 'Issuer'.
10611074
type: string
10621075
name:
1063-
description: Name of the resource being referred to.
1076+
description: Name of the issuer being referred to.
10641077
type: string
10651078
required:
10661079
- name
@@ -1762,13 +1775,17 @@ spec:
17621775
issuer configured here.
17631776
properties:
17641777
group:
1765-
description: Group of the resource being referred to.
1778+
description: |-
1779+
Group of the issuer being referred to.
1780+
Defaults to 'cert-manager.io'.
17661781
type: string
17671782
kind:
1768-
description: Kind of the resource being referred to.
1783+
description: |-
1784+
Kind of the issuer being referred to.
1785+
Defaults to 'Issuer'.
17691786
type: string
17701787
name:
1771-
description: Name of the resource being referred to.
1788+
description: Name of the issuer being referred to.
17721789
type: string
17731790
required:
17741791
- name
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
apiVersion: v2
22
name: cozy-piraeus-operator
33
version: 0.0.0 # Placeholder, the actual version will be automatically set during the build process
4+
dependencies:
5+
- name: piraeus
6+
version: "*"
7+
repository: file://charts/piraeus

‎packages/system/piraeus-operator/charts/piraeus/Chart.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: piraeus
33
description: |
44
The Piraeus Operator manages software defined storage clusters using LINSTOR in Kubernetes.
55
type: application
6-
version: 2.10.2
7-
appVersion: "v2.10.2"
6+
version: 2.10.7
7+
appVersion: "v2.10.7"
88
maintainers:
99
- name: Piraeus Datastore
1010
url: https://piraeus.io

‎packages/system/piraeus-operator/charts/piraeus/templates/config.yaml‎

Lines changed: 22 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ apiVersion: v1
33
kind: ConfigMap
44
metadata:
55
name: {{ include "piraeus-operator.fullname" . }}-image-config
6+
namespace: {{ .Release.Namespace }}
67
labels:
78
{{- include "piraeus-operator.labels" . | nindent 4 }}
89
data:
@@ -17,38 +18,38 @@ data:
1718
# quay.io/piraeusdatastore/piraeus-server:v1.24.2
1819
components:
1920
linstor-controller:
20-
tag: v1.32.3
21+
tag: v1.33.3
2122
image: piraeus-server
2223
linstor-satellite:
23-
tag: v1.32.3
24+
tag: v1.33.3
2425
image: piraeus-server
2526
linstor-csi:
26-
tag: v1.10.3
27+
tag: v1.11.2
2728
image: piraeus-csi
2829
nfs-server:
29-
tag: v1.10.3
30+
tag: v1.11.2
3031
image: piraeus-csi-nfs-server
3132
drbd-reactor:
32-
tag: v1.10.0
33+
tag: v1.11.0
3334
image: drbd-reactor
3435
ha-controller:
35-
tag: v1.3.1
36+
tag: v1.3.2
3637
image: piraeus-ha-controller
3738
drbd-shutdown-guard:
38-
tag: v1.1.1
39+
tag: v1.1.2
3940
image: drbd-shutdown-guard
4041
ktls-utils:
4142
tag: v1.2.1
4243
image: ktls-utils
4344
linstor-affinity-controller:
44-
tag: v1.3.0
45+
tag: v1.4.1
4546
image: linstor-affinity-controller
4647
drbd-module-loader:
47-
tag: v9.2.16
48+
tag: v9.3.2
4849
# The special "match" attribute is used to select an image based on the node's reported OS.
4950
# The operator will first check the k8s node's ".status.nodeInfo.osImage" field, and compare it against the list
5051
# here. If one matches, that specific image name will be used instead of the fallback image.
51-
image: drbd9-noble # Fallback image: chose a recent kernel, which can hopefully compile whatever config is actually in use
52+
image: drbd9-resolute # Fallback image: chose a recent kernel, which can hopefully compile whatever config is actually in use
5253
match:
5354
- osImage: Red Hat Enterprise Linux 8\.
5455
image: drbd9-almalinux8
@@ -84,6 +85,10 @@ data:
8485
image: drbd9-jammy
8586
- osImage: Ubuntu 24\.04
8687
image: drbd9-noble
88+
- osImage: Ubuntu 26\.04
89+
image: drbd9-resolute
90+
- osImage: Debian GNU/Linux 13
91+
image: drbd9-trixie
8792
- osImage: Debian GNU/Linux 12
8893
image: drbd9-bookworm
8994
- osImage: Debian GNU/Linux 11
@@ -93,25 +98,25 @@ data:
9398
base: registry.k8s.io/sig-storage
9499
components:
95100
csi-attacher:
96-
tag: v4.10.0
101+
tag: v4.11.0
97102
image: csi-attacher
98103
csi-livenessprobe:
99-
tag: v2.17.0
104+
tag: v2.18.0
100105
image: livenessprobe
101106
csi-provisioner:
102-
tag: v6.1.0
107+
tag: v6.2.0
103108
image: csi-provisioner
104109
csi-snapshotter:
105-
tag: v8.4.0
110+
tag: v8.5.0
106111
image: csi-snapshotter
107112
csi-resizer:
108-
tag: v2.0.0
113+
tag: v2.1.0
109114
image: csi-resizer
110115
csi-external-health-monitor-controller:
111-
tag: v0.16.0
116+
tag: v0.17.0
112117
image: csi-external-health-monitor-controller
113118
csi-node-driver-registrar:
114-
tag: v2.15.0
119+
tag: v2.16.0
115120
image: csi-node-driver-registrar
116121
{{- range $idx, $value := .Values.imageConfigOverride }}
117122
{{ add $idx 1 }}_helm_override.yaml: |

0 commit comments

Comments
 (0)