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
Using the rbd
command from the terminal, I can connect both ways; the error occurs only with libvirt.
I’m using the following versions on Debian 12:
libvirtd (libvirt) 9.0.0
QEMU emulator version 7.2.17 (Debian 1:7.2+dfsg-7+deb12u13)
Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers
Thanks.