** Description changed:

+ [ 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 (
+   File "/usr/sbin/cephadm", line 33, in <module>
+     from cephadmlib.constants import (
  ModuleNotFoundError: No module named 'cephadmlib'
- 
  
  Steps to reproduce (on ARM64)
  
  root@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
+   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
+   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
+   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@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 (
+   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
+  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)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2063456

Title:
  package cephadm: dependency "cephadmlib" missing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/2063456/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to