Skip to content
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

No Arm support for the livenessprobe and csi-provisioner images #199

Closed
stuart-c-moore opened this issue May 18, 2021 · 13 comments
Closed
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@stuart-c-moore
Copy link

What happened:

When trying to run the csi-driver-nfs on an Arm system (Raspberry Pi):

Failed to pull image "k8s.gcr.io/sig-storage/livenessprobe:v2.1.0": rpc error: code = NotFound desc = failed to pull and unpack image "k8s.gcr.io/sig-storage/livenessprobe:v2.1.0": no match for platform in manifest: not found

Failed to pull image "k8s.gcr.io/sig-storage/csi-provisioner:v2.1.0": rpc error: code = NotFound desc = failed to pull and unpack image "k8s.gcr.io/sig-storage/csi-provisioner:v2.1.0": no match for platform in manifest: not found

What you expected to happen:

Image should be pulled successfully on arm platforms

How to reproduce it:

On a Raspberry Pi4, Running Raspbian OS 10 (Buster), using the latest version of k3s:

sudo helm repo add csi-driver-nfs https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/charts
sudo helm install csi-driver-nfs csi-driver-nfs/csi-driver-nfs --namespace kube-system

Anything else we need to know?:

Environment:

  • CSI Driver version: latest
  • Kubernetes version (use kubectl version): 1.20.6 (k3s.io)
  • OS (e.g. from /etc/os-release): Raspbian GNU/Linux 10 (buster)
  • Kernel (e.g. uname -a): Linux pik3s-s01 5.10.17-v7l+ #1403 SMP Mon Feb 22 11:33:35 GMT 2021 armv7l GNU/Linux
  • Hardware: Raspberry Pi 4 Model B 8GB
@andyzhangx
Copy link
Member

according to kubernetes-csi/livenessprobe#89 (comment), k8s.gcr.io/sig-storage/livenessprobe:v2.1.0 already supports ARM

@stuart-c-moore
Copy link
Author

So, apparently not:

 $ sudo docker pull k8s.gcr.io/sig-storage/livenessprobe:v2.1.0
v2.1.0: Pulling from sig-storage/livenessprobe
no matching manifest for linux/arm/v7 in the manifest list entries

$ sudo docker pull k8s.gcr.io/sig-storage/csi-provisioner:v2.1.0
v2.1.0: Pulling from sig-storage/csi-provisioner
no matching manifest for linux/arm/v7 in the manifest list entries

Should this issue be moved to the livenessprobe and csi-provisioner repos?

@andyzhangx
Copy link
Member

cc @msau42

@msau42
Copy link
Collaborator

msau42 commented May 19, 2021

When I inspect the image, I do see arm64 manifests:

$ gcrane manifest k8s.gcr.io/sig-storage/csi-provisioner:v2.1.0
{
   "schemaVersion": 2,
   "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
   "manifests": [
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 739,
         "digest": "sha256:dc17308d5e6405307a4c6dc3d019013beecde77818473e428bf2d3b89a7af751",
         "platform": {
            "architecture": "amd64",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 739,
         "digest": "sha256:a2127f719d22f9605eaf730f7a204244c270b5f0a390d69be6eab34d7eedbd78",
         "platform": {
            "architecture": "arm64",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 739,
         "digest": "sha256:0fc862566d4033d992a44f899f61661c1aff1a20cbabc3c6c948d0e6d00be965",
         "platform": {
            "architecture": "ppc64le",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 739,
         "digest": "sha256:6569f5a4627582b5552bec5401d30289715d2194bd322eeed9ed4bfaf2fbd836",
         "platform": {
            "architecture": "s390x",
            "os": "linux"
         }
      }
   ]

@stuart-c-moore
Copy link
Author

ah, I'm not using arm64 though, I'm using armv7. Arm64 support for Raspberry Pi's is still in beta, hence being stuck on armv7 for a while.

Are there any plans to support this?

@msau42
Copy link
Collaborator

msau42 commented May 20, 2021

Our build platforms are listed in https://github.com/kubernetes-csi/csi-release-tools/blob/master/prow.sh#L83. If you would like to help test and add armv7 builds that would be greatly appreciated.

@stuart-c-moore
Copy link
Author

I'm happy to test any new armv7 images, however I have no experience the the build process used in that repo.

Is it just a case of adding linux arm -arm to prow.sh in a PR? (I assume the architecture name is arm, looking at https://golang.org/doc/install/source.

Would it really be as simple as stuart-c-moore/csi-release-tools#1 ?

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Aug 19, 2021
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Sep 18, 2021
@andyzhangx andyzhangx removed the lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. label Sep 18, 2021
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 17, 2021
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Jan 16, 2022
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue or PR with /reopen
  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close

@k8s-ci-robot
Copy link
Contributor

@k8s-triage-robot: Closing this issue.

In response to this:

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue or PR with /reopen
  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

humblec added a commit to humblec/csi-driver-nfs that referenced this issue Sep 23, 2022
d24254f Merge pull request kubernetes-csi#202 from xing-yang/kind_0.14.0
0faa3fc Update to Kind v0.14.0 images
ef4e1b2 Merge pull request kubernetes-csi#201 from xing-yang/add_1.24_image
4ddce25 Add 1.24 Kind image
7fe5149 Merge pull request kubernetes-csi#200 from pohly/bump-kubernetes-version
70915a8 prow.sh: update snapshotter version
31a3f38 Merge pull request kubernetes-csi#199 from pohly/bump-kubernetes-version
7577454 prow.sh: bump Kubernetes to v1.22.0

git-subtree-dir: release-tools
git-subtree-split: d24254f
TerryHowe pushed a commit to TerryHowe/csi-driver-nfs that referenced this issue Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
None yet
Development

No branches or pull requests

5 participants