I have used Ceph/RBD images for libvirt manage KVM virtual machines before. I did this by including the Monitor addresses and Ceph authentication details directly in the <disk> section of the Domain's XML.
I'm trying to add Ceph support to the Kimchi project. They use pools for disk storage. So I attempted to add support for adding pools to Kimchi, and that seems to have worked. The resulting pool definition is such:<pool type='rbd'>
<name>cephpooltest3</name>
<uuid>ed08f580-f841-48cb-ba05-747aef3cee12</uuid>
<capacity unit='bytes'>144881172480</capacity>
<allocation unit='bytes'>114</allocation>
<available unit='bytes'>139953623040</available>
<source>
<host name='192.168.122.254'/>
<host name='192.168.122.253'/>
<host name='192.168.122.252'/>
<name>prod-virt-pool</name>
<auth type='ceph' username='libvirt'>
<secret usage='cephpooltest3'/>
</auth>
</source>
</pool>
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list