[Bug 2063456] Re: package cephadm: dependency "cephadmlib" missing
Daniel Brown
2063456 at bugs.launchpad.net
Tue Jul 30 13:06:46 UTC 2024
Possible manual workaround for the wrong container architecture - docker
pulled down the quay.ceph.io/ceph-ci/ceph:main-aarch64 container and
tagged it as quay.ceph.io/ceph-ci/ceph:main. Still needs a real fix
though.
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/2063456
Title:
package cephadm: dependency "cephadmlib" missing
Status in ceph package in Ubuntu:
Fix Released
Status in ceph source package in Noble:
Fix Committed
Status in ceph source package in Oracular:
Fix Released
Bug description:
[ Impact ]
cephadm tool is not usable due to files missing from the package.
[ Test Plan ]
sudo apt install cephadm
cephadm bootstrap --mon-ip 10.23.127.2
[ Where problems could occur ]
While fixing the minor packaging issue that causes this problem it was also noticed that the package is architecture any rather than all (and its pure python) so the packaging update includes this as well.
[ Original Bug Report ]
After installing cephadm at least on arm64 cephadmlib is missing.
Traceback (most recent call last):
File "/usr/sbin/cephadm", line 33, in <module>
from cephadmlib.constants import (
ModuleNotFoundError: No module named 'cephadmlib'
Steps to reproduce (on ARM64)
root at ceph-node1:~# apt install -y cephadm
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
bridge-utils containerd dns-root-data dnsmasq-base docker.io pigz runc ubuntu-fan
Suggested packages:
ifupdown aufs-tools cgroupfs-mount | cgroup-lite debootstrap docker-buildx docker-compose-v2
docker-doc rinse zfs-fuse | zfsutils
The following NEW packages will be installed:
bridge-utils cephadm containerd dns-root-data dnsmasq-base docker.io pigz runc ubuntu-fan
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
root at ceph-node1:~# cephadm bootstrap --mon-ip 10.23.127.2
Traceback (most recent call last):
File "/usr/sbin/cephadm", line 33, in <module>
from cephadmlib.constants import (
ModuleNotFoundError: No module named 'cephadmlib'
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: cephadm 19.2.0~git20240301.4c76c50-0ubuntu6
ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
Uname: Linux 6.8.0-31-generic aarch64
ApportVersion: 2.28.1-0ubuntu2
Architecture: arm64
CasperMD5CheckResult: pass
Date: Thu Apr 25 13:49:50 2024
InstallationDate: Installed on 2024-04-25 (0 days ago)
InstallationMedia: Ubuntu-Server 24.04 LTS "Noble Numbat" - Release arm64 (20240423)
ProcEnviron:
LANG=en_US.UTF-8
LC_CTYPE=C.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
SourcePackage: ceph
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/2063456/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list