[Bug 2065867] [NEW] mgr: failed dependency - no module named distutils

James Page 2065867 at bugs.launchpad.net
Thu May 16 09:26:18 UTC 2024


Public bug reported:

When running on noble with the snapshot of squid, the ceph-mgr has
errors on enabling specific modules - volume and dashboard.

$ sudo microceph.ceph status
  cluster:
    id:     4e3ff87c-5320-4494-9d3c-42e69cc11398
    health: HEALTH_WARN
            Module 'volumes' has failed dependency: No module named 'distutils'
            OSD count 0 < osd_pool_default_size 3
 
  services:
    mon: 1 daemons, quorum joplin.glenview.com (age 5s)
    mgr: joplin.glenview.com(active, starting, since 0.942931s)
    osd: 0 osds: 0 up, 0 in
 
  data:
    pools:   0 pools, 0 pgs
    objects: 0 objects, 0 B
    usage:   0 B used, 0 B / 0 B avail
    pgs:   

distutils as a standalone package was removed from noble - the ceph
codebase makes quite a bit of use of distuils still which gets picked up
by the distutils_hack in setuptools but not in the context of the mgr
daemon.

** Affects: ceph (Ubuntu)
     Importance: High
         Status: Triaged

** Affects: ceph (Ubuntu Noble)
     Importance: High
         Status: Triaged

** Affects: ceph (Ubuntu Oracular)
     Importance: High
         Status: Triaged

** Also affects: ceph (Ubuntu Oracular)
   Importance: Undecided
       Status: New

** Also affects: ceph (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Changed in: ceph (Ubuntu Noble)
       Status: New => Triaged

** Changed in: ceph (Ubuntu Oracular)
       Status: New => Triaged

** Changed in: ceph (Ubuntu Noble)
   Importance: Undecided => High

** Changed in: ceph (Ubuntu Oracular)
   Importance: Undecided => High

-- 
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/2065867

Title:
  mgr: failed dependency - no module named distutils

Status in ceph package in Ubuntu:
  Triaged
Status in ceph source package in Noble:
  Triaged
Status in ceph source package in Oracular:
  Triaged

Bug description:
  When running on noble with the snapshot of squid, the ceph-mgr has
  errors on enabling specific modules - volume and dashboard.

  $ sudo microceph.ceph status
    cluster:
      id:     4e3ff87c-5320-4494-9d3c-42e69cc11398
      health: HEALTH_WARN
              Module 'volumes' has failed dependency: No module named 'distutils'
              OSD count 0 < osd_pool_default_size 3
   
    services:
      mon: 1 daemons, quorum joplin.glenview.com (age 5s)
      mgr: joplin.glenview.com(active, starting, since 0.942931s)
      osd: 0 osds: 0 up, 0 in
   
    data:
      pools:   0 pools, 0 pgs
      objects: 0 objects, 0 B
      usage:   0 B used, 0 B / 0 B avail
      pgs:   

  distutils as a standalone package was removed from noble - the ceph
  codebase makes quite a bit of use of distuils still which gets picked
  up by the distutils_hack in setuptools but not in the context of the
  mgr daemon.

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




More information about the Ubuntu-openstack-bugs mailing list