UID is not unique error while making reservation

2012-07-03 Thread Dmitri Chebotarov
Hi

While testing VCL 2.3 I've discovered following issue (I'm not sure if the same 
issue exists in 2.2.1):

...
/usr/bin/ssh -i /usr/local/vcl/etc/vcl/vcl.key  -o StrictHostKeyChecking=no -o 
UserKnownHostsFile=/dev/null -o ConnectionAttempts=1 -o ConnectTimeout=3 -l 
root -p 22 -x sandbox-vcl-19 '/usr/sbin/useradd -u 6 -d /home/dchebota -m 
dchebota -g vcl' 21

2012-07-03 
13:02:52|10095|563:555|new|utils.pm:run_ssh_command(5053)|run_ssh_command 
output:

|10095|563:555|new| useradd: UID 6 is not unique
...

My userid in vcl.user table is 6, and it conflicts with 'shutdown' user on the 
Linux system, which also has UID 6. 

I've modified the Linux.pm to add 500 to UIDs  500. I think Linux starts with 
UID 500 for new user anyway:

# diff Linux.pm Linux-pm-old 
2851,2853d2850
   if ($user_uid  500) {
   $user_uid = $user_uid + 500;
   }

This seemed to fixed the issue.

--
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



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: Preferred Password under User Preferences ?

2012-07-03 Thread Dmitri Chebotarov
Hi

Would LDAP authentication be better choice? In this case password policy 
already enforced by central LDAP server.
Users would login to reservations using the same credentials as for VCL 
front-end (which uses LDAP auth) 

Linux already has built-in support for LDAP authentication. 

pGina works well for Windows images. I've not used pGina for extended period of 
time, done some tests and it looks good. 


Thanks.

On May 30, 2012, at 12:11 , Josh Thompson wrote:

 Dmitri,
 
 I like this idea as well.  I think to do it right, there should be password 
 strength enforcing criteria in place to make sure users have strong 
 passwords.  
 I also agree with others that it should be a configurable options.  Can you 
 go 
 ahead and create a JIRA issue for this?
 
 Thanks,
 Josh
 
 On Friday, May 25, 2012 11:25:00 AM Dmitri Chebotarov wrote:
  Hi
  
  Would it be possible, and is it good idea in general due to possible
  security risks, to add Preferred Password field on User Preferences page
  (under RDP File Preferences or Personal Information?) to allow user to
  provide a password for all his/her reservations?
  
  Then VCL would use this password (if it's there) for reservations instead of
  auto-generated password.
  
  This is not an auto-connect option, but at least it will make it easier to
  use VCL. For the last couple days I've been using VCL for some testing and
  it would be nice to have the same password for all my reservations.
  
  --
  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
 - -- 
 - ---
 Josh Thompson
 VCL Developer
 North Carolina State University
 
 my GPG/PGP key can be found at pgp.mit.edu
 
 All electronic mail messages in connection with State business which
 are sent to or received by this account are subject to the NC Public
 Records Law and may be disclosed to third parties.



--
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



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: VCL 2.3 and KVM / Libvirt support

2012-06-12 Thread Dmitri Chebotarov
Andy

I use CentOS 6.2 as KVM host.

--
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


On Tuesday, June 12, 2012 at 14:42 , Andy Kurth wrote:

 I'll look into the problems you have encountered. What OS are you
 using for your KVM host?
 -Andy
 
 On Mon, Jun 11, 2012 at 2:41 PM, Dmitri Chebotarov dcheb...@gmu.edu 
 (mailto:dcheb...@gmu.edu) wrote:
  Hi
  
  I may have found the issue with image name in libvirt.
  I don't know if it breaks anything else in libvirt (i.e. update image).
  Once I made following change, I'm able to capture new image AND reload newly
  captured image to a computer with no issues.
  Here is diff file: (also attached).
  
  # diff /tmp/libvirt.pm-RC3 Module/Provisioning/libvirt.pm
  3c3
   # $Id$
  ---
   # $Id: libvirt.pm 1341477 2012-05-22 13:47:34Z fapeeler $
  
  325,326c325,327
   my $new_image_name = $self-get_new_image_name();
   $self-data-set_image_name($new_image_name);
  ---
   my $new_image_name = $image_name;
   #my $new_image_name = $self-get_new_image_name();
   #$self-data-set_image_name($new_image_name);
   
  
  
  
  I still cannot make reservation for KVM-based image.
  Getting 'Available Times' dialog box every time when selecting KVM-based
  image.
  
  I think it has something todo with imagetype. It's 29, which is bare-metal,
  using partimage, i.e. xCAT.
  
  --
  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
  
  On Friday, June 8, 2012 at 12:08 , Dmitri Chebotarov wrote:
  
  Hi
  
  It looks like image name changes during image capture process. The capture
  starts with one image name and finishes with a different image name:
  
  start:
  
  VCL IMAGE Creation Started: centos5image-LinuxCentOS62KVMv399-v0
  
  finish:
  
  VCL IMAGE Creation Completed: centos5-LinuxCentOS62KVMv3-99-v0
  
  Imagename in 'vcl.image' table and 'vcl.imagerevision' table is different.
  Once I update the name in 'vcl.imagerevision' table to match the name in
  'vcl.image', I can reload newly captured image fine.
  
  I.e.:
  
  SELECT imagename FROM imagerevision where imageid=99 and production=1
  
  centos5-LinuxCentOS62KVMv3-99-v0
  
  SELECT name FROM image where id=99
  
  centos5image-LinuxCentOS62KVMv399-v0
  
  I'm attaching image capture log file.
  
  I've tried to trace where the image name changes, but cannot find it in the
  code (libvirt.pm).
  
  
  
  --
  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
  
  On Thursday, June 7, 2012 at 17:15 , Dmitri Chebotarov wrote:
  
  Hi
  
  Have anyone else tried Libvirt support in VCL 2.3?
  
  I'm getting this error, not sure if it's specific to my configuration (# svn
  up At revision 1347799)
  
  During base image capture VCL creates two files per VM in Virtual Disk
  Path folder (I'm using qcow2 disk format):
  
  qemu-img convert /var/lib/libvirt/images/Linux_CentOS_62.img -O qcow2
  /var/lib/libvirt/images/baseImages/centos5image-linuxkvm898-v0.qcow2
  
  two files created:
  
  centos5image-linuxkvm898-v0.qcow2
  
  centos5-linuxkvm8-98-v0.xml
  
  The content of centos5-linuxkvm8-98-v0.xml is:
  
  # cat centos5-linuxkvm8-98-v0.xml
  HASH(0x154d9a50)
  
  
  When I try to reload a computer with new image, VCL is trying to use .xml
  file as disk image and reload fails.
  
  Once I delete .xml and rename image file, it works fine:
  
  rm -f centos5-linuxkvm8-98-v0.xml
  mv centos5image-linuxkvm898-v0.qcow2 centos5-linuxkvm8-98-v0.qcow2
  
  Llog file:
  
  |27378|484:476|reload|utils.pm:insertloadlog(3701)|inserted computer=98,
  loadimageblade, sandbox-vcl-20 must be reloaded with centos5-linuxkvm8-98-v0
  2012-06-07 16:42:46|27378|484:476|reload|new.pm:reload_image(616)|calling
  VCL::Module::Provisioning::libvirt-does_image_exist()
  2012-06-07 16:42:46|27378|484:476|reload|OS.pm:find_files(2801)|attempting
  to find files on BC1-12, base directory path:
  '/var/lib/libvirt/images/baseImages/', pattern: centos5-linuxkvm8-98-v0.*,
  command: /usr/bin/find /var/lib/libvirt/images/baseImages/ -type f -iname
  centos5-linuxkvm8-98-v0.*
  2012-06-07 16:42:46|27378|484:476|reload|OS.pm:find_files(2829)|files found:
  1, base directory: '/var/lib/libvirt/images/baseImages/', pattern:
  'centos5-linuxkvm8-98-v0.*'
  |27378|484:476|reload| command: '/usr/bin/find
  /var/lib/libvirt/images/baseImages/ -type f -iname
  centos5-linuxkvm8-98-v0.*', output:
  |27378|484:476|reload|
  /var/lib/libvirt/images/baseImages/centos5-linuxkvm8-98-v0.xml
  2012-06-07
  16:42:46|27378|484:476|reload|libvirt.pm:get_master_image_file_path(1011)|found
  master image file on BC1-12:
  /var/lib/libvirt/images/baseImages/centos5

Re: VCL 2.3 and KVM / Libvirt support

2012-06-11 Thread Dmitri Chebotarov
Hi

I may have found the issue with image name in libvirt. 
I don't know if it breaks anything else in libvirt (i.e. update image). 
Once I made following change, I'm able to capture new image AND reload newly 
captured image to a computer with no issues.
Here is diff file: (also attached).

# diff /tmp/libvirt.pm-RC3 Module/Provisioning/libvirt.pm 3c3  # $Id$ ---  # 
$Id: libvirt.pm 1341477 2012-05-22 13:47:34Z fapeeler $ 325,326c325,327  my 
$new_image_name = $self-get_new_image_name();  
$self-data-set_image_name($new_image_name); ---  my $new_image_name = 
$image_name;  #my $new_image_name = $self-get_new_image_name();  
#$self-data-set_image_name($new_image_name);

I still cannot make reservation for KVM-based image. 
Getting 'Available Times' dialog box every time when selecting KVM-based image. 

I think it has something todo with imagetype. It's 29, which is bare-metal, 
using partimage, i.e. xCAT. 

--
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


On Friday, June 8, 2012 at 12:08 , Dmitri Chebotarov wrote:

 Hi
 
 
 It looks like image name changes during image capture process. The capture 
 starts with one image name and finishes with a different image name:
 
 
 start:
 
 VCL IMAGE Creation Started: centos5image-LinuxCentOS62KVMv399-v0
 
 finish:
 
 VCL IMAGE Creation Completed: centos5-LinuxCentOS62KVMv3-99-v0
 
 Imagename in 'vcl.image' table and 'vcl.imagerevision' table is different. 
 Once I update the name in 'vcl.imagerevision' table to match the name in 
 'vcl.image', I can reload newly captured image fine.
 
 
 I.e.:
 
 SELECT imagename FROM imagerevision where imageid=99 and production=1 
 centos5-LinuxCentOS62KVMv3-99-v0 SELECT name FROM image where id=99 
 centos5image-LinuxCentOS62KVMv399-v0
 
 I'm attaching image capture log file.
 
 
 I've tried to trace where the image name changes, but cannot find it in the 
 code (libvirt.pm).
 
 
 
 
 --
 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
 
 
 On Thursday, June 7, 2012 at 17:15 , Dmitri Chebotarov wrote:
 
  Hi 
  
  Have anyone else tried Libvirt support in VCL 2.3? 
  
  I'm getting this error, not sure if it's specific to my configuration (# 
  svn up At revision 1347799)
  
  During base image capture VCL creates two files per VM in Virtual Disk 
  Path folder (I'm using qcow2 disk format): 
  
  qemu-img convert /var/lib/libvirt/images/Linux_CentOS_62.img -O qcow2 
  /var/lib/libvirt/images/baseImages/centos5image-linuxkvm898-v0.qcow2
  two files created:
  
  centos5image-linuxkvm898-v0.qcow2
  centos5-linuxkvm8-98-v0.xml
  
  The content of centos5-linuxkvm8-98-v0.xml is:
  
  # cat centos5-linuxkvm8-98-v0.xml HASH(0x154d9a50)
  
  When I try to reload a computer with new image, VCL is trying to use .xml 
  file as disk image and reload fails. 
  
  Once I delete .xml and rename image file, it works fine:
  
  rm -f centos5-linuxkvm8-98-v0.xml 
  mv centos5image-linuxkvm898-v0.qcow2 centos5-linuxkvm8-98-v0.qcow2
  
  
  Llog file:
  
  |27378|484:476|reload|utils.pm:insertloadlog(3701)|inserted computer=98, 
  loadimageblade, sandbox-vcl-20 must be reloaded with 
  centos5-linuxkvm8-98-v0 2012-06-07 
  16:42:46|27378|484:476|reload|new.pm:reload_image(616)|calling 
  VCL::Module::Provisioning::libvirt-does_image_exist() 2012-06-07 
  16:42:46|27378|484:476|reload|OS.pm:find_files(2801)|attempting to find 
  files on BC1-12, base directory path: 
  '/var/lib/libvirt/images/baseImages/', pattern: centos5-linuxkvm8-98-v0.*, 
  command: /usr/bin/find /var/lib/libvirt/images/baseImages/ -type f -iname 
  centos5-linuxkvm8-98-v0.* 2012-06-07 
  16:42:46|27378|484:476|reload|OS.pm:find_files(2829)|files found: 1, base 
  directory: '/var/lib/libvirt/images/baseImages/', pattern: 
  'centos5-linuxkvm8-98-v0.*' |27378|484:476|reload| command: '/usr/bin/find 
  /var/lib/libvirt/images/baseImages/ -type f -iname 
  centos5-linuxkvm8-98-v0.*', output: |27378|484:476|reload| 
  /var/lib/libvirt/images/baseImages/centos5-linuxkvm8-98-v0.xml 2012-06-07 
  16:42:46
|27378|484:476|reload|libvirt.pm:get_master_image_file_path(1011)|found master 
image file on BC1-12: 
/var/lib/libvirt/images/baseImages/centos5-linuxkvm8-98-v0.xml 2012-06-07 
16:42:46|27378|484:476|reload|Module.pm:new(203)|VCL::Module::Semaphore object 
created, address: 2179cfe0 2012-06-07 
16:42:46|27378|484:476|reload|Module.pm:code_loop_timeout(879)|attempting to 
open lockfile, maximum of 7200 seconds 2012-06-07 
16:42:46|27378|484:476|reload|Semaphore.pm:open_lockfile(175)|opened and 
obtained an exclusive lock on file: 
/tmp/master-centos5-linuxkvm8-98-v0.semaphore 2012-06-07 
16:42:46|27378|484:476|reload|Semaphore.pm:open_lockfile(182)|wrote to file: 
/tmp/master-centos5-linuxkvm8-98-v0.semaphore

Manage Images - Delete Image error (VCL 2.3)

2012-06-08 Thread Dmitri Chebotarov

Hi

I get a SQL error when trying to delete an image (under Manage Images). 
This is due a wrong column name used in the images.php (preferredimageid vs 
nextimageid).

Diff is attached.

[root@sand-vcl23 .ht-inc]# diff images.php images.php-orig 2711,2712c2711,2712 
 . SET nextimageid = $noimageid   . WHERE nextimageid = $imageid; ---  . 
SET preferredimageid = $noimageid   . WHERE preferredimageid = $imageid;

--
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: VCL 2.3 and KVM / Libvirt support

2012-06-08 Thread Dmitri Chebotarov
Hi


It looks like image name changes during image capture process. The capture 
starts with one image name and finishes with a different image name:


start:

VCL IMAGE Creation Started: centos5image-LinuxCentOS62KVMv399-v0

finish:

VCL IMAGE Creation Completed: centos5-LinuxCentOS62KVMv3-99-v0

Imagename in 'vcl.image' table and 'vcl.imagerevision' table is different. Once 
I update the name in 'vcl.imagerevision' table to match the name in 
'vcl.image', I can reload newly captured image fine.


I.e.:

SELECT imagename FROM imagerevision where imageid=99 and production=1 
centos5-LinuxCentOS62KVMv3-99-v0 SELECT name FROM image where id=99 
centos5image-LinuxCentOS62KVMv399-v0

I'm attaching image capture log file.


I've tried to trace where the image name changes, but cannot find it in the 
code (libvirt.pm).




--
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


On Thursday, June 7, 2012 at 17:15 , Dmitri Chebotarov wrote:

 Hi 
 
 Have anyone else tried Libvirt support in VCL 2.3? 
 
 I'm getting this error, not sure if it's specific to my configuration (# svn 
 up At revision 1347799)
 
 During base image capture VCL creates two files per VM in Virtual Disk Path 
 folder (I'm using qcow2 disk format): 
 
 qemu-img convert /var/lib/libvirt/images/Linux_CentOS_62.img -O qcow2 
 /var/lib/libvirt/images/baseImages/centos5image-linuxkvm898-v0.qcow2
 two files created:
 
 centos5image-linuxkvm898-v0.qcow2
 centos5-linuxkvm8-98-v0.xml
 
 The content of centos5-linuxkvm8-98-v0.xml is:
 
 # cat centos5-linuxkvm8-98-v0.xml HASH(0x154d9a50)
 
 When I try to reload a computer with new image, VCL is trying to use .xml 
 file as disk image and reload fails. 
 
 Once I delete .xml and rename image file, it works fine:
 
 rm -f centos5-linuxkvm8-98-v0.xml 
 mv centos5image-linuxkvm898-v0.qcow2 centos5-linuxkvm8-98-v0.qcow2
 
 
 Llog file:
 
 |27378|484:476|reload|utils.pm:insertloadlog(3701)|inserted computer=98, 
 loadimageblade, sandbox-vcl-20 must be reloaded with centos5-linuxkvm8-98-v0 
 2012-06-07 16:42:46|27378|484:476|reload|new.pm:reload_image(616)|calling 
 VCL::Module::Provisioning::libvirt-does_image_exist() 2012-06-07 
 16:42:46|27378|484:476|reload|OS.pm:find_files(2801)|attempting to find files 
 on BC1-12, base directory path: '/var/lib/libvirt/images/baseImages/', 
 pattern: centos5-linuxkvm8-98-v0.*, command: /usr/bin/find 
 /var/lib/libvirt/images/baseImages/ -type f -iname 
 centos5-linuxkvm8-98-v0.* 2012-06-07 
 16:42:46|27378|484:476|reload|OS.pm:find_files(2829)|files found: 1, base 
 directory: '/var/lib/libvirt/images/baseImages/', pattern: 
 'centos5-linuxkvm8-98-v0.*' |27378|484:476|reload| command: '/usr/bin/find 
 /var/lib/libvirt/images/baseImages/ -type f -iname 
 centos5-linuxkvm8-98-v0.*', output: |27378|484:476|reload| 
 /var/lib/libvirt/images/baseImages/centos5-linuxkvm8-98-v0.xml 2012-06-07 
 16:42:46|2
7378|484:476|reload|libvirt.pm:get_master_image_file_path(1011)|found master 
image file on BC1-12: 
/var/lib/libvirt/images/baseImages/centos5-linuxkvm8-98-v0.xml 2012-06-07 
16:42:46|27378|484:476|reload|Module.pm:new(203)|VCL::Module::Semaphore object 
created, address: 2179cfe0 2012-06-07 
16:42:46|27378|484:476|reload|Module.pm:code_loop_timeout(879)|attempting to 
open lockfile, maximum of 7200 seconds 2012-06-07 
16:42:46|27378|484:476|reload|Semaphore.pm:open_lockfile(175)|opened and 
obtained an exclusive lock on file: 
/tmp/master-centos5-linuxkvm8-98-v0.semaphore 2012-06-07 
16:42:46|27378|484:476|reload|Semaphore.pm:open_lockfile(182)|wrote to file: 
/tmp/master-centos5-linuxkvm8-98-v0.semaphore, contents: |27378|484:476|reload| 
'27378 vcld 484:476 reload sandbox-vcl-20BC1-12 centos5-linuxkvm8-98-v0 
vclreload' 2012-06-07 
16:42:46|27378|484:476|reload|Module.pm:code_loop_timeout(899)|attempting to 
open lockfile, code returned true 2012-06-07 
16:42:46|27378|484:476|reload|Module.pm:g
et_semaphore(977)|created 'master:centos5-linuxkvm8-98-v0' Semaphore object, 
memory address: 2179cfe0 2012-06-07 
16:42:46|27378|484:476|reload|utils.pm:run_ssh_command(4928)|executing SSH 
command on BC1-12: |27378|484:476|reload| /usr/bin/ssh -i /etc/vcl/vcl.key -o 
StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o 
ConnectionAttempts=1 -o ConnectTimeout=3 -l root -p 22 -x BC1-12 'stat 
\/var\/lib\/libvirt\/images\/baseImages\/centos5\-linuxkvm8\-98\-v0\.xml' 21 
2012-06-07 
16:42:46|27378|484:476|reload|utils.pm:run_ssh_command(5046)|run_ssh_command 
output: |27378|484:476|reload| File: 
`/var/lib/libvirt/images/baseImages/centos5-linuxkvm8-98-v0.xml' 
|27378|484:476|reload| Size: 16 Blocks: 0 IO Block: 65536 regular file 
|27378|484:476|reload| Device: 1bh/27d Inode: 24549393 Links: 1 
|27378|484:476|reload| Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ 
root) |27378|484:476|reload| Access: 2012-06-07 16:45:02.507151000 -0400 
|27378|484

[jira] [Updated] (VCL-593) Documentation Links on VCL Home Page

2012-06-07 Thread Dmitri Chebotarov (JIRA)

 [ 
https://issues.apache.org/jira/browse/VCL-593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitri Chebotarov updated VCL-593:
--

Attachment: Untitled.2.pdf

Code changes necessary to add Help/Docs links to VCL login page (PDF file 
attached - Untitled.2.pdf).

The change is for VCL 2.3. 

 Documentation Links on VCL Home Page
 

 Key: VCL-593
 URL: https://issues.apache.org/jira/browse/VCL-593
 Project: VCL
  Issue Type: New Feature
  Components: web gui (frontend)
Affects Versions: 2.2.1
Reporter: Mark Craft
Priority: Trivial
 Fix For: 2.4

 Attachments: Untitled.2.pdf, VCLDocLinks.JPG


 Request from End User to add a link to the VCL home page for documentation on 
 how to use the system.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




Re: VCL 2.3 and KVM / Libvirt support

2012-06-07 Thread Dmitri Chebotarov
Hi 

Have anyone else tried Libvirt support in VCL 2.3? 

I'm getting this error, not sure if it's specific to my configuration (# svn up 
At revision 1347799)

During base image capture VCL creates two files per VM in Virtual Disk Path 
folder (I'm using qcow2 disk format): 

qemu-img convert /var/lib/libvirt/images/Linux_CentOS_62.img -O qcow2 
/var/lib/libvirt/images/baseImages/centos5image-linuxkvm898-v0.qcow2
two files created:

centos5image-linuxkvm898-v0.qcow2
centos5-linuxkvm8-98-v0.xml

The content of centos5-linuxkvm8-98-v0.xml is:

# cat centos5-linuxkvm8-98-v0.xml HASH(0x154d9a50)

When I try to reload a computer with new image, VCL is trying to use .xml file 
as disk image and reload fails. 

Once I delete .xml and rename image file, it works fine:

rm -f centos5-linuxkvm8-98-v0.xml 
mv centos5image-linuxkvm898-v0.qcow2 centos5-linuxkvm8-98-v0.qcow2


Llog file:

|27378|484:476|reload|utils.pm:insertloadlog(3701)|inserted computer=98, 
loadimageblade, sandbox-vcl-20 must be reloaded with centos5-linuxkvm8-98-v0 
2012-06-07 16:42:46|27378|484:476|reload|new.pm:reload_image(616)|calling 
VCL::Module::Provisioning::libvirt-does_image_exist() 2012-06-07 
16:42:46|27378|484:476|reload|OS.pm:find_files(2801)|attempting to find files 
on BC1-12, base directory path: '/var/lib/libvirt/images/baseImages/', pattern: 
centos5-linuxkvm8-98-v0.*, command: /usr/bin/find 
/var/lib/libvirt/images/baseImages/ -type f -iname 
centos5-linuxkvm8-98-v0.* 2012-06-07 
16:42:46|27378|484:476|reload|OS.pm:find_files(2829)|files found: 1, base 
directory: '/var/lib/libvirt/images/baseImages/', pattern: 
'centos5-linuxkvm8-98-v0.*' |27378|484:476|reload| command: '/usr/bin/find 
/var/lib/libvirt/images/baseImages/ -type f -iname 
centos5-linuxkvm8-98-v0.*', output: |27378|484:476|reload| 
/var/lib/libvirt/images/baseImages/centos5-linuxkvm8-98-v0.xml 2012-06-07 
16:42:46|273
78|484:476|reload|libvirt.pm:get_master_image_file_path(1011)|found master 
image file on BC1-12: 
/var/lib/libvirt/images/baseImages/centos5-linuxkvm8-98-v0.xml 2012-06-07 
16:42:46|27378|484:476|reload|Module.pm:new(203)|VCL::Module::Semaphore object 
created, address: 2179cfe0 2012-06-07 
16:42:46|27378|484:476|reload|Module.pm:code_loop_timeout(879)|attempting to 
open lockfile, maximum of 7200 seconds 2012-06-07 
16:42:46|27378|484:476|reload|Semaphore.pm:open_lockfile(175)|opened and 
obtained an exclusive lock on file: 
/tmp/master-centos5-linuxkvm8-98-v0.semaphore 2012-06-07 
16:42:46|27378|484:476|reload|Semaphore.pm:open_lockfile(182)|wrote to file: 
/tmp/master-centos5-linuxkvm8-98-v0.semaphore, contents: |27378|484:476|reload| 
'27378 vcld 484:476 reload sandbox-vcl-20BC1-12 centos5-linuxkvm8-98-v0 
vclreload' 2012-06-07 
16:42:46|27378|484:476|reload|Module.pm:code_loop_timeout(899)|attempting to 
open lockfile, code returned true 2012-06-07 
16:42:46|27378|484:476|reload|Module.pm:get
_semaphore(977)|created 'master:centos5-linuxkvm8-98-v0' Semaphore object, 
memory address: 2179cfe0 2012-06-07 
16:42:46|27378|484:476|reload|utils.pm:run_ssh_command(4928)|executing SSH 
command on BC1-12: |27378|484:476|reload| /usr/bin/ssh -i /etc/vcl/vcl.key -o 
StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o 
ConnectionAttempts=1 -o ConnectTimeout=3 -l root -p 22 -x BC1-12 'stat 
\/var\/lib\/libvirt\/images\/baseImages\/centos5\-linuxkvm8\-98\-v0\.xml' 21 
2012-06-07 
16:42:46|27378|484:476|reload|utils.pm:run_ssh_command(5046)|run_ssh_command 
output: |27378|484:476|reload| File: 
`/var/lib/libvirt/images/baseImages/centos5-linuxkvm8-98-v0.xml' 
|27378|484:476|reload| Size: 16 Blocks: 0 IO Block: 65536 regular file 
|27378|484:476|reload| Device: 1bh/27d Inode: 24549393 Links: 1 
|27378|484:476|reload| Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ 
root) |27378|484:476|reload| Access: 2012-06-07 16:45:02.507151000 -0400 
|27378|484:476|reload| Modify: 2012-06-07 16:45:02.
507153000 -0400 |27378|484:476|reload| Change: 2012-06-07 16:45:02.507153000 
-0400 2012-06-07 
16:42:46|27378|484:476|reload|utils.pm:run_ssh_command(5060)|SSH command 
executed on BC1-12, returning (0, File: `/var/lib/libvirt/images...) 
2012-06-07 
16:42:46|27378|484:476|reload|Linux.pm:file_exists(1335)|'/var/lib/libvirt/images/baseImages/centos5-linuxkvm8-98-v0.xml'
 exists on BC1-12, files: 1, directories: 0, links: 0 2012-06-07 
16:42:46|27378|484:476|reload|libvirt.pm:does_image_exist(478)|centos5-linuxkvm8-98-v0
 image exists on BC1-12: 
/var/lib/libvirt/images/baseImages/centos5-linuxkvm8-98-v0.xml

--
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


On Thursday, June 7, 2012 at 14:18 , Dmitri Chebotarov wrote:

 
 Hi
 
 
 
 Has anyone tried KVM support in 2.3?
 
 I got it working to a point where I can capture a Linux image and able to 
 reload a VM computer with new KVM-based image via 'Manage Computers'.
 The VM

Preferred Password under User Preferences ?

2012-05-25 Thread Dmitri Chebotarov
Hi 

Would it be possible, and is it good idea in general due to possible security 
risks, to add Preferred Password field on User Preferences page (under RDP 
File Preferences or Personal Information?) to allow user to provide a password 
for all his/her reservations? 

Then VCL would use this password (if it's there) for reservations instead of 
auto-generated password. 

This is not an auto-connect option, but at least it will make it easier to use 
VCL.
For the last couple days I've been using VCL for some testing and it would be 
nice to have the same password for all my reservations.

--
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: Andy Kurth as PMC chair after graduation

2012-05-24 Thread Dmitri Chebotarov
+1 


--
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


On Thursday, May 24, 2012 at 11:44 , Hidalgo, Rommel wrote:

 +1
 
 
 Rommel Hidalgo
 Division of Information Technology
 California State University, Fullerton
 rhida...@fullerton.edu (mailto:rhida...@fullerton.edu)
 
 
 -Original Message-
 From: Aaron Coburn [mailto:acob...@amherst.edu] 
 Sent: Thursday, May 24, 2012 8:04 AM
 To: vcl-dev@incubator.apache.org (mailto:vcl-dev@incubator.apache.org)
 Subject: [VOTE] Andy Kurth as PMC chair after graduation
 
 All,
 
 I would like to nominate Andy Kurth as the first VCL chair. This is a 
 position that is responsible for the proper operation of the VCL project. 
 Selecting someone for this position is also a necessary step in the process 
 of graduating from incubator status to a top-level Apache project.
 
 For those of you interested in the details, they can be found here:
 
 http://incubator.apache.org/guides/graduation.html#tlp-resolution
 
 The process is like so: anyone can nominate a person to serve in this role, 
 and these nominations are discussed and voted upon in the community. Based on 
 the consensus from the community, the PPMC (Podling Project Management 
 Committee) makes a recommendation to the ASF Board, which actually appoints 
 the chair.
 
 -Aaron Coburn
 
 
 --
 Aaron Coburn
 Systems Administrator and Programmer
 Academic Technology Services, Amherst College 
 acob...@amherst.edumailto:acob...@amherst.edu
 
 




Re: Max Number of VMs per Host

2012-05-24 Thread Dmitri Chebotarov
Here is some info:  

http://myvirtualcloud.net/?p=1155

This is for VMware View which could be approximated to VCL.

There is also limits per VMFS datastore (if you not using NFS).  
I have seen different recommendations for VM number per ESXi host per shared 
VMFS - VMWare recommends 16 VMs per Host for shared VMFS for VMFS-v3.

What hypervisor do use for VCL?

Thanks.   


--
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


On Thursday, May 24, 2012 at 11:42 , Young h Oh wrote:

 Normally, you can calculate the average number of VMs depends on the 
 computing power (CPU). For example, 1 physical core can supports 2 VMs with 2 
 GB RAM. If you have 2 CPUs with 16 cores, then you might run 32VMs with 64GB 
 RAM. However,  the max number of VMs per host depends on variable facts as Al 
 Quiros mentioned, In addition to Al's comments, you might also consider the 
 application you want to run on guest VMs. If applications are more 
 computation intensive, the number of CPUs would be important fact to decide 
 the max number of VMs per host.  
  
  In our environment, we don't use VMware but running  RHEL 6 x64 with KVM on 
 IBM blade hosts with 16 CPUs and 24GB RAM. We run average 15 Windows XP VMs 
 with 1GB memory without much performance overhead. However, we can run  up to 
 22 VMs  but the performance was not good.  
  
 Best regards,
 
 Young Hyun Oh
 IBM Tivoli  
  
 Evelio Quiros ---05/24/2012 10:58:12 AM---Hello, As you know, the number of 
 Virtual Machines per host depends on available resources (CPU, RAM
  
 From: Evelio Quiros evq...@fiu.edu (mailto:evq...@fiu.edu)
 To: vcl-u...@incubator.apache.org (mailto:vcl-u...@incubator.apache.org) 
 vcl-u...@incubator.apache.org (mailto:vcl-u...@incubator.apache.org), 
 'vcl-dev@incubator.apache.org (mailto:vcl-dev@incubator.apache.org)' 
 vcl-dev@incubator.apache.org (mailto:vcl-dev@incubator.apache.org),  
 Date: 05/24/2012 10:58 AM
 Subject: Re: Max Number of VMs per Host
  
  
  
 Hello,
  
 As you know, the number of Virtual Machines per host depends on available 
 resources (CPU, RAM, Disk), as well as the demands of the image.  
 As a general guide, I have found the following to be reasonable. Other 
 admins, please share your opinions.
  
 For a single VM host with 12 virtual CPU and 98 GB RAM, I typically allocate 
 25 Windows VM. When necessary, I have raised it to 32 Windows XP machines. 
 For linux based images, I have used 50 VM without issues. Monitor the 
 performance tab on your vSphere client to see if the host is over-worked.  
 On Virtual Machines that require higher performance, I usually will not place 
 them on a host with more than 10 working VM. But the most important thing is 
 to watch the performance closely. You will get a feel for how many VM per 
 host by experience.
 As always, your mileage may vary.
  
 Regards,
 Al Quiros
 Florida International University
  
  
 From: Sanders, Arbin D asand...@nccu.edu (mailto:asand...@nccu.edu)
 Reply-To: vcl-u...@incubator.apache.org 
 (mailto:vcl-u...@incubator.apache.org) vcl-u...@incubator.apache.org 
 (mailto:vcl-u...@incubator.apache.org)
 Date: Wednesday, May 23, 2012 3:53 PM
 To: 'vcl-dev@incubator.apache.org (mailto:'vcl-dev@incubator.apache.org)' 
 vcl-dev@incubator.apache.org (mailto:vcl-dev@incubator.apache.org), 
 'vcl-u...@incubator.apache.org (mailto:'vcl-u...@incubator.apache.org)' 
 vcl-u...@incubator.apache.org (mailto:vcl-u...@incubator.apache.org)
 Subject: Max Number of VMs per Host
  
 All,
   
 What is the number of VMs do you all run per VMware host? Is it limited to 
 the RAM limitation for vSphere 5? How many purchase vSphere licenses?
   
 Arbin Darren Sanders
   
 IT Manager – Academic Computing
 North Carolina Central University
 712 Cecil Street
 Suite 3014
 Durham, NC 27707
 919.530.6307
 919.530.5097 (Fax)
   
 For the Latest ITS Updates and Tips Join Us Online  
   
 CONFIDENTIALITY: This email (including any attachments) may contain 
 confidential, proprietary and privileged information, and unauthorized 
 disclosure or use is prohibited. If you received this email in error, please 
 notify the sender and delete this e-mail from your system.

  
 __
 This email has been scanned by the Symantec Email Security.cloud service.
 For more information please visit http://www.symanteccloud.com 
 (http://www.symanteccloud.com/)
 __  
  
  
  




Re: Using VMware as the Hypervisor

2012-05-15 Thread Dmitri Chebotarov
Arbin,

VCL is using non-persistent disks for all reservations. 
There is nothing to copy/load during reservation since all ESXi hosts use 
shared storage for all VM Images (Data Store Path: this has to be on shared 
datastore). 
Then you have a 2nd datastore where ESXi keeps deltas for running images (VM 
Path: this can be local or shared datastore).

During reservation, VCL will 1st check if there is an available computer with 
the image requested. 
If there is one then it will be used for current reservation (this when you see 
load times  1 min on GUI).
If there is no image available then VCL will create new VM (create .vmx file 
and upload to ESXi host and register it). The new VM will use non-persistent 
disk(s), so no .vmdk copied.
This process takes time needed to create VM and start it on ESXi host.

When you create new image or update existing image VCL will copy .vmdk files, 
which sometime takes considerable amount of time. 


--
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


On Tuesday, May 15, 2012 at 15:45 , Sanders, Arbin D wrote:

 Thanks!
 
 Arbin Darren Sanders
  
 IT Manager - Academic Computing
 North Carolina Central University
 712 Cecil Street
 Suite 3014
 Durham, NC 27707
 919.530.6307
 919.530.5097 (Fax)
 
 For the Latest ITS Updates and Tips Join Us Online 
  
 CONFIDENTIALITY: This email (including any attachments) may contain 
 confidential, proprietary and privileged information, and unauthorized 
 disclosure or use is prohibited. If you received this email in error, please 
 notify the sender and delete this e-mail from your system.
 
 
 -Original Message-
 From: Mani Shafa'atDoost [mailto:mani.do...@gmail.com] 
 Sent: Tuesday, May 15, 2012 3:21 PM
 To: vcl-dev@incubator.apache.org (mailto:vcl-dev@incubator.apache.org)
 Subject: Re: Using VMware as the Hypervisor
 
 There are a bunch of images in the system and when you request to load an 
 image from VCL website, it save your request in the database. and then in the 
 management node, it checks for new request and copy the requested image to 
 another place and change the VMX file and then call ESXI to register the 
 Image.
 
 Best Regards
 Mani
 
 On Tue, May 15, 2012 at 2:50 PM, Sanders, Arbin D asand...@nccu.edu 
 (mailto:asand...@nccu.edu) wrote:
 
  I hope this isn't a stupid question, but how does VMware hypervisor 
  know which image to load? Is the image just sitting there waiting to 
  be used or does it load it from the image repository?
  
  ** **
  
  *Arbin Darren Sanders*
  
  
  
  IT Manager - Academic Computing
  
  North Carolina Central University
  
  712 Cecil Street
  
  Suite 3014
  
  Durham, NC 27707
  
  919.530.6307
  
  919.530.5097 (Fax)
  
  ** **
  
  *For the Latest ITS Updates and Tips Join Us Online** ** **[image:
  Description: Description: Description: Description:
  cid:image003.png@01CB6AD0.97665900]*http://www.facebook.com/profile.php?id=66100342#%21/pages/Durham-NC/NCCU-Eagle-Technical-Assistance-Center-ETAC/249508718552?v=info
  * *[image: Description: Description: Description: Description:
  cid:image004.png@01CB6AD0.97665900] http://twitter.com/NCCUETAC
  
  
  
  CONFIDENTIALITY: This email (including any attachments) may contain 
  confidential, proprietary and privileged information, and unauthorized 
  disclosure or use is prohibited. If you received this email in error, 
  please notify the sender and delete this e-mail from your system.
  
  ** **
  
  __
  This email has been scanned by the Symantec Email Security.cloud service.
  For more information please visit http://www.symanteccloud.com 
  __
  
 
 
 __
 This email has been scanned by the Symantec Email Security.cloud service.
 For more information please visit http://www.symanteccloud.com 
 __
 
 __
 This email has been scanned by the Symantec Email Security.cloud service.
 For more information please visit http://www.symanteccloud.com
 __
 
 




Re: 2.3 nearing release

2012-05-10 Thread Dmitri Chebotarov
Hello

I've updated https://issues.apache.org/jira/browse/VCL-579 issue:
- attached ESXi.pm module
- added comments on how to use it.

I'm not sure if this should be included in 2.3, probably not. The module will 
need more testing.
I've created it based on my idea how it could be used at GMU and we haven't 
deployed it yet. So there is no real-world testing/usage for this module. I 
have only tested it in sandbox environment. 

--
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


On Wednesday, May 9, 2012 at 15:53 , Josh Thompson wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 All,
 
 2.3 appears to be nearing a release. There are 9 JIRA issues still open. I'd 
 like to aim for *Wednesday of next week* to cut a release candidate. Please 
 try to have any changes you want included in 2.3 submitted and tested by then.
 
 Please look through parts of the code that you maintain for any files that 
 have not been updated in 6 months or so to make sure necessary files have 
 been 
 updated and any old stuff has been cleaned out. Specifically, looking under 
 some of the backend code at the modules, the following items have not been 
 updated in 6 months. If you maintain any of these, please let me know if they 
 should be included in the release. If not, I'll drop them since they have not 
 been touched in a while. (Is someone going to commit Dmitri's updates for the 
 ESXi.pm OS module?).
 
 managementnode/lib/VCL/Module/OS/Linux/ESXi.pm
 managementnode/lib/VCL/Module/OS/Linux/ManagementNode.pm
 managementnode/lib/VCL/Module/OS/Linux/UnixLab.pm
 managementnode/lib/VCL/Module/OS/Windows/Version_5/2003.pm
 managementnode/lib/VCL/Module/OS/Windows/Version_5/XP.pm
 managementnode/lib/VCL/Module/OS/Windows/Version_6/2008.pm
 managementnode/lib/VCL/Module/OS/Windows/Version_6/7.pm
 managementnode/lib/VCL/Module/OS/Windows/Version_6/Vista.pm
 managementnode/lib/VCL/Module/Provisioning/esx.README
 managementnode/lib/VCL/Module/Provisioning/esx.pm
 managementnode/lib/VCL/Module/Provisioning/esxthin.README
 managementnode/lib/VCL/Module/Provisioning/esxthin.pm
 managementnode/lib/VCL/Module/Provisioning/helloworld.pm
 managementnode/lib/VCL/Module/Provisioning/vbox.pm
 managementnode/lib/VCL/Module/Provisioning/vmware.pm
 managementnode/lib/VCL/Module/Provisioning/xCAT21.pm
 managementnode/lib/VCL/Module/Provisioning/VMware/vmware_cmd.pm
 
 If anyone needs help setting up an area to test code, NCSU may be able to 
 provide you with some resources to do that - just let us know.
 
 As a reminder, the release process is to cut a release candidate (RC) and 
 post 
 that to my web space at ASF. Then, I'll start a vote thread on the lists that 
 will remain open for at least 72 hours. If we have a positive vote without 
 any major concerns, the vote passes our community. Then, I'll post a summary 
 of our vote to the Incubator PMC, where another vote will take place that 
 will 
 be open for at least 72 hours (after we graduate, this 2nd vote will no 
 longer 
 be needed). Once that passes, I'll create a release artifact from the RC, 
 publish it, and announce the release.
 
 Thanks,
 Josh
 ASF VCL release manager
 - -- 
 - ---
 Josh Thompson
 VCL Developer
 North Carolina State University
 
 my GPG/PGP key can be found at pgp.mit.edu
 
 All electronic mail messages in connection with State business which
 are sent to or received by this account are subject to the NC Public
 Records Law and may be disclosed to third parties.
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.17 (GNU/Linux)
 
 iEYEARECAAYFAk+qyzYACgkQV/LQcNdtPQMhlACeKyZxw27jM7tC3tdleQlRJNml
 o/AAnRYlBNV0iCjRodxJnqDyFyLW96vx
 =wdot
 -END PGP SIGNATURE-
 
 




Re: VCL 2.3

2012-05-08 Thread Dmitri Chebotarov

I've tried to use dojo v1.7.2, it didn't work for me. I currently have v1.6.1 
and it seems to work fine. 
I don't have custom built profiles, it doesn't look like it effects ability to 
use front-end.



--
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


On Tuesday, May 8, 2012 at 10:46 , Aaron Coburn wrote:

 Josh,
 I am setting up a fresh install of the VCL off of trunk to test the new code. 
 I am wondering, however, about Dojo -- first, there is no information in the 
 INSTALLATION or UPGRADE files about dojo. Second, is it necessary to use the 
 Dojo Toolkit v1.6 or will v1.7.2 (the current release) work? 
 
 And where can I find the custom built profiles? They don't seem to be in the 
 repository. The web code seems to be looking for them in the dojo/dojo/ 
 directory, but wouldn't it make more sense to put those in the js/ directory 
 and keep the contents of the dojo directory limited to the actual dojo 
 release?
 
 Thanks!
 Aaron Coburn
 
 On May 1, 2012, at 1:50 PM, Josh Thompson wrote:
 
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
  
  You'll also need to download the Dojo Toolkit v1.6, put it in the main web 
  code directory, and name it 'dojo'. You'll see some errors about a missing 
  .js file for most of the pages, but you can ignore them - the missing files 
  are custom compiled dojo profiles for VCL that will be included in the 
  release. When they are missing, dojo just uses everything from the dojo 
  release.
  
  Josh
  
  On Tuesday, May 01, 2012 1:37:19 PM Aaron Peeler wrote:
   Hi Dmitri,
   
   Yes. The svn repo is:
   https://svn.apache.org/repos/asf/incubator/vcl/trunk
   
   I've completed the UPGRADE notes:
   https://svn.apache.org/repos/asf/incubator/vcl/trunk/UPGRADE
   
   So it might be easier to do a 2.2.1 install and follow the upgrade
   notes, but use svn co from truck to /root/apache-VCL-23-incubating,
   since there isn't a release candidate yet
   
   I try to run through and update the INSTALLATION file tomorrow.
   
   https://svn.apache.org/repos/asf/incubator/vcl/trunk/INSTALLATION
   
   Aaron
   
   On Tue, May 1, 2012 at 1:11 PM, Dmitri Chebotarov dcheb...@gmu.edu 
   (mailto:dcheb...@gmu.edu) wrote:
Hi

Is it possible to checkout VCL 2.2.3 code? What is the SVN/GIT address?

I'm getting test servers ready for VCL 2.2.3. Also looking for long-term
server reservations options and been reading that VCL 2.2.3 provides
support for this.

Are there any docs/drafts on the install procedure and requirement for
2.2.3?

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

   
   
  
  - -- 
  - ---
  Josh Thompson
  VCL Developer
  North Carolina State University
  
  my GPG/PGP key can be found at pgp.mit.edu
  
  All electronic mail messages in connection with State business which
  are sent to or received by this account are subject to the NC Public
  Records Law and may be disclosed to third parties.
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v2.0.17 (GNU/Linux)
  
  iEYEARECAAYFAk+gIlsACgkQV/LQcNdtPQPZpQCeN29V1cZ989+C3ATpdUjnaHJj
  zbUAnRmC1XXDUviAKvrRGIMS82prdNJ9
  =DC1p
  -END PGP SIGNATURE-
  
 
 
 
 
 
 Attachments: 
 - smime.p7s
 




[jira] [Work started] (VCL-579) provision ESXi as an end-user environment

2012-05-07 Thread Dmitri Chebotarov (JIRA)

 [ 
https://issues.apache.org/jira/browse/VCL-579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on VCL-579 started by Dmitri Chebotarov.

 provision ESXi as an end-user environment
 -

 Key: VCL-579
 URL: https://issues.apache.org/jira/browse/VCL-579
 Project: VCL
  Issue Type: New Feature
  Components: database, vcld (backend)
Reporter: Aaron Peeler
Assignee: Dmitri Chebotarov
 Fix For: 2.4


 Provision ESX environment for end-user.
 Requires extending the  ESX OS module or creating a new one to preform user 
 reservation tasks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (VCL-579) provision ESXi as an end-user environment

2012-05-07 Thread Dmitri Chebotarov (JIRA)

 [ 
https://issues.apache.org/jira/browse/VCL-579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitri Chebotarov updated VCL-579:
--

Attachment: ESXi.pm

File ESXi.pm attached

 provision ESXi as an end-user environment
 -

 Key: VCL-579
 URL: https://issues.apache.org/jira/browse/VCL-579
 Project: VCL
  Issue Type: New Feature
  Components: database, vcld (backend)
Reporter: Aaron Peeler
Assignee: Dmitri Chebotarov
 Fix For: 2.4

 Attachments: ESXi.pm


 Provision ESX environment for end-user.
 Requires extending the  ESX OS module or creating a new one to preform user 
 reservation tasks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (VCL-579) provision ESXi as an end-user environment

2012-05-07 Thread Dmitri Chebotarov (JIRA)

[ 
https://issues.apache.org/jira/browse/VCL-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13269718#comment-13269718
 ] 

Dmitri Chebotarov commented on VCL-579:
---

xCAT needs to be configured and working. Should be able to deploy a ESXi server 
using KS script. 
KS script needs to add external interface and shared ISO storage (optional), 
i.e.:

esxcfg-vswitch -A 'Public VM Network' vSwitch1
esxcfg-vswitch -v vlanID -p 'Public VM Network' vSwitch1

esxcfg-nas -a 'Shared ISO Library' -o NFS_server_IP -s /path/to/volume -y

External interface will have vmk1 name. 

/etc/vcl/vcld.conf needs to have following keys:

ESXI_STORAGE_NAME_PREFIX=NFS_Storage # ESXi.pm will add _$user to this key
ESXI_STORAGE_ADDRESS=IP or FQDN of NFS server
ESXI_STORAGE_VOLUME=/path/to/exported/volume

 provision ESXi as an end-user environment
 -

 Key: VCL-579
 URL: https://issues.apache.org/jira/browse/VCL-579
 Project: VCL
  Issue Type: New Feature
  Components: database, vcld (backend)
Reporter: Aaron Peeler
Assignee: Dmitri Chebotarov
 Fix For: 2.4

 Attachments: ESXi.pm


 Provision ESX environment for end-user.
 Requires extending the  ESX OS module or creating a new one to preform user 
 reservation tasks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (VCL-579) provision ESXi as an end-user environment

2012-05-07 Thread Dmitri Chebotarov (JIRA)

[ 
https://issues.apache.org/jira/browse/VCL-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13269723#comment-13269723
 ] 

Dmitri Chebotarov commented on VCL-579:
---

Some notes:

  * sub grand_access() configures the ESXi server after user clicked Connect! 
button:
  - it will mount user's storage, 
  - add user, set reservation password (this requires a change in 
/etc/pam.d/system-auth to allow less complex passwords used be VCL) and add 
admin role.
  - it also scans and register all VMs on user's storage, so user is presented 
with all the VM he/she already have, just need to power ON. 

* sub sanitize() will return 1 if user never clicked the Connect! button. ESXi 
image won't be reloaded, it take some time to reload bare-metal on HS22 
server...

 provision ESXi as an end-user environment
 -

 Key: VCL-579
 URL: https://issues.apache.org/jira/browse/VCL-579
 Project: VCL
  Issue Type: New Feature
  Components: database, vcld (backend)
Reporter: Aaron Peeler
Assignee: Dmitri Chebotarov
 Fix For: 2.4

 Attachments: ESXi.pm


 Provision ESX environment for end-user.
 Requires extending the  ESX OS module or creating a new one to preform user 
 reservation tasks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Issue Comment Edited] (VCL-579) provision ESXi as an end-user environment

2012-05-07 Thread Dmitri Chebotarov (JIRA)

[ 
https://issues.apache.org/jira/browse/VCL-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13269723#comment-13269723
 ] 

Dmitri Chebotarov edited comment on VCL-579 at 5/7/12 4:03 PM:
---

Some notes:

  * sub grand_access() configures the ESXi server after user click Connect! 
button:
  - it mounts user's NFS storage, 
  - add user, set reservation password (this requires a change in 
/etc/pam.d/system-auth to allow less complex passwords used be VCL) and add 
admin role.
  - it also scans and register all VMs on user's storage, so user is presented 
with all the VM he/she already have, just need to power ON. 

* sub sanitize() will return 1 if user never clicked the Connect! button. ESXi 
image won't be reloaded, it take some time to reload bare-metal on HS22 
server...

  was (Author: dimach):
Some notes:

  * sub grand_access() configures the ESXi server after user clicked Connect! 
button:
  - it will mount user's storage, 
  - add user, set reservation password (this requires a change in 
/etc/pam.d/system-auth to allow less complex passwords used be VCL) and add 
admin role.
  - it also scans and register all VMs on user's storage, so user is presented 
with all the VM he/she already have, just need to power ON. 

* sub sanitize() will return 1 if user never clicked the Connect! button. ESXi 
image won't be reloaded, it take some time to reload bare-metal on HS22 
server...
  
 provision ESXi as an end-user environment
 -

 Key: VCL-579
 URL: https://issues.apache.org/jira/browse/VCL-579
 Project: VCL
  Issue Type: New Feature
  Components: database, vcld (backend)
Reporter: Aaron Peeler
Assignee: Dmitri Chebotarov
 Fix For: 2.4

 Attachments: ESXi.pm


 Provision ESX environment for end-user.
 Requires extending the  ESX OS module or creating a new one to preform user 
 reservation tasks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Issue Comment Edited] (VCL-579) provision ESXi as an end-user environment

2012-05-07 Thread Dmitri Chebotarov (JIRA)

[ 
https://issues.apache.org/jira/browse/VCL-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13269718#comment-13269718
 ] 

Dmitri Chebotarov edited comment on VCL-579 at 5/7/12 4:06 PM:
---

xCAT needs to be configured and working. Should be able to deploy a ESXi server 
using KS script. 
KS script needs to add external interface and shared ISO storage (optional), 
i.e.:

esxcfg-vswitch -A 'Public VM Network' vSwitch1
esxcfg-vswitch -v vlanID -p 'Public VM Network' vSwitch1

esxcfg-nas -a 'Shared ISO Library' -o NFS_server_IP -s /path/to/volume -y

/etc/vcl/vcld.conf needs to have following keys:

ESXI_STORAGE_NAME_PREFIX=NFS_Storage # ESXi.pm will add _$user to this key
ESXI_STORAGE_ADDRESS=IP or FQDN of NFS server
ESXI_STORAGE_VOLUME=/path/to/exported/volume

  was (Author: dimach):
xCAT needs to be configured and working. Should be able to deploy a ESXi 
server using KS script. 
KS script needs to add external interface and shared ISO storage (optional), 
i.e.:

esxcfg-vswitch -A 'Public VM Network' vSwitch1
esxcfg-vswitch -v vlanID -p 'Public VM Network' vSwitch1

esxcfg-nas -a 'Shared ISO Library' -o NFS_server_IP -s /path/to/volume -y

ESXi.pm module runs 'esxcfg-vmknic -l' on reserved ESXi server and looks for IP 
address assigned to vmk1 interface. 

/etc/vcl/vcld.conf needs to have following keys:

ESXI_STORAGE_NAME_PREFIX=NFS_Storage # ESXi.pm will add _$user to this key
ESXI_STORAGE_ADDRESS=IP or FQDN of NFS server
ESXI_STORAGE_VOLUME=/path/to/exported/volume
  
 provision ESXi as an end-user environment
 -

 Key: VCL-579
 URL: https://issues.apache.org/jira/browse/VCL-579
 Project: VCL
  Issue Type: New Feature
  Components: database, vcld (backend)
Reporter: Aaron Peeler
Assignee: Dmitri Chebotarov
 Fix For: 2.4

 Attachments: ESXi.pm


 Provision ESX environment for end-user.
 Requires extending the  ESX OS module or creating a new one to preform user 
 reservation tasks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Issue Comment Edited] (VCL-579) provision ESXi as an end-user environment

2012-05-07 Thread Dmitri Chebotarov (JIRA)

[ 
https://issues.apache.org/jira/browse/VCL-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13269723#comment-13269723
 ] 

Dmitri Chebotarov edited comment on VCL-579 at 5/7/12 4:06 PM:
---

Some notes:

  * sub grand_access() configures the ESXi server after user click Connect! 
button:
  - it mounts user's NFS storage, 
  - add user, set reservation password (this requires a change in 
/etc/pam.d/system-auth to allow less complex passwords used be VCL) and add 
admin role.
  - it also scans and register all VMs on user's storage, so user is presented 
with all the VM he/she already have, just need to power ON. 

* sub sanitize() will return 1 if user never clicked the Connect! button. ESXi 
image won't be reloaded, it take some time to reload bare-metal on HS22 
server...

* to get Public IP address, ESXi.pm module runs 'esxcfg-vmknic -l' on reserved 
ESXi server and looks for IP address assigned to vmk1 interface. 


  was (Author: dimach):
Some notes:

  * sub grand_access() configures the ESXi server after user click Connect! 
button:
  - it mounts user's NFS storage, 
  - add user, set reservation password (this requires a change in 
/etc/pam.d/system-auth to allow less complex passwords used be VCL) and add 
admin role.
  - it also scans and register all VMs on user's storage, so user is presented 
with all the VM he/she already have, just need to power ON. 

* sub sanitize() will return 1 if user never clicked the Connect! button. ESXi 
image won't be reloaded, it take some time to reload bare-metal on HS22 
server...
  
 provision ESXi as an end-user environment
 -

 Key: VCL-579
 URL: https://issues.apache.org/jira/browse/VCL-579
 Project: VCL
  Issue Type: New Feature
  Components: database, vcld (backend)
Reporter: Aaron Peeler
Assignee: Dmitri Chebotarov
 Fix For: 2.4

 Attachments: ESXi.pm


 Provision ESX environment for end-user.
 Requires extending the  ESX OS module or creating a new one to preform user 
 reservation tasks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Issue Comment Edited] (VCL-579) provision ESXi as an end-user environment

2012-05-07 Thread Dmitri Chebotarov (JIRA)

[ 
https://issues.apache.org/jira/browse/VCL-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13269718#comment-13269718
 ] 

Dmitri Chebotarov edited comment on VCL-579 at 5/7/12 4:05 PM:
---

xCAT needs to be configured and working. Should be able to deploy a ESXi server 
using KS script. 
KS script needs to add external interface and shared ISO storage (optional), 
i.e.:

esxcfg-vswitch -A 'Public VM Network' vSwitch1
esxcfg-vswitch -v vlanID -p 'Public VM Network' vSwitch1

esxcfg-nas -a 'Shared ISO Library' -o NFS_server_IP -s /path/to/volume -y

ESXi.pm module runs 'esxcfg-vmknic -l' on reserved ESXi server and looks for IP 
address assigned to vmk1 interface. 

/etc/vcl/vcld.conf needs to have following keys:

ESXI_STORAGE_NAME_PREFIX=NFS_Storage # ESXi.pm will add _$user to this key
ESXI_STORAGE_ADDRESS=IP or FQDN of NFS server
ESXI_STORAGE_VOLUME=/path/to/exported/volume

  was (Author: dimach):
xCAT needs to be configured and working. Should be able to deploy a ESXi 
server using KS script. 
KS script needs to add external interface and shared ISO storage (optional), 
i.e.:

esxcfg-vswitch -A 'Public VM Network' vSwitch1
esxcfg-vswitch -v vlanID -p 'Public VM Network' vSwitch1

esxcfg-nas -a 'Shared ISO Library' -o NFS_server_IP -s /path/to/volume -y

External interface will have vmk1 name. 

/etc/vcl/vcld.conf needs to have following keys:

ESXI_STORAGE_NAME_PREFIX=NFS_Storage # ESXi.pm will add _$user to this key
ESXI_STORAGE_ADDRESS=IP or FQDN of NFS server
ESXI_STORAGE_VOLUME=/path/to/exported/volume
  
 provision ESXi as an end-user environment
 -

 Key: VCL-579
 URL: https://issues.apache.org/jira/browse/VCL-579
 Project: VCL
  Issue Type: New Feature
  Components: database, vcld (backend)
Reporter: Aaron Peeler
Assignee: Dmitri Chebotarov
 Fix For: 2.4

 Attachments: ESXi.pm


 Provision ESX environment for end-user.
 Requires extending the  ESX OS module or creating a new one to preform user 
 reservation tasks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Issue Comment Edited] (VCL-579) provision ESXi as an end-user environment

2012-05-07 Thread Dmitri Chebotarov (JIRA)

[ 
https://issues.apache.org/jira/browse/VCL-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13269718#comment-13269718
 ] 

Dmitri Chebotarov edited comment on VCL-579 at 5/7/12 4:07 PM:
---

xCAT needs to be configured and working. Should be able to deploy a ESXi server 
using KS script. 
KS script needs to add external interface and shared ISO storage (optional), 
i.e.:

esxcfg-vswitch -A 'Public VM Network' vSwitch1
esxcfg-vswitch -v vlanID -p 'Public VM Network' vSwitch1
esxcfg-nas -a 'Shared ISO Library' -o NFS_server_IP -s /path/to/volume -y

/etc/vcl/vcld.conf needs to have following keys:

ESXI_STORAGE_NAME_PREFIX=NFS_Storage # ESXi.pm will add _$user to this key
ESXI_STORAGE_ADDRESS=IP or FQDN of NFS server
ESXI_STORAGE_VOLUME=/path/to/exported/volume

  was (Author: dimach):
xCAT needs to be configured and working. Should be able to deploy a ESXi 
server using KS script. 
KS script needs to add external interface and shared ISO storage (optional), 
i.e.:

esxcfg-vswitch -A 'Public VM Network' vSwitch1
esxcfg-vswitch -v vlanID -p 'Public VM Network' vSwitch1

esxcfg-nas -a 'Shared ISO Library' -o NFS_server_IP -s /path/to/volume -y

/etc/vcl/vcld.conf needs to have following keys:

ESXI_STORAGE_NAME_PREFIX=NFS_Storage # ESXi.pm will add _$user to this key
ESXI_STORAGE_ADDRESS=IP or FQDN of NFS server
ESXI_STORAGE_VOLUME=/path/to/exported/volume
  
 provision ESXi as an end-user environment
 -

 Key: VCL-579
 URL: https://issues.apache.org/jira/browse/VCL-579
 Project: VCL
  Issue Type: New Feature
  Components: database, vcld (backend)
Reporter: Aaron Peeler
Assignee: Dmitri Chebotarov
 Fix For: 2.4

 Attachments: ESXi.pm


 Provision ESX environment for end-user.
 Requires extending the  ESX OS module or creating a new one to preform user 
 reservation tasks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




Re: VCL running on Dell Hardware

2012-05-01 Thread Dmitri Chebotarov
Hi Arbin,  

I don't believe VCL is hardware specific, unless you need bare-metal 
provisioning (xCAT).  
Any hardware which is capable of running ESXi will work for VCL. With older 
hardware you may see some performance issues, but as a test-bed it will work 
fine.  

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 Tuesday, May 1, 2012 at 12:49 , Sanders, Arbin D wrote:

  
 Has anyone been able to get this working? I am looking at creating a test bed 
 with some older Dell Servers we have.
  
  
   
  
  
 Arbin Darren Sanders
  
  
   
  
  
 IT Manager – Academic Computing
  
  
 North Carolina Central University
  
  
 712 Cecil Street
  
  
 Suite 3014
  
  
 Durham, NC 27707
  
  
 919.530.6307
  
  
 919.530.5097 (Fax)
  
  
   
  
  
 For the Latest ITS Updates and Tips Join Us Online  
  
  
   
  
  
 CONFIDENTIALITY: This email (including any attachments) may contain 
 confidential, proprietary and privileged information, and unauthorized 
 disclosure or use is prohibited. If you received this email in error, please 
 notify the sender and delete this e-mail from your system.
  
  
   
  
  
  
 __
 This email has been scanned by the Symantec Email Security.cloud service.
 For more information please visit http://www.symanteccloud.com
 __



VCL 2.2.3

2012-05-01 Thread Dmitri Chebotarov
Hi 

Is it possible to checkout  VCL 2.2.3 code? What is the SVN/GIT address?

I'm getting test servers ready for VCL 2.2.3. Also looking for long-term server 
reservations options and been reading that VCL 2.2.3 provides support for this.

Are there any docs/drafts on the install procedure and requirement for 2.2.3?

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



Development environment for VCL

2012-04-17 Thread Dmitri Chebotarov
Hi, All  

I'm looking for some help on how to setup development environment for VCL 
back-end development.
I already have working VCL system. I need to debug and troubleshoot new code 
and changes I plan to make to VCL. 

I use Komodo IDE. Would it possible to just hit 'run' button and follow the 
code via IDE? 
Right now I run vcld and watch vcld.log for errors, then come back to the code 
to correct issues.

I'm working on ESXi.pm module - trying to make reservations for ESXi 4.1 
server.  

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