Bug #44065
ceph.spec.in wrong cephadm dependency
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
rpm
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
The ceph-mgr-cephadm package requires the cephadm package.
The cephadm package requires the podman package.
As a consequence we're currently installing podman and other container packages in the ceph container (master/octopus)
$ docker run --rm ceph/daemon-base:latest-master-devel podman --version podman version 1.6.4
The ceph-mgr-cephadm package shouldn't require the cephadm package. I thought that cephadm was only used as a CLI tool by users for cluster bootstrap purpose and everything else was using the cephadm orchestrator module.
The cephadm package should only recommend the podman package.
$ docker run --rm ceph/daemon-base:latest-master-devel dnf repoquery --arch x86_64 --arch noarch --requires --resolve podman bash-0:4.4.19-10.el8.x86_64 conmon-2:2.0.6-1.module_el8.1.0+272+3e64ee36.x86_64 container-selinux-2:2.124.0-1.module_el8.1.0+272+3e64ee36.noarch containernetworking-plugins-0:0.8.3-4.module_el8.1.0+272+3e64ee36.x86_64 containers-common-1:0.1.40-8.module_el8.1.0+275+1b647963.x86_64 fuse-overlayfs-0:0.7.2-1.module_el8.1.0+272+3e64ee36.x86_64 glibc-0:2.28-72.el8_1.1.x86_64 gpgme-0:1.10.0-6.el8.0.1.x86_64 iptables-0:1.8.2-16.el8.x86_64 libassuan-0:2.5.1-3.el8.x86_64 libgpg-error-0:1.31-1.el8.x86_64 libseccomp-0:2.4.1-1.el8.x86_64 libvarlink-0:18-3.el8.x86_64 nftables-1:0.9.0-14.el8.x86_64 podman-manpages-0:1.6.4-2.module_el8.1.0+272+3e64ee36.noarch runc-0:1.0.0-64.rc9.module_el8.1.0+272+3e64ee36.x86_64 slirp4netns-0:0.4.2-2.git21fdece.module_el8.1.0+272+3e64ee36.x86_64
This represents around 200Mb additional container size.
$ docker images REPOSITORY TAG IMAGE ID CREATED SIZE ceph/daemon-base latest-master-devel cd34e91cc466 13 hours ago 1.26GB ceph/daemon-base latest-nautilus-devel ad6f4159f297 13 hours ago 833MB
Related issues
History
#1 Updated by Sage Weil about 4 years ago
- Status changed from New to Fix Under Review
- Pull request ID set to 33221
#2 Updated by Kefu Chai about 4 years ago
- Status changed from Fix Under Review to Resolved
#3 Updated by Nathan Cutler over 3 years ago
- Related to Bug #47305: cephadm: podman not optional on SUSE added