-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
podman build fails in kicbase image #8063
Comments
The workaround is to building using ssh (with This is only a problem when using podman/crio, since building with docker/containerd works OK. It also has an upgrade pending, though. (due to the deb versions unfortunately being pinned down)
|
Most likely need to build a custom .deb for 1.8.2, since the old packages are deleted.
|
Same situation with Ubuntu 20.04 and Podman 1.9.2, so needs a special package.
|
I was able to build my own deb package for ubuntu focal, which fixes the problem.
Only need some suitable place to host the package, so that it can be downloaded:
https://build.opensuse.org/package/show/devel:kubic:libcontainers:stable/podman?rev=137 You need an opensuse account, to log in.
But when those are fixed, it builds easily:
|
https://dl.bintray.com/afbjorklund/podman/pool/main/p/podman/:podman_1.8.2~2_amd64.deb
|
Will try to get this included in 1.11 (with ubuntu 20.04 upgrade) If that new image doesn't make it, they both go in 1.12 instead |
Works OK, with the new kicbase. podman-remote version
Client:
Version: 1.9.2
RemoteAPI Version: 1
Go Version: go1.10.1
OS/Arch: linux/amd64
Server:
Version: 1.8.2
RemoteAPI Version: 1
Go Version: go1.13.8
OS/Arch: linux/amd64
podman-remote build .
STEP 1: FROM busybox
Getting image source signatures
Copying blob sha256:d9cbbca60e5f0fc028b13c01e70e96cc2eefe7858ccc5a33c9a8faa8b03286aa
Copying config sha256:78096d0a54788961ca68393e5f8038704b97d8af374249dc5c8faec1b8045e42
Writing manifest to image destination
Storing signatures
STEP 2: RUN true
STEP 3: COMMIT
--> 2207249a123
2207249a1231ffed51a6be64b21533113f9cc704f3401c1f3dcec5da918c3901 |
Podman 1.9.3 is now available, which fixes this issue.
(and that also means that podman 1.9.2 is unavailable) |
It doesn't work out-of-the-box with the docker driver, but most people use podman with cri-o.
This is due to a different bug, just something for the testers... See #7380 |
Sadly now we might need to downgrade from 2.0.1 to 1.9.3 https://build.opensuse.org/package/show/devel:kubic:libcontainers:stable/podman?rev=285 Will rebuild the package, and I suppose same for cri-o 1.18.2 https://build.opensuse.org/package/show/devel:kubic:libcontainers:stable:cri-o:1.18/cri-o?rev=6 |
Need to build a version for eoan as well, since it is currently broken and since the repo only has podman v2 now.
The old image (v0.0.10) still has podman 1.9.0, which needs to be changed to either 1.8.2 or 1.9.3 for build to work: https://build.opensuse.org/package/show/devel:kubic:libcontainers:stable/podman?rev=137 (podman_1.8.2~2.dsc) https://build.opensuse.org/package/show/devel:kubic:libcontainers:stable/podman?rev=285 (podman_1.9.3~1.dsc) We used 1.8.2 for 1.11 and 1.9.3 for 1.12 git diff -G PODMAN_VERSION v1.11.0 v1.12.0 deploy/iso/minikube-iso/package/podman/
diff --git a/deploy/iso/minikube-iso/package/podman/podman.mk b/deploy/iso/minikube-iso/package/podman/podman.mk
index ccc3af60b..57c2976e2 100644
--- a/deploy/iso/minikube-iso/package/podman/podman.mk
+++ b/deploy/iso/minikube-iso/package/podman/podman.mk
@@ -1,5 +1,5 @@
-PODMAN_VERSION = v1.8.2
-PODMAN_COMMIT = 028e3317eb1494b9b2acba4a0a295df80fae66cc
+PODMAN_VERSION = v1.9.3
+PODMAN_COMMIT = 5d44534fff6877b1cb15b760242279ae6293154c
PODMAN_SITE = https://github.com/containers/libpod/archive
PODMAN_SOURCE = $(PODMAN_VERSION).tar.gz
PODMAN_LICENSE = Apache-2.0
|
The latest/greatest podman for ubuntu, as used in the kicbase, hangs forever when trying to build:
Downgrading to the stable 1.8.2 version as used in the image, makes the build pass correctly again...
The kicbase has the prevision version 1.9.0, but unfortunately upgrading to 1.9.1 didn't work:
Get:1 http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_19.10 podman 1.9.1~1 [21.0 MB]
Setting up podman (1.9.1~1) ...
And the stable versions like 1.6.5 or 1.8.2, are not available for "xUbuntu_19.10" (only RHEL)
https://github.com/containers/libpod/releases/tag/v1.8.2
https://github.com/containers/libpod/releases/tag/v1.6.5
The text was updated successfully, but these errors were encountered: