Skip to content

local-volume-provisioner for arm #95

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
miguelaeh opened this issue May 5, 2019 · 11 comments · Fixed by #96 or #138
Closed

local-volume-provisioner for arm #95

miguelaeh opened this issue May 5, 2019 · 11 comments · Fixed by #96 or #138

Comments

@miguelaeh
Copy link

Hi,
I need to configure the local-storage-provisioner for an arm cluster, but the quay.io/external_storage/local-volume-provisioner image does not work on arm devices.
Is it possible to do that? And, if it is, how? Can I get the Dockerfile to change the base image or exists any image for that? Thanks.

@cofyc
Copy link
Member

cofyc commented May 5, 2019

Yes, it is possible to do.
We need to build local-volume-provisioner for arm and build an image for it.

Multi-arch images:

  • local-volume-provisioner (current) -> local-volume-provisione-amd64
  • local-volume-provisioner-amd64
  • local-volume-provisioner-arm
  • local-volume-provisioner-arm64
  • local-volume-provisioner-ppc64le (if necessary)
  • local-volume-provisioner-s390x (if necessary)

@miguelaeh
Copy link
Author

miguelaeh commented May 5, 2019

Hi @cofyc,
thanks for your response. I tried with local-volume-provisioner-arm64 but it seems that this image does not exist because I get the following error:
access to the requested resource is not authorized

@cofyc
Copy link
Member

cofyc commented May 5, 2019

sorry, it's not finished yet, can you wait a few days?

@miguelaeh
Copy link
Author

Of course,
sorry I understood that it was already finished.

@cofyc
Copy link
Member

cofyc commented May 13, 2019

@miguelaeh
hi, I've pushed images to my personal repository for testing. Could you try gcr.io/yechengfu-1369/local-volume-provisioner:canary image in your arm cluster and verify if it works?

@miguelaeh
Copy link
Author

Hi @cofyc ,
I will test it as soon as I can.
Thank you very much.

@cofyc
Copy link
Member

cofyc commented May 21, 2019

btw, official canary images have been pushed too, you can try quay.io/external_storage/local-volume-provisioner-arm64:canary instead.

@maitredede
Copy link

Hi @cofyc

I am using the current quay.io/external_storage/local-volume-provisioner:canary (multiarch) on a arm arch. I have exec format error.
How can I be sure the base docker image is the right arch, and check the bin also is ?

@cofyc
Copy link
Member

cofyc commented Aug 15, 2019

using file utility. I've checked it locally, the arch of /local-provisioner is not right. I'll fix it soon.

@cofyc
Copy link
Member

cofyc commented Aug 15, 2019

@maitredede The bug is fixed, please try again.

This command docker run -it --entrypoint sh quay.io/external_storage/local-volume-provisioner:canary -c 'apt-get update && apt-get install -y file && file /local-provisioner' will show the binary information. Can you try it on your arm machine?

@maitredede
Copy link

@cofyc Thanks, it works :)
The binary informations :

/local-provisioner: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, not stripped

For information, it is a Raspberry Pi 4 with Raspbian. The ARCH is arm32v7. I don't know if there can be differences for local-provisioner, but it may be interesting to be more specific on these plateforms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants