ArchipelProject / Archipel

XMPP Based Orchestrator
http://archipelproject.org
GNU Affero General Public License v3.0
800 stars 126 forks source link

Ceph RBD #1177

Closed bdallen closed 8 years ago

bdallen commented 8 years ago

I noticed you have the option for GlusterFS in the GUI for a network URI, any chance this could also implement a Ceph URI to connect the disc to a Ceph RBD. This would be an awesome feature.

As Per - http://docs.ceph.com/docs/hammer/rbd/libvirt/

CyrilPeponnet commented 8 years ago

this should already works if you set as following:

rdb://host:port/libvirt-pool/new-libvirt-image.qcow2

Example for a type disk / qcow2 will generate in xml:

<disk type='network' device='disk'>
      <driver name='qemu' type='qcow2'/>
        <source protocol='rbd' name='libvirt-pool/new-libvirt-image.qcow2'>
                <host name='host' port='port'/>
        </source>
        <target dev='vda' bus='virtio'/>
</disk>

The creation of image is not handle (yet) by Archipel.