On Fri, Jun 20, 2025 at 19:55:41 -0300, Rodrigo Prieto wrote:
Hello, I want to connect to an RBD pool specifying the namespace, but
it
doesn’t work. If I connect directly to the pool, it works. For example:
<source protocol="rbd" name="rbd-pool/vm">
But when I try to specify the namespace like this, I cannot connect:
<source protocol="rbd" name="rbd-pool/vm"
namespace="vms">
<source protocol="rbd" name="rbd-pool/vms/vm">
Error al iniciar dominio: error interno: process exited while connecting to
monitor: 2025-06-20T22:54:55.076193Z qemu-system-x86_64: -blockdev
{"driver":"rbd","pool":"rbd-pool","image":"loli/mari","server":[{"host":"ceph-admin","port":"6789"}],"user":"admin","auth-client-required":["cephx","none"],"key-secret":"libvirt-2-storage-auth-secret0","node-name":"libvirt-2-storage","auto-read-only":true,"discard":"unmap"}:
error reading header from loli/mari: No such file or directory
Libvirt indeed doesn't yet support this:
https://gitlab.com/libvirt/libvirt/-/issues/405
I have the patches that were originally posted still around. I'll give
them a look after I finish few things I'm working on to see if they can
be revived.