Re: libvirt/KVM

2012-06-21 Thread Andy Kurth
I don't have a libvirtlinux OS entry. I use vmwarelinux for KVM-based Linux images. This is what should be set when you capture a base image using vcld --setup. There is no difference among OS modules which point to the same Perl package path. The OS table is actually somewhat of a mess right

Re: libvirt/KVM

2012-06-20 Thread Dmitri Chebotarov
Andy I did 'svn up' and ran install_perl_libs.pl as well. While trying to make reservation still getting an error. Attached is reservation log. I'll try to trace the error, if you see something what causes it, please let me know. I'll try to capture image with new code little later today and

Re: libvirt/KVM

2012-06-20 Thread Andy Kurth
For some reason the OS module for the image being loaded is showing as VCL::Module::Provisioning::libvirt. Check which module centos5image-kvmlinuxv4105-v0 is configured to use in the database: image.OSid -- OS.moduleid -- module.perlpackagepath -Andy On Wed, Jun 20, 2012 at 11:24 AM, Dmitri

Re: libvirt/KVM

2012-06-20 Thread Dmitri Chebotarov
I think I'm missing something here. I fail to understand how KVM-based image is linked to libvirt.pm/KVM.pm modules in this case (and if it should). Once I set image.osid to 36, (36 is os.id for vmwarelinux, module 5 - VCL::Module::OS::Linux), vcld is trying to load KVM-based image to a

Re: libvirt/KVM

2012-06-20 Thread Andy Kurth
I'm confused about what you're trying to load. Is centos5image-kvmlinuxv4105-v0 a bare metal image? The reservation info you sent earlier had this image being loaded on the virtual machine sandbox-vcl-19. Assuming you have a Linux VM image, its OSid should be set to vmwarelinux, which should be

Re: libvirt/KVM

2012-06-20 Thread Dmitri Chebotarov
Andy Success! Thank you for your help. Correct, I'm working with KVM-based Linux image. I was able to make it work with a slight changes. Do you have any entries in vcl.OS table with installtype='libvirt'? The only way I'm able to make reservations is by adding new entry into vcl.OS table

libvirt/KVM

2012-06-19 Thread Dmitri Chebotarov
Hi Has anyone tried Libvirt in 2.3 RC3? I've updated VCL 2.2.1 to VCL 2.3 and cannot get Libvirt working. I've made some adjustments and able to successfully capture an image, but cannot make reservation based on the image. I'm using CentOS 6.2 with KVM as VM host (yum groupinstall