OndrejHome / fast-vm

'fast-vm' is a script for defining VMs from images provided in thin LVM pool.
GNU General Public License v3.0
22 stars 14 forks source link

Look at Lago (https://github.com/lago-project/lago) #29

Closed mykaul closed 5 years ago

mykaul commented 6 years ago

Hi,

I bumped into this project by accident. My team developed Lago (https://github.com/lago-project/lago) and it seems to be pretty close. We have opted not to use LVM thin LVs (as it requires setup), but qcow over raw (sparse!) images, which seems like it might be an interesting project for you to compare to.

OndrejHome commented 6 years ago

Hi, Thank you for information on lago, looks interesting and has quite of documentation (+1). The reason for using LVM here was intentional and even despite of "fear to setup LVM thinpool" so far it works nice in many environments I have seen. With QCOW over sparse RAW file I'm not sure if it is possible to discard the unused space - like if it really shrinks when VM issues TRIM command (fstrim) to drive. I would have to check that out. Thank you for inspiration!

OndrejHome commented 6 years ago

Uff, it took me longer that expected to get to this.

After several attempts I was mostly unsuccessful in getting the lago running on CentOS 7.3/7.4. I have tried following the documentation - http://lago.readthedocs.io/en/latest/Installation.html I was using a minimal installation (as selected in installer) of CentOS and trying to run everything as user root - most common scenario for my testing systems. Issues I have hit:

So trying out installation via RPM (successful), I have tried also the http://lago.readthedocs.io/en/latest/Jenkins_Example.html

Some thoughts from initial runs:

I may check later on this for some further comparison to see how this behaves on multi user systems where the data will be shared.

Above is just free form feedback from my testings done so far when getting familiar with lago. My biggest concern why this wouldn't be my tool of choice is that if I loose the directory with VM images and definitions, then VMs are gone - with fast-vm I somehow expect that everything is in LVM that is system-wide and VMs are defined while their data disks in LVM exists. Here they are created more on-demand.

OndrejHome commented 5 years ago

Honestly I didn't have more time to look through this. fast-vm still makes sense to me as it doesn't depend on any python as of now an therefore I would like to keep it as alternative in that way. For people that are unsure if fast-vm is for them and that would like to know about some other projects that are similar I have added link to Lago project in README (commit 53c83e8b007ac7e426d5cf372dd1015a90b24704). Thank you @mykaul for bringing this to my attention. I will close this issue now.