Ceph with foreman VMs?

Hi,

I usually create VMs with foreman, but until now I was using a "standard" kvm/libvirt installation : I'd now like to try to deploy VMs which use ceph as a storage backend… can I do that with foreman (provided I define the correct pool in the libvirt hosts) ?

Thanks

Frederic

> I usually create VMs with foreman, but until now I was using a "standard" kvm/libvirt installation : I'd now like to try to deploy VMs which use ceph as a storage backend… can I do that with foreman (provided I define the correct pool in the libvirt hosts) ?

AFAIK I was using LVM pools for some time, there was a bug which was
fixed: Bug #2374: Libvirt host creation fails with LVM storage pool - Foreman

You might get another one, or not. Try it out and report.

··· -- Later, Lukas #lzap Zapletal

Hi,

Almost one year later… I started using ceph yesterday with foreman.

For this to work, I had to tweak the fog library as explained here :
https://github.com/fog/fog/issues/3285

I hoped I could avoid having to deploy a ceph config on the foreman server and that I could tell foreman to create vms using something like this:
<source pool='blk-pool0' volume='blk-pool0-vol0'/>
instead of a " <source file=…" for the disks
(having defined a libvirt ceph pool)

But unfortunately, libvirt (on CentOS 7.2) does not support starting VMs with a "pool=… volume=…" using a rbd pool … that's just unimplemented, what a pitty.
VMs are correctly started/provisioned :]

Regards

-----Message d'origine-----

··· De : foreman-users@googlegroups.com [mailto:foreman-users@googlegroups.com] De la part de Lukas Zapletal Envoyé : jeudi 9 avril 2015 13:09 À : foreman-users@googlegroups.com Objet : Re: [foreman-users] ceph with foreman VMs ?

I usually create VMs with foreman, but until now I was using a “standard” kvm/libvirt installation : I’d now like to try to deploy VMs which use ceph as a storage backend… can I do that with foreman (provided I define the correct pool in the libvirt hosts) ?

AFAIK I was using LVM pools for some time, there was a bug which was
fixed: http://projects.theforeman.org/issues/2374

You might get another one, or not. Try it out and report.


Later,
Lukas #lzap Zapletal


You received this message because you are subscribed to the Google Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.