directpv icon indicating copy to clipboard operation
directpv copied to clipboard

livenessprobe and csi-node-driver-registrar lack arm64 support

Open htr opened this issue 2 years ago • 5 comments

the images quay.io/minio/livenessprobe and quay.io/minio/csi-node-driver-registrar fail to start in my arm64 with the following error:

standard_init_linux.go:228: exec user process caused: exec format error

comparing the output of docker manifest inspect quay.io/minio/csi-node-driver-registrar:v2.2.0-go1.18 with docker manifest inspect quay.io/minio/directpv:v3.0.1 shows the lack of arm64 support in both livenessprobe and csi-node-driver-registrar images.

htr avatar May 21 '22 23:05 htr

We never built arm64 image for them

harshavardhana avatar May 22 '22 02:05 harshavardhana

@harshavardhana

-- Environment -- Hardware: Raspberry pi 4 OS: Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-1059-raspi aarch64) Kubernetes Version: K3S v1.20

-- Question -- While installing on above environment using command kubectl directpv install. I can't install. Above environment does not worth a try to install? I expected to install with no special action for succeed install. I need advice.

neulchance2 avatar May 22 '22 03:05 neulchance2

We never built arm64 image for them

Are there any differences between quay.io/minio/csi-node-driver-registrar and sig-storage/csi-node-driver-registrar ?

And between minio/livenessprobe and sig-storage/livenessprobe ?

the sig-storage/* images support arm64.

htr avatar May 22 '22 20:05 htr

Mainly because we had to recompile them to fix some Go runtime vulnerabilities.

I shall let @Praveenrajmani why was it decided to use a non upstream build.

harshavardhana avatar May 22 '22 20:05 harshavardhana

And between minio/livenessprobe and sig-storage/livenessprobe ?

There is no any difference, as @harshavardhana explained, we had to recompile it with latest go to fix some vulnerabilities. You can also use the upstream image by editing and applying the yaml generated by kubectl directpv install --dry-run.

The latest side-car versions used are,

csi-provisioner:v2.2.0
csi-node-driver-registrar:v2.2.0
livenessprobe:v2.2.0

Praveenrajmani avatar May 23 '22 03:05 Praveenrajmani