[Bug 2063456] Re: package cephadm: dependency "cephadmlib" missing
Launchpad Bug Tracker
2063456 at bugs.launchpad.net
Fri May 24 23:45:58 UTC 2024
This bug was fixed in the package ceph -
19.2.0~git20240301.4c76c50-0ubuntu7
---------------
ceph (19.2.0~git20240301.4c76c50-0ubuntu7) oracular; urgency=medium
[ Luciano Lo Giudice]
* d/control: Add python3-{packaging,ceph-common} to (Build-)Depends
as these are undocumented/detected runtime dependencies in
ceph-volume (LP: #2064717).
[ James Page ]
* d/cephadm.install: Install cephadmlib Python module which the
cephadm script uses (LP: #2063456).
* d/control: cephadm linux-any -> all.
* d/gbp.conf: Update for ubuntu/oracular packaging branch.
* d/control: Update Vcs-* to point to Launchpad for Ubuntu packaging.
* d/p/mgr-distutils.patch: Directly use vendored distutils from
setuptools for Python that runs in the mgr daemon (LP: #2065867).
-- James Page <james.page at ubuntu.com> Thu, 23 May 2024 16:30:19 +0100
** Changed in: ceph (Ubuntu Oracular)
Status: Fix Committed => Fix Released
--
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:
Triaged
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