[Bug 2063456] Re: package cephadm: dependency "cephadmlib" missing
Daniel Brown
2063456 at bugs.launchpad.net
Tue Jul 30 12:33:27 UTC 2024
this is from trying 6.1 "noble-proposed" on an Arm64 system. Its trying
to pull down the AMD64 docker container:
sudo cephadm shell ceph -s
Inferring fsid b7105258-638a-11ee-b38c-bf980c3a0ec9
Inferring config /etc/ceph/ceph.conf
This is a development version of cephadm.
For information regarding the latest stable release:
https://docs.ceph.com/docs/reef/cephadm/install
Non-zero exit code 1 from /usr/bin/docker run --rm --ipc=host --stop-signal=SIGTERM --ulimit nofile=1048576 --net=host --entrypoint stat --init -e CONTAINER_IMAGE=quay.ceph.io/ceph-ci/ceph:main -e NODE_NAME=hc-36c0ddecd544cb8d quay.ceph.io/ceph-ci/ceph:main -c %u %g /var/lib/ceph
stat: stderr Unable to find image 'quay.ceph.io/ceph-ci/ceph:main' locally
stat: stderr main: Pulling from ceph-ci/ceph
stat: stderr 43735fbce921: Pulling fs layer
stat: stderr 7679c4b05544: Pulling fs layer
stat: stderr 43735fbce921: Verifying Checksum
stat: stderr 43735fbce921: Download complete
stat: stderr 43735fbce921: Pull complete
stat: stderr 7679c4b05544: Verifying Checksum
stat: stderr 7679c4b05544: Download complete
stat: stderr 7679c4b05544: Pull complete
stat: stderr Digest: sha256:e7e652f9de2825d155a993aecfce4872bbb0c497a4342127081b529aec0528f5
stat: stderr Status: Downloaded newer image for quay.ceph.io/ceph-ci/ceph:main
stat: stderr WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
stat: stderr [FATAL tini (7)] exec stat failed: Exec format error
ERROR: Failed to extract uid/gid for path /var/lib/ceph: Failed command: /usr/bin/docker run --rm --ipc=host --stop-signal=SIGTERM --ulimit nofile=1048576 --net=host --entrypoint stat --init -e CONTAINER_IMAGE=quay.ceph.io/ceph-ci/ceph:main -e NODE_NAME=hc-36c0ddecd544cb8d quay.ceph.io/ceph-ci/ceph:main -c %u %g /var/lib/ceph
--
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