Skip to content

cephadm: require podman >= 2.0.2 - #39007

Merged
sebastian-philipp merged 4 commits into
ceph:masterfrom
mgfritch:cephadm-podman-2.0
Jan 29, 2021
Merged

sebastian-philipp merged 4 commits into
ceph:masterfrom
mgfritch:cephadm-podman-2.0

Conversation

@mgfritch

Copy link
Copy Markdown
Contributor

Fixes: https://tracker.ceph.com/issues/47139
Signed-off-by: Michael Fritch [email protected]

Checklist

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

@mgfritch
mgfritch requested a review from a team as a code owner January 21, 2021 17:53
@mgfritch

mgfritch commented Jan 21, 2021 •

Copy link
Copy Markdown
Contributor Author

Tested on ubuntu bionic, openSUSE tumbleweed, and CentOS 8.0.

Most cephadm commands will require podman >= 2.0:

root@ubuntu:/home/ubuntu# ./cephadm ls
ERROR: podman version 2.0.0 or later is required

check-host will also verify the version:

root@ubuntu:/home/ubuntu# ./cephadm check-host
systemctl is present
lvcreate is present
Unit systemd-timesyncd.service is enabled and running
ERROR: podman version 2.0.0 or later is required

A subsequent run of cephadm prepare-host should pull in the newer version of podman.

@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@smithfarm

Copy link
Copy Markdown
Contributor

In ceph.spec.in we have

Recommends:      podman

and in debian/control we have

Recommends: podman | docker.io

Would it be a good idea for this PR to change that to:

Recommends:    podman >= 2

and

Recommends: podman (>= 2) | docker.io

?

@smithfarm

smithfarm commented Jan 22, 2021 •

Copy link
Copy Markdown
Contributor

RATIONALE: It seems weird for the package manager to install podman as a dependency, only for cephadm to refuse to work with it because the podman version is too old.

@sebastian-philipp sebastian-philipp removed the wip-swagner-testing My Teuthology tests label Jan 22, 2021
consolidate the logic for making a container engine selection

Signed-off-by: Michael Fritch <[email protected]>
Comment thread src/cephadm/cephadm Resolved
@sebastian-philipp
sebastian-philipp merged commit 46188c4 into ceph:master Jan 29, 2021
@mgfritch
mgfritch deleted the cephadm-podman-2.0 branch January 29, 2021 18:08
@mgfritch mgfritch changed the title cephadm: require podman >= 2.0.0 cephadm: require podman >= 2.0.2 Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants