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 now.  Eventually it will be
collapsed/normalized down so the is a single entry for all Linux
images, otherwise we will end up with n-squared entries (OS's and
provisioning types).  Issue VCL-566 addresses this.

-Andy

On Wed, Jun 20, 2012 at 8:21 PM, Dmitri Chebotarov dcheb...@gmu.edu wrote:
 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 and then setting image.osid to the id of the new entry (49 in my case):

 This is the entry I've added:

 select * from OS where installtype='libvirt';
 ++--+--+---+-+---+--+
 | id | name | prettyname | type | installtype | sourcepath | moduleid |
 ++--+--+---+-+---+--+
 | 49 | libvirtlinux | CentOS 5/6 (libvirt) | linux | libvirt | vmware_images 
 | 5 |
 ++--+--+---+-+---+--+



 Thanks.
 --
 Dmitri Chebotarov
 Virtual Computing Lab Systems Engineer, TSD - Ent Servers  Messaging
 223 Aquia Building, Ffx, MSN: 1B5
 Phone: (703) 993-6175
 Fax: (703) 993-3404


 On Wednesday, June 20, 2012 at 15:43 , Andy Kurth wrote:

 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 pointing to VCL::Module::OS::Linux.

 The computer.provisioningid value of the VM should be set the libvirt
 entry in the provisioning table, which should be pointing to
 VCL::Module::Provisioning::libvirt.

 -Andy


 On Wed, Jun 20, 2012 at 2:57 PM, Dmitri Chebotarov dcheb...@gmu.edu 
 (mailto:dcheb...@gmu.edu) wrote:
 
  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 
  computer with Provisioning Engine set to VMware and using a VMware host. 
  It fails.
 
  In this case (image.OSid = 36) there is no link between KVM image and 
  libvirt computers/KVM hosts.
 
  Thanks.
 
  ---
 
  Dmitri Chebotarov
  Virtual Computing Lab Systems Engineer, TSD - Ent Servers  Messaging
  223 Aquia Building, Ffx, MSN: 1B5
  Phone: (703) 993-6175
  Fax: (703) 993-3404
 
 
  On Wednesday, June 20, 2012 at 13:06 , Andy Kurth wrote:
 
   image.OSid should be set to the id that corresponds to vmwarelinux.
   OS.moduleid should point to the os_linux module table entry, which has
   module.perlpackagepath = VCL::Module::OS::Linux.
  
   -Andy
  
   On Wed, Jun 20, 2012 at 12:30 PM, Dmitri Chebotarov dcheb...@gmu.edu 
   (mailto:dcheb...@gmu.edu) wrote:
Andy
   
It's pointing to VCL::Module::Provisioning::libvirt
   
This is a result of my earlier attempt to troubleshoot the issue. I've 
added new OSid, moduleid.
The original image.osid was 29, which is CentOS Bare Metal, processed 
by VCL::Module::OS::Linux.
With image.osid set to 29 VCL was trying to use xCAT module to process 
KVM reservations.
   
At this moment I don't have any xCAT (bare metal) computers available 
and once I select the [KVM] image for reservation I get popup asking 
to select available time for reservation, which means that I don't 
have available resources to support this reservation.
   
When I've added new OSid and moduleid (pointing to 
VCL::Module::Provisioning::libvirt), I'm able to start reservation, 
VCLd finds available computers (which are configured to use libvirt 
engine) and attempts to make reservation on correct KVM host, but 
fails with error attached in previous email.
   
What should image.osid, moduleid be set to?
   
--
Dmitri Chebotarov
Virtual Computing Lab Systems Engineer, TSD - Ent Servers  Messaging
223 Aquia Building, Ffx, MSN: 1B5
Phone: (703) 993-6175
Fax: (703) 993-3404
   
   
On Wednesday, June 20, 2012 at 11:52 , Andy Kurth wrote:
   
 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 -- 

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 will let you 
know if it fails.

Thanks.

---

Dmitri Chebotarov
Virtual Computing Lab Systems Engineer, TSD - Ent Servers  Messaging
223 Aquia Building, Ffx, MSN: 1B5
Phone: (703) 993-6175
Fax: (703) 993-3404


On Wednesday, June 20, 2012 at 10:38 , Andy Kurth wrote:

 There were some definite bugs which I hopefully corrected with the
 commit from this morning. Be sure to use the latest code from trunk.
 Also, you'll need to run install_perl_libs.pl (http://install_perl_libs.pl) 
 again.
 
 Regarding KVM installation/configuration, I have mainly been working
 off of Fedora 16. The version of KVM included with Fedora 16 seems
 more stable than Red Hat or CentOS 6.x. The code should work under
 these OS's but automatic conversion of existing ESXi images to
 KVM-compatible qcow2 images probably won't work. The version of
 qemu-img included with Fedora 16 is able to do the conversion
 correctly. The versions included with Red Had and CentOS do not.
 
 Regarding image conversion, you should be able load an existing vmdk
 ESXi image on KVM if the image resides in the repository path. The
 code should copy it to the datastore in the format specified for the
 image type in the VM profile for your KVM host. Be sure to set this
 to qcow2.
 
 I fixed some bugs which caused base image creation to fail in the
 commit this morning. Please try this out.
 
 I started the following page which describes which components to
 install and how to configure networking and storage:
 https://cwiki.apache.org/confluence/display/VCL/KVM+Configuration
 
 -Andy
 
 On Tue, Jun 19, 2012 at 5:02 PM, Dmitri Chebotarov dcheb...@gmu.edu 
 (mailto:dcheb...@gmu.edu) wrote:
  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 Virtualization
  'Virtualization Client' 'Virtualization Platform' 'Virtualization Tools').
  
  If Libvirt is working for you, could you please share your configuration
  (ie. VM host version and packages, VCL computer configuration, etc) ?
  
  --
  Thank you,
  
  Dmitri Chebotarov
  Virtual Computing Lab Systems Engineer, TSD - Ent Servers  Messaging
  223 Aquia Building, Ffx, MSN: 1B5
  Phone: (703) 993-6175
  Fax: (703) 993-3404
 




Untitled.txt
Description: Binary data


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 Chebotarov dcheb...@gmu.edu wrote:

 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 will let you 
 know if it fails.

 Thanks.

 ---

 Dmitri Chebotarov
 Virtual Computing Lab Systems Engineer, TSD - Ent Servers  Messaging
 223 Aquia Building, Ffx, MSN: 1B5
 Phone: (703) 993-6175
 Fax: (703) 993-3404


 On Wednesday, June 20, 2012 at 10:38 , Andy Kurth wrote:

 There were some definite bugs which I hopefully corrected with the
 commit from this morning. Be sure to use the latest code from trunk.
 Also, you'll need to run install_perl_libs.pl (http://install_perl_libs.pl) 
 again.

 Regarding KVM installation/configuration, I have mainly been working
 off of Fedora 16. The version of KVM included with Fedora 16 seems
 more stable than Red Hat or CentOS 6.x. The code should work under
 these OS's but automatic conversion of existing ESXi images to
 KVM-compatible qcow2 images probably won't work. The version of
 qemu-img included with Fedora 16 is able to do the conversion
 correctly. The versions included with Red Had and CentOS do not.

 Regarding image conversion, you should be able load an existing vmdk
 ESXi image on KVM if the image resides in the repository path. The
 code should copy it to the datastore in the format specified for the
 image type in the VM profile for your KVM host. Be sure to set this
 to qcow2.

 I fixed some bugs which caused base image creation to fail in the
 commit this morning. Please try this out.

 I started the following page which describes which components to
 install and how to configure networking and storage:
 https://cwiki.apache.org/confluence/display/VCL/KVM+Configuration

 -Andy

 On Tue, Jun 19, 2012 at 5:02 PM, Dmitri Chebotarov dcheb...@gmu.edu 
 (mailto:dcheb...@gmu.edu) wrote:
  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 Virtualization
  'Virtualization Client' 'Virtualization Platform' 'Virtualization Tools').
 
  If Libvirt is working for you, could you please share your configuration
  (ie. VM host version and packages, VCL computer configuration, etc) ?
 
  --
  Thank you,
 
  Dmitri Chebotarov
  Virtual Computing Lab Systems Engineer, TSD - Ent Servers  Messaging
  223 Aquia Building, Ffx, MSN: 1B5
  Phone: (703) 993-6175
  Fax: (703) 993-3404





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 computer 
with Provisioning Engine set to VMware and using a VMware host. It fails.

In this case (image.OSid = 36) there is no link between KVM image and libvirt 
computers/KVM hosts.

Thanks.

---

Dmitri Chebotarov
Virtual Computing Lab Systems Engineer, TSD - Ent Servers  Messaging
223 Aquia Building, Ffx, MSN: 1B5
Phone: (703) 993-6175
Fax: (703) 993-3404


On Wednesday, June 20, 2012 at 13:06 , Andy Kurth wrote:

 image.OSid should be set to the id that corresponds to vmwarelinux.
 OS.moduleid should point to the os_linux module table entry, which has
 module.perlpackagepath = VCL::Module::OS::Linux.
 
 -Andy
 
 On Wed, Jun 20, 2012 at 12:30 PM, Dmitri Chebotarov dcheb...@gmu.edu 
 (mailto:dcheb...@gmu.edu) wrote:
  Andy
  
  It's pointing to VCL::Module::Provisioning::libvirt
  
  This is a result of my earlier attempt to troubleshoot the issue. I've 
  added new OSid, moduleid.
  The original image.osid was 29, which is CentOS Bare Metal, processed by 
  VCL::Module::OS::Linux.
  With image.osid set to 29 VCL was trying to use xCAT module to process KVM 
  reservations.
  
  At this moment I don't have any xCAT (bare metal) computers available and 
  once I select the [KVM] image for reservation I get popup asking to select 
  available time for reservation, which means that I don't have available 
  resources to support this reservation.
  
  When I've added new OSid and moduleid (pointing to 
  VCL::Module::Provisioning::libvirt), I'm able to start reservation, VCLd 
  finds available computers (which are configured to use libvirt engine) and 
  attempts to make reservation on correct KVM host, but fails with error 
  attached in previous email.
  
  What should image.osid, moduleid be set to?
  
  --
  Dmitri Chebotarov
  Virtual Computing Lab Systems Engineer, TSD - Ent Servers  Messaging
  223 Aquia Building, Ffx, MSN: 1B5
  Phone: (703) 993-6175
  Fax: (703) 993-3404
  
  
  On Wednesday, June 20, 2012 at 11:52 , Andy Kurth wrote:
  
   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 Chebotarov dcheb...@gmu.edu 
   (mailto:dcheb...@gmu.edu) wrote:

Andy

I did 'svn up' and ran install_perl_libs.pl 
(http://install_perl_libs.pl (http://_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 will let 
you know if it fails.

Thanks.

---

Dmitri Chebotarov
Virtual Computing Lab Systems Engineer, TSD - Ent Servers  Messaging
223 Aquia Building, Ffx, MSN: 1B5
Phone: (703) 993-6175
Fax: (703) 993-3404


On Wednesday, June 20, 2012 at 10:38 , Andy Kurth wrote:

 There were some definite bugs which I hopefully corrected with the
 commit from this morning. Be sure to use the latest code from trunk.
 Also, you'll need to run install_perl_libs.pl 
 (http://install_perl_libs.pl (http://_perl_libs.pl) 
 (http://_perl_libs.pl)) again.
 
 Regarding KVM installation/configuration, I have mainly been working
 off of Fedora 16. The version of KVM included with Fedora 16 seems
 more stable than Red Hat or CentOS 6.x. The code should work under
 these OS's but automatic conversion of existing ESXi images to
 KVM-compatible qcow2 images probably won't work. The version of
 qemu-img included with Fedora 16 is able to do the conversion
 correctly. The versions included with Red Had and CentOS do not.
 
 Regarding image conversion, you should be able load an existing vmdk
 ESXi image on KVM if the image resides in the repository path. The
 code should copy it to the datastore in the format specified for the
 image type in the VM profile for your KVM host. Be sure to set this
 to qcow2.
 
 I fixed some bugs which caused base image creation to fail in the
 commit this morning. Please try this out.
 
 I started the following page which describes which components to
 install and how to configure networking and storage:
 https://cwiki.apache.org/confluence/display/VCL/KVM+Configuration
 
 -Andy
 
 On Tue, Jun 19, 2012 at 5:02 PM, Dmitri Chebotarov dcheb...@gmu.edu 
 (mailto:dcheb...@gmu.edu) wrote:
  Hi
  
  Has anyone tried Libvirt 

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 pointing to VCL::Module::OS::Linux.

The computer.provisioningid value of the VM should be set the libvirt
entry in the provisioning table, which should be pointing to
VCL::Module::Provisioning::libvirt.

-Andy


On Wed, Jun 20, 2012 at 2:57 PM, Dmitri Chebotarov dcheb...@gmu.edu wrote:

 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 computer 
 with Provisioning Engine set to VMware and using a VMware host. It fails.

 In this case (image.OSid = 36) there is no link between KVM image and libvirt 
 computers/KVM hosts.

 Thanks.

 ---

 Dmitri Chebotarov
 Virtual Computing Lab Systems Engineer, TSD - Ent Servers  Messaging
 223 Aquia Building, Ffx, MSN: 1B5
 Phone: (703) 993-6175
 Fax: (703) 993-3404


 On Wednesday, June 20, 2012 at 13:06 , Andy Kurth wrote:

 image.OSid should be set to the id that corresponds to vmwarelinux.
 OS.moduleid should point to the os_linux module table entry, which has
 module.perlpackagepath = VCL::Module::OS::Linux.

 -Andy

 On Wed, Jun 20, 2012 at 12:30 PM, Dmitri Chebotarov dcheb...@gmu.edu 
 (mailto:dcheb...@gmu.edu) wrote:
  Andy
 
  It's pointing to VCL::Module::Provisioning::libvirt
 
  This is a result of my earlier attempt to troubleshoot the issue. I've 
  added new OSid, moduleid.
  The original image.osid was 29, which is CentOS Bare Metal, processed by 
  VCL::Module::OS::Linux.
  With image.osid set to 29 VCL was trying to use xCAT module to process KVM 
  reservations.
 
  At this moment I don't have any xCAT (bare metal) computers available and 
  once I select the [KVM] image for reservation I get popup asking to select 
  available time for reservation, which means that I don't have available 
  resources to support this reservation.
 
  When I've added new OSid and moduleid (pointing to 
  VCL::Module::Provisioning::libvirt), I'm able to start reservation, VCLd 
  finds available computers (which are configured to use libvirt engine) and 
  attempts to make reservation on correct KVM host, but fails with error 
  attached in previous email.
 
  What should image.osid, moduleid be set to?
 
  --
  Dmitri Chebotarov
  Virtual Computing Lab Systems Engineer, TSD - Ent Servers  Messaging
  223 Aquia Building, Ffx, MSN: 1B5
  Phone: (703) 993-6175
  Fax: (703) 993-3404
 
 
  On Wednesday, June 20, 2012 at 11:52 , Andy Kurth wrote:
 
   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 Chebotarov dcheb...@gmu.edu 
   (mailto:dcheb...@gmu.edu) wrote:
   
Andy
   
I did 'svn up' and ran install_perl_libs.pl 
(http://install_perl_libs.pl (http://_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 will 
let you know if it fails.
   
Thanks.
   
---
   
Dmitri Chebotarov
Virtual Computing Lab Systems Engineer, TSD - Ent Servers  Messaging
223 Aquia Building, Ffx, MSN: 1B5
Phone: (703) 993-6175
Fax: (703) 993-3404
   
   
On Wednesday, June 20, 2012 at 10:38 , Andy Kurth wrote:
   
 There were some definite bugs which I hopefully corrected with the
 commit from this morning. Be sure to use the latest code from trunk.
 Also, you'll need to run install_perl_libs.pl 
 (http://install_perl_libs.pl (http://_perl_libs.pl) 
 (http://_perl_libs.pl)) again.

 Regarding KVM installation/configuration, I have mainly been working
 off of Fedora 16. The version of KVM included with Fedora 16 seems
 more stable than Red Hat or CentOS 6.x. The code should work under
 these OS's but automatic conversion of existing ESXi images to
 KVM-compatible qcow2 images probably won't work. The version of
 qemu-img included with Fedora 16 is able to do the conversion
 correctly. The versions included with Red Had and CentOS do not.

 Regarding image conversion, you should be able load an existing vmdk
 ESXi image on KVM if the image resides in the repository path. The
 code should copy it to the datastore in the format specified for the
 image type in 

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 and then setting image.osid to the id of the new entry (49 in my case):

This is the entry I've added:

select * from OS where installtype='libvirt';
++--+--+---+-+---+--+
| id | name | prettyname | type | installtype | sourcepath | moduleid |
++--+--+---+-+---+--+
| 49 | libvirtlinux | CentOS 5/6 (libvirt) | linux | libvirt | vmware_images | 
5 | 
++--+--+---+-+---+--+



Thanks.
--
Dmitri Chebotarov
Virtual Computing Lab Systems Engineer, TSD - Ent Servers  Messaging
223 Aquia Building, Ffx, MSN: 1B5
Phone: (703) 993-6175
Fax: (703) 993-3404


On Wednesday, June 20, 2012 at 15:43 , Andy Kurth wrote:

 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 pointing to VCL::Module::OS::Linux.
 
 The computer.provisioningid value of the VM should be set the libvirt
 entry in the provisioning table, which should be pointing to
 VCL::Module::Provisioning::libvirt.
 
 -Andy
 
 
 On Wed, Jun 20, 2012 at 2:57 PM, Dmitri Chebotarov dcheb...@gmu.edu 
 (mailto:dcheb...@gmu.edu) wrote:
  
  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 
  computer with Provisioning Engine set to VMware and using a VMware host. It 
  fails.
  
  In this case (image.OSid = 36) there is no link between KVM image and 
  libvirt computers/KVM hosts.
  
  Thanks.
  
  ---
  
  Dmitri Chebotarov
  Virtual Computing Lab Systems Engineer, TSD - Ent Servers  Messaging
  223 Aquia Building, Ffx, MSN: 1B5
  Phone: (703) 993-6175
  Fax: (703) 993-3404
  
  
  On Wednesday, June 20, 2012 at 13:06 , Andy Kurth wrote:
  
   image.OSid should be set to the id that corresponds to vmwarelinux.
   OS.moduleid should point to the os_linux module table entry, which has
   module.perlpackagepath = VCL::Module::OS::Linux.
   
   -Andy
   
   On Wed, Jun 20, 2012 at 12:30 PM, Dmitri Chebotarov dcheb...@gmu.edu 
   (mailto:dcheb...@gmu.edu) wrote:
Andy

It's pointing to VCL::Module::Provisioning::libvirt

This is a result of my earlier attempt to troubleshoot the issue. I've 
added new OSid, moduleid.
The original image.osid was 29, which is CentOS Bare Metal, processed 
by VCL::Module::OS::Linux.
With image.osid set to 29 VCL was trying to use xCAT module to process 
KVM reservations.

At this moment I don't have any xCAT (bare metal) computers available 
and once I select the [KVM] image for reservation I get popup asking to 
select available time for reservation, which means that I don't have 
available resources to support this reservation.

When I've added new OSid and moduleid (pointing to 
VCL::Module::Provisioning::libvirt), I'm able to start reservation, 
VCLd finds available computers (which are configured to use libvirt 
engine) and attempts to make reservation on correct KVM host, but fails 
with error attached in previous email.

What should image.osid, moduleid be set to?

--
Dmitri Chebotarov
Virtual Computing Lab Systems Engineer, TSD - Ent Servers  Messaging
223 Aquia Building, Ffx, MSN: 1B5
Phone: (703) 993-6175
Fax: (703) 993-3404


On Wednesday, June 20, 2012 at 11:52 , Andy Kurth wrote:

 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 Chebotarov dcheb...@gmu.edu 
 (mailto:dcheb...@gmu.edu) wrote:
  
  Andy
  
  I did 'svn up' and ran install_perl_libs.pl 
  (http://install_perl_libs.pl (http://_perl_libs.pl) 
  (http://_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 

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  Virtualization 
'Virtualization Client' 'Virtualization Platform' 'Virtualization Tools').

If Libvirt is working for you, could you please share your configuration (ie. 
VM host version and packages, VCL computer configuration, etc) ?

--
Thank you,

Dmitri Chebotarov
Virtual Computing Lab Systems Engineer, TSD - Ent Servers  Messaging
223 Aquia Building, Ffx, MSN: 1B5
Phone: (703) 993-6175
Fax: (703) 993-3404