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

aarch64 (Raspberry pi) fails to install podman container to network, error: rootless-podman-network-sandbox #8411

Closed
rupert160 opened this issue Nov 19, 2020 · 9 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. rootless stale-issue

Comments

@rupert160
Copy link

Can somebody explain why podman networking fails to connect my container to the virtual network?
Fedora 33 aarch64, the following works fine:

podman run -dt --name hello-nginx nginx

However creating a container within a pod does not work:

podman network create podnet1 --subnet 192.168.0.1/24 --driver bridge

podman pod create --replace \
	--publish 53/tcp,53/udp,67/udp,80/tcp,443/tcp \
	--hostname ph2 \
	--name ph2 \
	--network podnet1

podman run -dt --pod ph2 --name hello-nginx2 nginx

ERRO[0000] error starting some container dependencies
ERRO[0000] "cannot find rootless-podman-network-sandbox image for arm"
Error: error starting some containers: internal libpod error

additionally attaching a container to the same podnet1 network fails

podman run -dt --network podnet1 --name hello-nginx2 --publish 8080:80/tcp nginx

Error: cannot find rootless-podman-network-sandbox image for arm

It would appear that https://github.com/AkihiroSuda/podman-network-create-for-rootless-podman
has not been created for ARM or aarch64 - but I'm not sure. I cannot pull this image at least.

@mheon
Copy link
Member

mheon commented Nov 19, 2020

I'm pretty sure we're maintaining this one ourselves in Quay - @AkihiroSuda correct?
@TomSweeneyRedHat Do you know what architectures Quay builds us for by default?

@AkihiroSuda
Copy link
Collaborator

It is built manually, only for amd64 currently

@AkihiroSuda AkihiroSuda added kind/feature Categorizes issue or PR as related to a new feature. rootless labels Nov 19, 2020
@TomSweeneyRedHat
Copy link
Member

@mheon, not ours on quay yet. @barthy1 built Skopeo images with different arch types for us in quay. I can't check at the moment as quay isn't happy, but I'm pretty sure our Podman images there by default are X86_64 as that's what they're built on.

@barthy1
Copy link

barthy1 commented Nov 19, 2020

looks like update here is required to support other archs. So far only amd64 version is available

@barthy1
Copy link

barthy1 commented Nov 19, 2020

and of course multi-arch build of quay.io/libpod/rootless-cni-infra is requried

@rupert160
Copy link
Author

rupert160 commented Nov 20, 2020

Thanks @barthy1 - I've tried to podman pull quay.io/libpod/rootless-cni-infra but the container can't be found... is this what you meant? Hence podman build -t rootless-podman-network-sandbox rootless-podman-network-sandbox will never work it seems as golang:1.15-alpine3.12 can't be found. Might have to wait for the pro's to host the aarch64 version.

Error: unable to pull quay.io/libpod/rootless-cni-infra: Error initializing source docker://quay.io/libpod/rootless-cni-infra:latest: Error reading manifest latest in quay.io/libpod/rootless-cni-infra: manifest unknown: manifest unknown

Thanks for helping!

@barthy1
Copy link

barthy1 commented Nov 20, 2020

@rupert160

  1. you have manifest unknown error because quay.io/libpod/rootless-cni-infra image has no latest tag. Just use it as a link and you can see all available tags
  2. Anyway, at this moment this image(all available tags) has only amd64 version. So, you need to wait till @AkihiroSuda kindly publishes versions for other architectures
  3. If you are interested to build image on your own for arm64 arch, you can use as starting point this Containerfile, provided by @AkihiroSuda in the PR
  4. golang:1.15-alpine3.12 seems to be available https://hub.docker.com/_/golang?tab=tags&page=1&name=1.15-alpine3.12

@github-actions
Copy link

A friendly reminder that this issue had no activity for 30 days.

@rhatdan
Copy link
Member

rhatdan commented Dec 21, 2020

I don't believe this is an upstream issue. Reopen if I am mistaken.

@rhatdan rhatdan closed this as completed Dec 21, 2020
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 22, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. rootless stale-issue
Projects
None yet
Development

No branches or pull requests

6 participants