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

Stop using podman2 for loading and building images for cri-o #11706

Closed
afbjorklund opened this issue Jun 19, 2021 · 9 comments · Fixed by #11704
Closed

Stop using podman2 for loading and building images for cri-o #11706

afbjorklund opened this issue Jun 19, 2021 · 9 comments · Fixed by #11704
Labels
co/runtime/crio CRIO related issues kind/feature Categorizes issue or PR as related to a new feature. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. priority/backlog Higher priority than priority/awaiting-more-evidence.

Comments

@afbjorklund
Copy link
Collaborator

afbjorklund commented Jun 19, 2021

We need to upgrade from podman2 (2.0/2.1/2.2) to one of the podman3 (3.0/3.1/3.2)

Currently using 2.2.1, and upgrading to 3.1.2. The minor versions are not compatible.

Eventually it should be possible to upgrade to 3.2.1, but it is still in "testing" (not "stable")

See https://podman.io/getting-started/installation#linux-distributions for details

RHEL versions (of Podman):

  • v1.6.4
  • v2.0.5
  • v2.1.1
  • v2.2.1
  • v3.0.1
  • v3.2.3
  • v3.3.1
  • v3.4.2

It is possible to use a newer version of podman for running with the podman driver.
But the version of podman-remote needs to match what is running on the machine.

Development is now happening on 4.0.0-dev, which might even will become Podman 4.0.
(Podman 3.0 was the final release for older distributions*, like CentOS 7, Ubuntu 18.04)

* see #10937

@afbjorklund afbjorklund added co/runtime/crio CRIO related issues kind/feature Categorizes issue or PR as related to a new feature. priority/backlog Higher priority than priority/awaiting-more-evidence. labels Jun 19, 2021
@afbjorklund afbjorklund reopened this Jun 21, 2021
@afbjorklund
Copy link
Collaborator Author

#11704 was reverted in #11711

@afbjorklund
Copy link
Collaborator Author

afbjorklund commented Aug 16, 2021

#11727 is re-opened

@afbjorklund
Copy link
Collaborator Author

afbjorklund commented Aug 20, 2021

Podman 3.3.0 is out now, but it is impossible to know which of the podman3 to choose before it will all be podman4.

  • v3.0.1
  • v3.1.2
  • v3.2.3

https://github.com/containers/podman/releases/tag/v3.3.0

@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 Nov 18, 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 Dec 18, 2021
@afbjorklund

This comment was marked as outdated.

@sharifelgamal sharifelgamal added lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. and removed lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. labels Jan 12, 2022
@afbjorklund afbjorklund added this to the 1.27.0-candidate milestone Mar 2, 2022
@afbjorklund
Copy link
Collaborator Author

afbjorklund commented Mar 2, 2022

I think we should update podman to version 3.4.2 (or 3.4.4)

I don't plan on adding podman4 like ever, since it is not needed...

It is mostly about IPv6 support and about breaking the remote API ?

But I think we can drop support for the older distros, that only had 3.0

@afbjorklund
Copy link
Collaborator Author

afbjorklund commented Mar 24, 2022

Finally settled on podman 3.4.2, same as final version for Ubuntu 20.04 (Kubic)

Using minikube for running podman is not recommended, it was mostly for cri-o
It is possible to run containers using sudo podman run, but it is not supported.

There are no plans to add podman 4.0.2, use Podman Machine for that instead ?

@afbjorklund
Copy link
Collaborator Author

Note: it is not possible to use minikube podman-env with a podman4 client.

Error: unable to connect to Podman socket: server API version is too old. Client "4.0.0" server "3.4.2"

You can download compatible podman clients from here:

https://github.com/containers/podman/releases/tag/v3.4.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/runtime/crio CRIO related issues kind/feature Categorizes issue or PR as related to a new feature. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. priority/backlog Higher priority than priority/awaiting-more-evidence.
Projects
None yet
4 participants