Hit this earlier today after `apt upgrade` on trixie. Internet search shows this is the same bug as https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/2080208 https://tracker.ceph.com/issues/68032 https://github.com/ceph/ceph/pull/59739
The launchpad bug states that the ubuntu folks are going to ship ceph-19.2.0 aka "squid" The current trixie ceph version is 18.2.7-1 aka "reef" I manually applied the patch given in the github pulreq, and it fixes the problem. Specifically, I hand-edited /usr/lib/python3/dist-packages/ceph_volume/main.py Note this fix is HIGH PRIORITY or URGENT -- without this, the ceph OSD's do not come up after a reboot. (I rebooted this morning, and that's how I know.) The root problem is that some recent python update breaks dozens of packages (not just ceph) in half-a-dozen different distros. My personal take is to recommend that trixie should pick up ceph-19.2.0 aka "squid" because the ceph folks will mark reef as obsolete before trixie turns into old-stable. -- Linas Vepstas

