Unable to migrate LXD 5.21 with microceph to Incus 6.0

Can you try installing the ceph-common package on your systems if you don’t have it already?

Then once that’s there, you’ll want to make sure that the ceph and rbd commands are handled by that package and not microceph, I haven’t used snaps in a little while but there may be a snap unalias ceph and snap unalias rbd command you can use?

Basically the goal is to keep microceph working internally the way it is, but have normal ceph and rbd commands that do not rely on the snap. Those will then read from /etc/ceph, so you’ll need to make sure you have a /etc/ceph/ceph.conf and /etc/ceph/ceph.client.admin.keyring.

You should be able to find the current microceph versions of both of those files somewhere in /var/lib/microceph.

It’s a bit odd that microceph provides the rbd command while being fully aware that rbd map and rbd unmap don’t work due to snap confinement…