Re: Problems in Ubuntu image creation

2011-11-15 Thread Huang,Lei
Alex, 

  Thanks for your answers. How can I make sure the OS model is
os_linux_ubuntu. I don't see any option in the vcld -setup menu to choose
ubuntu. Only option for linux is generic vmware linux.

  Regarding the network, Ubuntu uses /etc/network/interfaces. After
creating ifcfg-eth0 to if cfg-eth6, will Ubuntu look for the ifcfg-eth*
for network configuration, instead of /etc/network/interfaces?

Thanks,
Lei


On 11/15/11 11:49 AM, "Alexander Patterson"
 wrote:

>Hello,
>
>I have got Ubuntu 11.04 32 Bit* working with the VCL for our campus
>Make sure that
>OS model should be
>os_linux_ubuntuUbuntu Linux OS Module  
>VCL::Module::OS::Linux::Ubuntu
>The OS should be
>vmwareubuntu   Vmware Ubuntu   linux   vmware  vmware_images
>
>
>Go into your /etc/sysconfig/network-scripts/
>You should make sure that you created ifcfg-eth0 to ifcfg-eth6, hear me
>out.
>
>I have all 6 on Auto, I had noticed that sometimes a eth3 would show
>up as a eth0 or the number can be off on the adapter numbering, so it
>was easy to add more adapters that are not there but set to auto if
>they show up, the image would kick off.
>I used just this information according to
>https://cwiki.apache.org/confluence/display/VCL/Create+a+Linux+Base+Image
>
>DEVICE=eth0
>BOOTPROTO=dhcp
>ONBOOT=yes
>
>We are using DHCP, not static so it's a bit different then your setup.
>But I can let you know that it works.
>-Alex
>
>
>On Thu, Nov 10, 2011 at 11:31 PM, Huang,Lei  wrote:
>> Dear all,
>>   I have to bother you again. I tried to create an Ubuntu image, but I
>>found
>> some problems during the base image creation. Ubuntu
>> uses /etc/network/interfaces to manage networks, but I see VCL is still
>> looking for ifcfg-eth0 and ifcfg-eth1. Another problem was unable to
>> determine the disk type, which I am not sure if it is specific to
>>Ubuntu.
>>   Does VCL support Ubuntu image?
>>
>> Thanks,
>> Lei Huang
>> 
>> 2011-11-11
>> 
>>01:18:43|14199|856:856|image|Linux.pm:set_static_public_address(508)|atte
>>mpting
>> to set static public IP address on vmguest-1:
>> |14199|856:856|image| public interface name: eth1
>> |14199|856:856|image| public IP address: 129.207.46.17
>> |14199|856:856|image| public subnet mask: 255.255.255.0
>> |14199|856:856|image| public default gateway: 129.207.46.1
>> |14199|856:856|image| public DNS server(s): 8.8.8.8
>> 2011-11-11
>> 
>>01:18:43|14199|856:856|image|Linux.pm:set_static_public_address(514)|publ
>>ic
>> interface ifcfg file path: /etc/sysconfig/network-scripts/ifcfg-eth1
>> |14199|856:856|image|  WARNING 
>> |14199|856:856|image| 2011-11-11
>> 
>>01:19:04|14199|856:856|image|Linux.pm:set_static_public_address(534)|fail
>>ed
>> to recreate /etc/sysconfig/network-scripts/ifcfg-eth1 on vmguest-1, exit
>> status: 1, command: 'echo "DEVICE=eth1
>> |14199|856:856|image| BOOTPROTO=static
>> |14199|856:856|image| IPADDR=129.207.46.17
>> |14199|856:856|image| NETMASK=255.255.255.0
>> |14199|856:856|image| STARTMODE=onboot
>> |14199|856:856|image| ONBOOT=yes
>> |14199|856:856|image| " > /etc/sysconfig/network-scripts/ifcfg-eth1',
>> output:
>> |14199|856:856|image| bash: line 6:
>> /etc/sysconfig/network-scripts/ifcfg-eth1: No such file or directory
>> |14199|856:856|image| ( 0) Linux.pm, set_static_public_address (line:
>>534)
>> |14199|856:856|image| (-1) Linux.pm, pre_capture (line: 154)
>> |14199|856:856|image| (-2) VMware.pm, capture (line: 556)
>> |14199|856:856|image| (-3) image.pm, process (line: 162)
>> |14199|856:856|image| (-4) vcld, make_new_child (line: 568)
>> |14199|856:856|image| (-5) vcld, main (line: 346)
>>
>>
>> Š..
>>
>>
>> |14199|856:856|image|  WARNING 
>> |14199|856:856|image| 2011-11-11
>> 
>>01:21:58|14199|856:856|image|vmware_cmd.pm:get_virtual_disk_type(593)|una
>>ble
>> to determine disk type configured in 'vmwarelinux-ubuntuLab63-v0.vmdk',
>> command: 'grep -i createType
>> 
>>"/install/vmware_files/vmwarelinux-ubuntuLab63-v0/vmwarelinux-ubuntuLab63
>>-v0.vmdk"',
>> output:
>> |14199|856:856|image| Binary file
>> 
>>/install/vmware_files/vmwarelinux-ubuntuLab63-v0/vmwarelinux-ubuntuLab63-
>>v0.vmdk
>> matches
>> |14199|856:856|image| ( 0) vmware_cmd.pm, get_virtual_disk_type (line:
>>593)
>> |14199|856:856|image| (-1) VMware.pm, capture (line: 615)
>> |14199|856:856|image| (-2) image.pm, process (line: 162)
>> |14199|856:

Problems in Ubuntu image creation

2011-11-10 Thread Huang,Lei
Dear all,

  I have to bother you again. I tried to create an Ubuntu image, but I found 
some problems during the base image creation. Ubuntu uses 
/etc/network/interfaces to manage networks, but I see VCL is still looking for 
ifcfg-eth0 and ifcfg-eth1. Another problem was unable to determine the disk 
type, which I am not sure if it is specific to Ubuntu.

  Does VCL support Ubuntu image?

Thanks,
Lei Huang



2011-11-11 
01:18:43|14199|856:856|image|Linux.pm:set_static_public_address(508)|attempting 
to set static public IP address on vmguest-1:
|14199|856:856|image| public interface name: eth1
|14199|856:856|image| public IP address: 129.207.46.17
|14199|856:856|image| public subnet mask: 255.255.255.0
|14199|856:856|image| public default gateway: 129.207.46.1
|14199|856:856|image| public DNS server(s): 8.8.8.8
2011-11-11 
01:18:43|14199|856:856|image|Linux.pm:set_static_public_address(514)|public 
interface ifcfg file path: /etc/sysconfig/network-scripts/ifcfg-eth1
|14199|856:856|image|  WARNING 
|14199|856:856|image| 2011-11-11 
01:19:04|14199|856:856|image|Linux.pm:set_static_public_address(534)|failed to 
recreate /etc/sysconfig/network-scripts/ifcfg-eth1 on vmguest-1, exit status: 
1, command: 'echo "DEVICE=eth1
|14199|856:856|image| BOOTPROTO=static
|14199|856:856|image| IPADDR=129.207.46.17
|14199|856:856|image| NETMASK=255.255.255.0
|14199|856:856|image| STARTMODE=onboot
|14199|856:856|image| ONBOOT=yes
|14199|856:856|image| " > /etc/sysconfig/network-scripts/ifcfg-eth1', output:
|14199|856:856|image| bash: line 6: /etc/sysconfig/network-scripts/ifcfg-eth1: 
No such file or directory
|14199|856:856|image| ( 0) Linux.pm, set_static_public_address (line: 534)
|14199|856:856|image| (-1) Linux.pm, pre_capture (line: 154)
|14199|856:856|image| (-2) VMware.pm, capture (line: 556)
|14199|856:856|image| (-3) image.pm, process (line: 162)
|14199|856:856|image| (-4) vcld, make_new_child (line: 568)
|14199|856:856|image| (-5) vcld, main (line: 346)



…..



|14199|856:856|image|  WARNING 
|14199|856:856|image| 2011-11-11 
01:21:58|14199|856:856|image|vmware_cmd.pm:get_virtual_disk_type(593)|unable to 
determine disk type configured in 'vmwarelinux-ubuntuLab63-v0.vmdk', command: 
'grep -i createType 
"/install/vmware_files/vmwarelinux-ubuntuLab63-v0/vmwarelinux-ubuntuLab63-v0.vmdk"',
 output:
|14199|856:856|image| Binary file 
/install/vmware_files/vmwarelinux-ubuntuLab63-v0/vmwarelinux-ubuntuLab63-v0.vmdk
 matches
|14199|856:856|image| ( 0) vmware_cmd.pm, get_virtual_disk_type (line: 593)
|14199|856:856|image| (-1) VMware.pm, capture (line: 615)
|14199|856:856|image| (-2) image.pm, process (line: 162)
|14199|856:856|image| (-3) vcld, make_new_child (line: 568)
|14199|856:856|image| (-4) vcld, main (line: 346)
|14199|856:856|image|  WARNING 
|14199|856:856|image| 2011-11-11 
01:21:58|14199|856:856|image|VMware.pm:capture(616)|failed to determine the 
virtual disk type of the vmdk being captured: 
/install/vmware_files/vmwarelinux-ubuntuLab63-v0/vmwarelinux-ubuntuLab63-v0.vmdk
|14199|856:856|image| ( 0) VMware.pm, capture (line: 616)
|14199|856:856|image| (-1) image.pm, process (line: 162)
|14199|856:856|image| (-2) vcld, make_new_child (line: 568)
|14199|856:856|image| (-3) vcld, main (line: 346)
|14199|856:856|image|  WARNING 
|14199|856:856|image| 2011-11-11 
01:21:58|14199|856:856|image|VMware.pm:capture(662)|failed to find the vmdk 
files on VM host CSB302 to copy back to the managment node's image repository
|14199|856:856|image| ( 0) VMware.pm, capture (line: 662)
|14199|856:856|image| (-1) image.pm, process (line: 162)
|14199|856:856|image| (-2) vcld, make_new_child (line: 568)
|14199|856:856|image| (-3) vcld, main (line: 346)
2011-11-11 
01:21:58|14199|856:856|image|Linux.pm:file_exists(1404)|'/install/vmware_files/vmwarelinux-ubuntuLab63-v0/vmwarelinux-ubuntuLab63-v0.vmdk'
 exists on CSB302, files: 1, directories: 0, links: 0
2011-11-11 01:21:58|14199|856:856|image|Linux.pm:file_exists(1390)|file or 
directory does not exist on CSB302: '/install/vmware_files/Lubuntu/Lubuntu.vmdk'
2011-11-11 01:21:58|14199|856:856|image|VMware.pm:rename_vmdk(5026)|attempting 
to rename vmdk: 
'/install/vmware_files/vmwarelinux-ubuntuLab63-v0/vmwarelinux-ubuntuLab63-v0.vmdk'
 --> '/install/vmware_files/Lubuntu/Lubuntu.vmdk'
2011-11-11 
01:21:59|14199|856:856|image|Linux.pm:create_directory(1524)|directory already 
exists on CSB302: '/install/vmware_files/Lubuntu'
2011-11-11 
01:21:59|14199|856:856|image|VMware.pm:rename_vmdk(5049)|'move_virtual_disk' 
subroutine has not been implemented by the API: 
VCL::Module::Provisioning::VMware::vmware_cmd
2011-11-11 01:21:59|14199|856:856|image|VMware.pm:rename_vmdk(5056)|attempting 
to rename vmdk file using vmware-vdiskmanager: 
/install/vmware_files/vmwarelinux-ubuntuLab63-v0/vmwarelinux-ubuntuLab63-v0.vmdk
 --> /install/vmware_files/Lubuntu/Lubuntu.vmdk
2011-11-11 01:21:59|14199|856:856|image|VMware.pm:rename_vmdk(5063)|renamed 

Re: another problem for image reservation

2011-11-02 Thread Huang,Lei
Aaron,

 Thanks. The question is why the old module using Vmware Server GSX works.
If I switch back to Vmware server GSX, windows image works fine.In this
case, ssh can log into the image. Do I need to switch back?

Thanks,
Lei

On 11/2/11 1:37 PM, "Aaron Peeler"  wrote:

>Hi Lei,
>
>The issue in the log output is related to ssh is not responding.
>
>Double check that you can log into vmguest-1 or vmguest-3 via ssh (you
>have a couple of different reservations in your log output).
>
>Things to check are to;
>make sure your vmguest-X machines are getting the correct dhcp IP address.
>make sure cygwin sshd service is started.
>
>Aaron
>
>
>
>On Wed, Nov 2, 2011 at 2:22 PM, Huang,Lei  wrote:
>> Hi All,
>>
>>  I have encountered another problem after upgraded to 2.2.1. Per Aaron's
>> suggestion, I changed my Vmguests provisioning engine to Vmware from
>> Vmware Server GSX. However, my Windows XP image failed to reserve after
>> the change. From the log, I found that it looks for
>> 'C:/Windows/System32/qwinsta.exe' and 'C:/Windows/System32/sc.exe config
>> sshd start= auto'. However, both them are not found on my XP image. Do I
>> need to update my XP image? The image works fine on Vmware Server GSX
>> provision engine. The following is the log.
>>
>> Thanks,
>> Lei
>>
>> ==
>>
>> |15314|780:780|new|  WARNING 
>> |15314|780:780|new| 2011-11-02
>> 12:58:21|15314|780:780|new|Windows.pm:is_64_bit(8095)|unable to find
>> registry value line in reg.exe output:
>> |15314|780:780|new| bash: reg.exe: command not found
>> |15314|780:780|new| ( 0) Windows.pm, is_64_bit (line: 8095)
>> |15314|780:780|new| (-1) Windows.pm, get_system32_path (line: 8146)
>> |15314|780:780|new| (-2) Windows.pm, user_logged_in (line: 8342)
>> |15314|780:780|new| (-3) Windows.pm, wait_for_logoff (line: 8440)
>> |15314|780:780|new| (-4) Windows.pm, post_load (line: 602)
>> |15314|780:780|new| (-5) VMware.pm, load (line: 415)
>>
>> 2011-11-02
>> 12:58:21|15314|780:780|new|Windows.pm:get_system32_path(8152)|32-bit
>> Windows OS installed on vmguest-3, using C:/Windows/System32
>> 2011-11-02
>> 12:58:21|15314|780:780|new|Windows.pm:user_logged_in(8356)|checking if
>> root is logged in to vmguest-3
>> 2011-11-02
>> 12:58:21|15314|780:780|new|utils.pm:run_ssh_command(5380)|executing SSH
>> command on vmguest-3:
>> |15314|780:780|new| /usr/bin/ssh -i /etc/vcl/vcl.key  -o
>> StrictHostKeyChecking=no -l root -p 22 -x vmguest-3
>> 'C:/Windows/System32/qwinsta.exe' 2>&1
>> 2011-11-02
>> 12:58:25|15241|779:779|new|Module.pm:code_loop_timeout(759)|attempt 5:
>> waiting for vmguest-1 to respond to SSH
>> 2011-11-02
>> 12:58:25|15241|779:779|new|OS.pm:is_ssh_responding(386)|vmguest-1 is NOT
>> responding to SSH, ports 22 or 24 are both closed
>> 2011-11-02
>> 12:58:25|15241|779:779|new|Module.pm:code_loop_timeout(755)|attempt 5:
>> code returned false, seconds elapsed/remaining: 34/866, sleeping for 8
>> seconds
>> 2011-11-02 12:58:26|12831|vcld:main(167)|lastcheckin time updated for
>> management node 1: 2011-11-02 12:58:26
>> 2011-11-02
>>
>>12:58:26|15410|778:778|reserved|DataStructure.pm:get_reservation_remote_i
>>p(
>> 1093)|reservation remote IP is not defined
>> 2011-11-02
>>
>>12:58:27|15314|780:780|new|utils.pm:run_ssh_command(5464)|run_ssh_command
>> output:
>> |15314|780:780|new| bash: C:/Windows/System32/qwinsta.exe: No such file
>>or
>> directory
>> 2011-11-02 12:58:27|15314|780:780|new|utils.pm:run_ssh_command(5474)|SSH
>> command executed on vmguest-3, command:
>> |15314|780:780|new| /usr/bin/ssh -i /etc/vcl/vcl.key  -o
>> StrictHostKeyChecking=no -l root -p 22 -x vmguest-3
>> 'C:/Windows/System32/qwinsta.exe' 2>&1
>> |15314|780:780|new| returning (127, "bash: C:/Windows/System32/qwin...")
>>
>> |15314|780:780|new|  WARNING 
>> |15314|780:780|new| 2011-11-02
>> 12:58:27|15314|780:780|new|Windows.pm:user_logged_in(8361)|failed to run
>> qwinsta.exe on vmguest-3, exit status: 127, output:
>> |15314|780:780|new| bash: C:/Windows/System32/qwinsta.exe: No such file
>>or
>> directory
>> |15314|780:780|new| ( 0) Windows.pm, user_logged_in (line: 8361)
>> |15314|780:780|new| (-1) Windows.pm, wait_for_logoff (line: 8440)
>> |15314|780:780|new| (-2) Windows.pm, post_load (line: 602)
>> |15314|780:780|new| (-3) VMware.pm, load (line: 415)
>> |15314|780:780|new| (-4) new.pm, reload_image (line: 618

another problem for image reservation

2011-11-02 Thread Huang,Lei
Hi All, 

  I have encountered another problem after upgraded to 2.2.1. Per Aaron's
suggestion, I changed my Vmguests provisioning engine to Vmware from
Vmware Server GSX. However, my Windows XP image failed to reserve after
the change. From the log, I found that it looks for
'C:/Windows/System32/qwinsta.exe' and 'C:/Windows/System32/sc.exe config
sshd start= auto'. However, both them are not found on my XP image. Do I
need to update my XP image? The image works fine on Vmware Server GSX
provision engine. The following is the log.

Thanks,
Lei

==

|15314|780:780|new|  WARNING 
|15314|780:780|new| 2011-11-02
12:58:21|15314|780:780|new|Windows.pm:is_64_bit(8095)|unable to find
registry value line in reg.exe output:
|15314|780:780|new| bash: reg.exe: command not found
|15314|780:780|new| ( 0) Windows.pm, is_64_bit (line: 8095)
|15314|780:780|new| (-1) Windows.pm, get_system32_path (line: 8146)
|15314|780:780|new| (-2) Windows.pm, user_logged_in (line: 8342)
|15314|780:780|new| (-3) Windows.pm, wait_for_logoff (line: 8440)
|15314|780:780|new| (-4) Windows.pm, post_load (line: 602)
|15314|780:780|new| (-5) VMware.pm, load (line: 415)

2011-11-02 
12:58:21|15314|780:780|new|Windows.pm:get_system32_path(8152)|32-bit
Windows OS installed on vmguest-3, using C:/Windows/System32
2011-11-02 
12:58:21|15314|780:780|new|Windows.pm:user_logged_in(8356)|checking if
root is logged in to vmguest-3
2011-11-02 
12:58:21|15314|780:780|new|utils.pm:run_ssh_command(5380)|executing SSH
command on vmguest-3:
|15314|780:780|new| /usr/bin/ssh -i /etc/vcl/vcl.key  -o
StrictHostKeyChecking=no -l root -p 22 -x vmguest-3
'C:/Windows/System32/qwinsta.exe' 2>&1
2011-11-02 
12:58:25|15241|779:779|new|Module.pm:code_loop_timeout(759)|attempt 5:
waiting for vmguest-1 to respond to SSH
2011-11-02 
12:58:25|15241|779:779|new|OS.pm:is_ssh_responding(386)|vmguest-1 is NOT
responding to SSH, ports 22 or 24 are both closed
2011-11-02 
12:58:25|15241|779:779|new|Module.pm:code_loop_timeout(755)|attempt 5:
code returned false, seconds elapsed/remaining: 34/866, sleeping for 8
seconds
2011-11-02 12:58:26|12831|vcld:main(167)|lastcheckin time updated for
management node 1: 2011-11-02 12:58:26
2011-11-02 
12:58:26|15410|778:778|reserved|DataStructure.pm:get_reservation_remote_ip(
1093)|reservation remote IP is not defined
2011-11-02 
12:58:27|15314|780:780|new|utils.pm:run_ssh_command(5464)|run_ssh_command
output:
|15314|780:780|new| bash: C:/Windows/System32/qwinsta.exe: No such file or
directory
2011-11-02 12:58:27|15314|780:780|new|utils.pm:run_ssh_command(5474)|SSH
command executed on vmguest-3, command:
|15314|780:780|new| /usr/bin/ssh -i /etc/vcl/vcl.key  -o
StrictHostKeyChecking=no -l root -p 22 -x vmguest-3
'C:/Windows/System32/qwinsta.exe' 2>&1
|15314|780:780|new| returning (127, "bash: C:/Windows/System32/qwin...")

|15314|780:780|new|  WARNING 
|15314|780:780|new| 2011-11-02
12:58:27|15314|780:780|new|Windows.pm:user_logged_in(8361)|failed to run
qwinsta.exe on vmguest-3, exit status: 127, output:
|15314|780:780|new| bash: C:/Windows/System32/qwinsta.exe: No such file or
directory
|15314|780:780|new| ( 0) Windows.pm, user_logged_in (line: 8361)
|15314|780:780|new| (-1) Windows.pm, wait_for_logoff (line: 8440)
|15314|780:780|new| (-2) Windows.pm, post_load (line: 602)
|15314|780:780|new| (-3) VMware.pm, load (line: 415)
|15314|780:780|new| (-4) new.pm, reload_image (line: 618)
|15314|780:780|new| (-5) new.pm, process (line: 248)

2011-11-02 
12:58:27|15314|780:780|new|Windows.pm:wait_for_logoff(8441)|root is NOT
logged in to vmguest-3, returning 1
2011-11-02 
12:58:27|15314|780:780|new|utils.pm:run_ssh_command(5380)|executing SSH
command on vmguest-3:
|15314|780:780|new| /usr/bin/ssh -i /etc/vcl/vcl.key  -o
StrictHostKeyChecking=no -l root -p 22 -x vmguest-3
'C:/Windows/System32/qwinsta.exe' 2>&1
2011-11-02 12:58:31|12831|vcld:main(167)|lastcheckin time updated for
management node 1: 2011-11-02 12:58:31
2011-11-02 
12:58:31|15410|778:778|reserved|DataStructure.pm:get_reservation_remote_ip(
1093)|reservation remote IP is not defined
2011-11-02 
12:58:32|15314|780:780|new|utils.pm:run_ssh_command(5464)|run_ssh_command
output:
|15314|780:780|new| bash: C:/Windows/System32/qwinsta.exe: No such file or
directory
2011-11-02 12:58:32|15314|780:780|new|utils.pm:run_ssh_command(5474)|SSH
command executed on vmguest-3, command:
|15314|780:780|new| /usr/bin/ssh -i /etc/vcl/vcl.key  -o
StrictHostKeyChecking=no -l root -p 22 -x vmguest-3
'C:/Windows/System32/qwinsta.exe' 2>&1
|15314|780:780|new| returning (127, "bash: C:/Windows/System32/qwin...")

|15314|780:780|new|  WARNING 
|15314|780:780|new| 2011-11-02
12:58:32|15314|780:780|new|Windows.pm:logoff_users(1437)|failed to run
qwinsta.exe on vmguest-3, exit status: 127, output:
|15314|780:780|new| bash: C:/Windows/System32/qwinsta.exe: No such file or
directory
|15314|780:780|new| ( 0) Windows.pm, logoff_users (line: 1437)
|15314|780:780|new| (-1) Windows.pm,

Re: Reservation/reload errors

2011-11-01 Thread Huang,Lei
Thanks everyone for your help. I changed my timezone to CDT, and the
timezone in .ht-inc/conf.php as America/Chicago. It works now! I am not
sure why it worked before without the time synced.

Thanks,
Lei Huang



On 11/1/11 7:28 AM, "Aaron Peeler"  wrote:

>Lei,
>
>A couple of more things to check.
>
>You mentioned  No functional management node.
>
>Make sure vcld is running on your management node.
>
>Make sure it is checking in.
>Management Node -> Edit Management node info. You should see a time
>stamp of the last checkin.
>If the management node, web server, and database are different hosts,
>make sure the time is in sync.
>
>Aaron
>
>
>
>On Mon, Oct 31, 2011 at 6:00 PM,   wrote:
>> If you make a new group of computers, you have to go to management node
>>menu and maping and check the vmcomputers group
>>
>> I hope this tip will help you
>>
>>
>> Juan José Zamanillo
>>
>> -Original Message-
>> From: "Huang,Lei" 
>> Date: Mon, 31 Oct 2011 16:45:21
>> To: vcl-user@incubator.apache.org
>> Reply-To: vcl-user@incubator.apache.org
>> Subject: RE: Reservation/reload errors
>>
>> Hi Alex,
>>
>>  Thanks for your quick answers. I checked the image options and
>>compared with vmguests, everything look fine to me. The system worked
>>just fine before, and I just found the problem today. None of images
>>works now. Even when I change the status of a vmguest to maintenance, it
>>fails:
>>
>> The following computers currently have reservations on them but no
>>functional management node was found for them. Nothing will be done with
>>them at this time: vmguest-1
>>
>>
>>  However, there is no reservations at all on the system. Any other
>>suggestions?
>>
>> Thanks,
>> Lei
>>
>>
>> 
>> From: Alexander Patterson [alexander.patter...@csueastbay.edu]
>> Sent: Monday, October 31, 2011 4:30 PM
>> To: vcl-user@incubator.apache.org
>> Subject: Re: Reservation/reload errors
>>
>> Hello Huang Lei,
>>
>> Go to Manage Images
>>
>> Then Click on Edit of whatever image you are having this issue with
>>
>> Click on advanced Options
>> Make sure that Available for checkout is listed and the Machines RAM
>> CPU speed match the VM's numbers that you have in your pool
>>
>>
>> For example
>> 2400mhz
>> 1.5ghz of ram
>> 100mbps network card
>> 1 core
>>
>> I have machines with the same spec that can be loaded on this.
>>
>> Also check the Maximum concurrent users is not capped?
>>
>> Selection not currently available
>> Means there are no computers with whatever spec ready to be loaded on
>> so it's not available.
>>
>> You should have a vmguest-5 in your manage Computer
>>
>> Click on Manage Computer, then Edit Computer Information
>> Click on vmguest-5 click on EDIT
>>
>> Make sure your information is correct and will work with the same
>> spec's your image is.
>>
>> Hope this helps
>> -Alex
>>
>>
>> When you see
>> On Mon, Oct 31, 2011 at 2:19 PM, Huang,Lei  wrote:
>>> Dear all,
>>>
>>>  Our VCL stops working when I try to reserve any images. It always
>>>says that "Selection not currently available" all images.
>>>
>>>   I see that all computers and vmguests are available, and I can log
>>>into these nodes too. When I try to reload an image for a vmguest,
>>>there is the following error message:
>>>
>>> No functional management node was found for the following computers.
>>>They could not be reloaded at this time:
>>> vmguest-5
>>>
>>>  I don't see anything special in the log file either. I wonder if
>>>anyone has seen this problem before, and how to reset the system.
>>>
>>> Thanks,
>>> Lei Huang
>>
>>
>>
>> --
>> Thanks,
>> Alex  Patterson
>> User Support Services
>> Operating System Analyst
>> California State University, East Bay
>
>
>
>-- 
>Aaron Peeler
>Program Manager
>Virtual Computing Lab
>NC State University
>
>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.



RE: Reservation/reload errors

2011-10-31 Thread Huang,Lei
Hi Alex,

  Thanks for your quick answers. I checked the image options and compared with 
vmguests, everything look fine to me. The system worked just fine before, and I 
just found the problem today. None of images works now. Even when I change the 
status of a vmguest to maintenance, it fails: 

The following computers currently have reservations on them but no functional 
management node was found for them. Nothing will be done with them at this 
time: vmguest-1


  However, there is no reservations at all on the system. Any other suggestions?

Thanks,
Lei



From: Alexander Patterson [alexander.patter...@csueastbay.edu]
Sent: Monday, October 31, 2011 4:30 PM
To: vcl-user@incubator.apache.org
Subject: Re: Reservation/reload errors

Hello Huang Lei,

Go to Manage Images

Then Click on Edit of whatever image you are having this issue with

Click on advanced Options
Make sure that Available for checkout is listed and the Machines RAM
CPU speed match the VM's numbers that you have in your pool


For example
2400mhz
1.5ghz of ram
100mbps network card
1 core

I have machines with the same spec that can be loaded on this.

Also check the Maximum concurrent users is not capped?

Selection not currently available
Means there are no computers with whatever spec ready to be loaded on
so it's not available.

You should have a vmguest-5 in your manage Computer

Click on Manage Computer, then Edit Computer Information
Click on vmguest-5 click on EDIT

Make sure your information is correct and will work with the same
spec's your image is.

Hope this helps
-Alex


When you see
On Mon, Oct 31, 2011 at 2:19 PM, Huang,Lei  wrote:
> Dear all,
>
>  Our VCL stops working when I try to reserve any images. It always says that 
> "Selection not currently available" all images.
>
>   I see that all computers and vmguests are available, and I can log into 
> these nodes too. When I try to reload an image for a vmguest, there is the 
> following error message:
>
> No functional management node was found for the following computers. They 
> could not be reloaded at this time:
> vmguest-5
>
>  I don't see anything special in the log file either. I wonder if anyone has 
> seen this problem before, and how to reset the system.
>
> Thanks,
> Lei Huang



--
Thanks,
Alex  Patterson
User Support Services
Operating System Analyst
California State University, East Bay

Reservation/reload errors

2011-10-31 Thread Huang,Lei
Dear all, 

  Our VCL stops working when I try to reserve any images. It always says that 
"Selection not currently available" all images. 
  
   I see that all computers and vmguests are available, and I can log into 
these nodes too. When I try to reload an image for a vmguest, there is the 
following error message:

No functional management node was found for the following computers. They could 
not be reloaded at this time:
vmguest-5

  I don't see anything special in the log file either. I wonder if anyone has 
seen this problem before, and how to reset the system.

Thanks,
Lei Huang

RE: questions regarding creating base images

2011-10-07 Thread Huang,Lei
Aaron,

   Never mind my previous email. I have figured out the problem. The repository 
path was set wrong. It works now. Thanks a lot for your help.

Lei


From: Huang,Lei [lhu...@pvamu.edu]
Sent: Friday, October 07, 2011 3:36 PM
To: aaron_pee...@ncsu.edu
Cc: vcl-user@incubator.apache.org
Subject: RE: questions regarding creating base images

Aaron,

  Thanks for the information. I upgraded to VMware server 2.0, but have 
encountered some other issues. I have restored it to 1.0 now.

  Yes, I am using VCL 2.2.1. I changed the provision module to 'VMware' and see 
more progress for the capturing base image. However, it still failed at the 
end. Can you please see what the problem is this time?

Thanks again,
Lei

=

2011-10-07 15:02:06|624|607:607|image|Module.pm:code_loop_timeout(742)|waiting 
for vmguest-3 to power off, maximum of 600 seconds
2011-10-07 15:02:06|624|607:607|image|Module.pm:code_loop_timeout(759)|attempt 
1: waiting for vmguest-3 to power off
2011-10-07 
15:02:06|624|607:607|image|vmware_cmd.pm:get_vm_power_state(242)|power state of 
VM 'CentOS5_5-base10-v0.vmx': off
2011-10-07 15:02:06|624|607:607|image|Module.pm:code_loop_timeout(762)|waiting 
for vmguest-3 to power off, code returned true
2011-10-07 
15:02:07|624|607:607|image|Linux.pm:file_exists(1404)|'/install/vmware_files/CentOS5_5-base10-v0/CentOS5_5-base10-v0.vmdk'
 exists on CSB303, files: 1, directories: 0, links: 0
2011-10-07 15:02:07|624|607:607|image|Linux.pm:file_exists(1390)|file or 
directory does not exist on CSB303: 
'/install/vmware_files/vmwarelinux-MyCentOS357-v0/vmwarelinux-MyCentOS357-v0.vmdk'
2011-10-07 15:02:07|624|607:607|image|VMware.pm:rename_vmdk(5026)|attempting to 
rename vmdk: 
'/install/vmware_files/CentOS5_5-base10-v0/CentOS5_5-base10-v0.vmdk' --> 
'/install/vmware_files/vmwarelinux-MyCentOS357-v0/vmwarelinux-MyCentOS357-v0.vmdk'
2011-10-07 15:02:07|624|607:607|image|Linux.pm:create_directory(1520)|directory 
created on CSB303: '/install/vmware_files/vmwarelinux-MyCentOS357-v0'
2011-10-07 
15:02:07|624|607:607|image|VMware.pm:rename_vmdk(5049)|'move_virtual_disk' 
subroutine has not been implemented by the API: 
VCL::Module::Provisioning::VMware::vmware_cmd
2011-10-07 15:02:07|624|607:607|image|VMware.pm:rename_vmdk(5056)|attempting to 
rename vmdk file using vmware-vdiskmanager: 
/install/vmware_files/CentOS5_5-base10-v0/CentOS5_5-base10-v0.vmdk --> 
/install/vmware_files/vmwarelinux-MyCentOS357-v0/vmwarelinux-MyCentOS357-v0.vmdk
2011-10-07 15:02:07|624|607:607|image|VMware.pm:rename_vmdk(5063)|renamed vmdk 
file by executing 'vmware-vdiskmanager' command on VM host:
|624|607:607|image| command: vmware-vdiskmanager -n 
"/install/vmware_files/CentOS5_5-base10-v0/CentOS5_5-base10-v0.vmdk" 
"/install/vmware_files/vmwarelinux-MyCentOS357-v0/vmwarelinux-MyCentOS357-v0.vmdk"
|624|607:607|image| output: Using log file /tmp/vmware-root/vdiskmanager.log
|624|607:607|image| Renaming completed successfully.
2011-10-07 
15:02:07|624|607:607|image|Linux.pm:file_exists(1404)|'/install/vmware_files' 
exists on CSB303, files: 0, directories: 1, links: 0
2011-10-07 
15:02:07|624|607:607|image|VMware.pm:is_repository_mounted_on_vmhost(5485)|image
 repository is mounted on VM host CSB303: /install/vmware_files
2011-10-07 15:02:07|624|607:607|image|VMware.pm:capture(596)|vmdk will be 
copied directly from VM host CSB303 to the image repository in the 2gbsparse 
disk format
2011-10-07 
15:02:08|624|607:607|image|VMware.pm:get_vmhost_product_name(5405)|VMware 
product being used on VM host CSB303: 'VMware Server 1.0.10 build-203137'
2011-10-07 
15:02:08|624|607:607|image|Linux.pm:file_exists(1404)|'/install/vmware_files/vmwarelinux-MyCentOS357-v0/vmwarelinux-MyCentOS357-v0.vmdk'
 exists on CSB303, files: 1, directories: 0, links: 0
2011-10-07 
15:02:08|624|607:607|image|Linux.pm:file_exists(1404)|'/install/vmware_files/vmwarelinux-MyCentOS357-v0/vmwarelinux-MyCentOS357-v0.vmdk'
 exists on CSB303, files: 1, directories: 0, links: 0
|624|607:607|image|  WARNING 
|624|607:607|image| 2011-10-07 
15:02:08|624|607:607|image|VMware.pm:copy_vmdk(4781)|destination vmdk file path 
already exists on VM host CSB303: 
/install/vmware_files/vmwarelinux-MyCentOS357-v0/vmwarelinux-MyCentOS357-v0.vmdk
|624|607:607|image| ( 0) VMware.pm, copy_vmdk (line: 4781)
|624|607:607|image| (-1) VMware.pm, capture (line: 600)
|624|607:607|image| (-2) image.pm, process (line: 162)
|624|607:607|image| (-3) vcld, make_new_child (line: 568)
|624|607:607|image| (-4) vcld, main (line: 346)
|624|607:607|image|  WARNING 
|624|607:607|image| 2011-10-07 
15:02:08|624|607:607|image|VMware.pm:capture(604)|failed to copy the vmdk files 
after the VM was powered off: 
'/install/vmware_files/vmwarelinux-MyCentOS357-v0/vmwarelinux-MyC

RE: questions regarding creating base images

2011-10-07 Thread Huang,Lei
ttempting 
to retrieve and store data for user: user.id = '1'
2011-10-07 15:02:10|624|607:607|image|utils.pm:getnewdbh(2709)|database 
requested (vcl) does not match handle stored in $ENV{dbh} 
(information_schema:localhost)
2011-10-07 15:02:10|624|607:607|image|utils.pm:getnewdbh(2760)|database handle 
stored in $ENV{dbh}
2011-10-07 
15:02:10|624|607:607|image|DataStructure.pm:retrieve_user_data(1415)|data has 
been retrieved for user: admin (id: 1)
2011-10-07 15:02:11|624|607:607|image|utils.pm:mail(1268)|SUCCESS -- Sending 
mail To: 0, PROBLEM -- 
607:607|image|image.pm|vmguest-3>CSB303|vmwarelinux-MyCentOS357-v0|admin
|624|607:607|image|  CRITICAL 
|624|607:607|image| 2011-10-07 
15:02:10|624|607:607|image|image.pm:reservation_failed(385)|vmwarelinux-MyCentOS357-v0
 image creation failed
|624|607:607|image| ( 0) image.pm, reservation_failed (line: 385)
|624|607:607|image| (-1) image.pm, process (line: 167)
|624|607:607|image| (-2) vcld, make_new_child (line: 568)
|624|607:607|image| (-3) vcld, main (line: 346)
2011-10-07 15:02:11|624|607:607|image|utils.pm:mail(1268)|SUCCESS -- Sending 
mail To: root@localhost, VCL -- NOTICE DELAY Image Creation MyCentOS3



From: Aaron Peeler [aaron_pee...@ncsu.edu]
Sent: Thursday, October 06, 2011 8:33 AM
To: Huang,Lei
Cc: vcl-user@incubator.apache.org
Subject: Re: questions regarding creating base images

No you don't need to upgrade 2.0. IMO, 2.x is more flakey than 1.x and
will cause you other issues.

If you were to upgrade, I'd recommend to use ESXi.


First, just to make sure, are you using the VCL 2.2.1 release?

If so, you should be able to fix this problem by changing the computer
provisioning module to 'VMware' for each of your vmguest computers.

Aaron


On Wed, Oct 5, 2011 at 4:36 PM, Huang,Lei  wrote:
> Aaron,
>
>  My current setting is using Vmware Server GSX. Do I need to upgrade my
> VM server from 1.0 to 2.0?
>
> Thanks,
> Lei
>
> On 10/5/11 1:33 PM, "Aaron Peeler"  wrote:
>
>>It looks like your using an older vmware provisioning module called
>>vmware.pm.
>>
>>It should be using the newer one under
>>/../vcl/lib/VCL/Module/Provisioning/VMware/VMware.pm
>>
>>Please check the vm compute nodes in your vcl interface for vmguest-1
>>and vmguest-2.
>>
>>Manage computers -> Select all computers
>>Select Edit Computer Information
>>Make sure Provisioning Engine is selected
>>
>>Hit submit
>>
>>Make sure it says VMware
>>
>>Can you also send the sql output of the below query from your database?
>>This is going to help us make sure the VMware provisioning name listed
>>in the VCL interface is using the correct perl module.
>>
>>On your management node at the mysql command line or via phpmyadmin,
>>run this query on the vcl database.
>>
>>SELECT computer.hostname,provisioning.*,module.perlpackage FROM
>>computer,provisioning, module WHERE computer.hostname like '%vmguest%'
>>AND provisioning.id = computer.provisioningid AND module.id =
>>provisioning.id
>>
>>Thanks,
>>Aaron
>>
>>On Wed, Oct 5, 2011 at 1:54 PM, Huang,Lei  wrote:
>>> Aaron,
>>>Here is some log  information. Please let me know if you need any
>>>more.
>>> Thanks,
>>> Lei
>>> ===
>>> 2011-10-05
>>> 10:24:38|26273|565:565|image|utils.pm:run_scp_command(5636)|copied file
>>>via
>>> SCP: 'vmguest-1:/etc/init.d/sshd' --> '/tmp/565.ext_sshd'
>>> 2011-10-05
>>>
>>>10:24:38|26273|565:565|image|Linux.pm:generate_ext_sshd_init(2359)|copied
>>> sshd init script from vmguest-1 for local processing
>>> 2011-10-05
>>> 10:24:38|26273|565:565|image|Linux.pm:generate_ext_sshd_init(2369)|read
>>>file
>>> /tmp/565.ext_sshd into array
>>> 2011-10-05
>>> 10:24:38|26273|565:565|image|utils.pm:run_scp_command(5600)|attempting
>>>to
>>> copy file via SCP: '/tmp/565.ext_sshd' -->
>>>'vmguest-1:/etc/init.d/ext_sshd'
>>> 2011-10-05
>>> 10:24:38|26273|565:565|image|utils.pm:run_scp_command(5636)|copied file
>>>via
>>> SCP: '/tmp/565.ext_sshd' --> 'vmguest-1:/etc/init.d/ext_sshd'
>>> 2011-10-05
>>>
>>>10:24:38|26273|565:565|image|Linux.pm:generate_ext_sshd_init(2425)|copied
>>> /tmp/565.ext_sshd to vmguest-1:/etc/init.d/ext_sshd
>>> 2011-10-05
>>> 10:24:38|26273|565:565|image|utils.pm:run_ssh_command(5380)|executing
>>>SSH
>>> command on vmguest-1:
>>> |26273|565:565|image| /usr/bin/ssh -i /etc/vcl/v

Re: questions regarding creating base images

2011-10-05 Thread Huang,Lei
Aaron, 

  My current setting is using Vmware Server GSX. Do I need to upgrade my
VM server from 1.0 to 2.0?

Thanks,
Lei

On 10/5/11 1:33 PM, "Aaron Peeler"  wrote:

>It looks like your using an older vmware provisioning module called
>vmware.pm.
>
>It should be using the newer one under
>/../vcl/lib/VCL/Module/Provisioning/VMware/VMware.pm
>
>Please check the vm compute nodes in your vcl interface for vmguest-1
>and vmguest-2.
>
>Manage computers -> Select all computers
>Select Edit Computer Information
>Make sure Provisioning Engine is selected
>
>Hit submit
>
>Make sure it says VMware
>
>Can you also send the sql output of the below query from your database?
>This is going to help us make sure the VMware provisioning name listed
>in the VCL interface is using the correct perl module.
>
>On your management node at the mysql command line or via phpmyadmin,
>run this query on the vcl database.
>
>SELECT computer.hostname,provisioning.*,module.perlpackage FROM
>computer,provisioning, module WHERE computer.hostname like '%vmguest%'
>AND provisioning.id = computer.provisioningid AND module.id =
>provisioning.id
>
>Thanks,
>Aaron
>
>On Wed, Oct 5, 2011 at 1:54 PM, Huang,Lei  wrote:
>> Aaron,
>>Here is some log  information. Please let me know if you need any
>>more.
>> Thanks,
>> Lei
>> ===
>> 2011-10-05
>> 10:24:38|26273|565:565|image|utils.pm:run_scp_command(5636)|copied file
>>via
>> SCP: 'vmguest-1:/etc/init.d/sshd' --> '/tmp/565.ext_sshd'
>> 2011-10-05
>> 
>>10:24:38|26273|565:565|image|Linux.pm:generate_ext_sshd_init(2359)|copied
>> sshd init script from vmguest-1 for local processing
>> 2011-10-05
>> 10:24:38|26273|565:565|image|Linux.pm:generate_ext_sshd_init(2369)|read
>>file
>> /tmp/565.ext_sshd into array
>> 2011-10-05
>> 10:24:38|26273|565:565|image|utils.pm:run_scp_command(5600)|attempting
>>to
>> copy file via SCP: '/tmp/565.ext_sshd' -->
>>'vmguest-1:/etc/init.d/ext_sshd'
>> 2011-10-05
>> 10:24:38|26273|565:565|image|utils.pm:run_scp_command(5636)|copied file
>>via
>> SCP: '/tmp/565.ext_sshd' --> 'vmguest-1:/etc/init.d/ext_sshd'
>> 2011-10-05
>> 
>>10:24:38|26273|565:565|image|Linux.pm:generate_ext_sshd_init(2425)|copied
>> /tmp/565.ext_sshd to vmguest-1:/etc/init.d/ext_sshd
>> 2011-10-05
>> 10:24:38|26273|565:565|image|utils.pm:run_ssh_command(5380)|executing
>>SSH
>> command on vmguest-1:
>> |26273|565:565|image| /usr/bin/ssh -i /etc/vcl/vcl.key -o
>> StrictHostKeyChecking=no -l root -p 22 -x vmguest-1 'chmod +rx
>> /etc/init.d/ext_sshd' 2>&1
>> 2011-10-05
>> 
>>10:24:38|26273|565:565|image|Linux.pm:generate_ext_sshd_init(2426)|settin
>>g
>> vmguest-1:/etc/init.d/ext_sshd executable
>> 2011-10-05 
>>10:24:38|26273|565:565|image|Linux.pm:pre_capture(179)|shutting
>> down node for Linux imaging sequence
>> 2011-10-05
>> 10:24:38|26273|565:565|image|utils.pm:run_ssh_command(5380)|executing
>>SSH
>> command on vmguest-1:
>> |26273|565:565|image| /usr/bin/ssh -i /etc/vcl/vcl.key -o
>> StrictHostKeyChecking=no -l root -p 22 -x vmguest-1 '/sbin/shutdown -h
>>now'
>> 2>&1
>> 2011-10-05
>> 
>>10:24:39|26273|565:565|image|utils.pm:run_ssh_command(5464)|run_ssh_comma
>>nd
>> output:
>> 2011-10-05 
>>10:24:39|26273|565:565|image|utils.pm:run_ssh_command(5478)|SSH
>> command executed on vmguest-1, returning (0, "")
>> 2011-10-05
>> 10:24:39|26273|565:565|image|Module.pm:code_loop_timeout(742)|waiting
>>for
>> vmguest-1 to power off, maximum of 120 seconds
>> 2011-10-05
>> 10:24:39|26273|565:565|image|Module.pm:code_loop_timeout(759)|attempt 1:
>> waiting for vmguest-1 to power off
>> 2011-10-05 10:24:39|26273|565:565|image|vmware.pm:get_vm_paths(2485)|vm
>> locations:
>> |26273|565:565|image| vmdk name: vmwarelinux-CentOS55Test46-v0
>> |26273|565:565|image| vmx path:
>> 
>>/install/vmware_files/runningvms/vmwarelinux-CentOS55Test46-v0vmguest-1/v
>>mwarelinux-CentOS55Test46-v0vmguest-1.vmx
>> |26273|565:565|image| vm directory:
>>vmwarelinux-CentOS55Test46-v0vmguest-1
>> |26273|565:565|image| base vm directory: vmwarelinux-CentOS55Test46-v0
>> 2011-10-05
>> 10:24:39|26273|565:565|image|vmware.pm:power_status(2407)|attempting to
>> execute vmware-cmd getstate
>> 2011-10-05
>> 10:24:39|26273|565:565|image|utils.pm:run_ssh_command(5380)|executing
>>SSH
>&

Re: questions regarding creating base images

2011-10-05 Thread Huang,Lei
Aaron,

   Here is some log  information. Please let me know if you need any more.

Thanks,
Lei

===
2011-10-05 10:24:38|26273|565:565|image|utils.pm:run_scp_command(5636)|copied 
file via SCP: 'vmguest-1:/etc/init.d/sshd' --> '/tmp/565.ext_sshd'
2011-10-05 
10:24:38|26273|565:565|image|Linux.pm:generate_ext_sshd_init(2359)|copied sshd 
init script from vmguest-1 for local processing
2011-10-05 
10:24:38|26273|565:565|image|Linux.pm:generate_ext_sshd_init(2369)|read file 
/tmp/565.ext_sshd into array
2011-10-05 
10:24:38|26273|565:565|image|utils.pm:run_scp_command(5600)|attempting to copy 
file via SCP: '/tmp/565.ext_sshd' --> 'vmguest-1:/etc/init.d/ext_sshd'
2011-10-05 10:24:38|26273|565:565|image|utils.pm:run_scp_command(5636)|copied 
file via SCP: '/tmp/565.ext_sshd' --> 'vmguest-1:/etc/init.d/ext_sshd'
2011-10-05 
10:24:38|26273|565:565|image|Linux.pm:generate_ext_sshd_init(2425)|copied 
/tmp/565.ext_sshd to vmguest-1:/etc/init.d/ext_sshd
2011-10-05 
10:24:38|26273|565:565|image|utils.pm:run_ssh_command(5380)|executing SSH 
command on vmguest-1:
|26273|565:565|image| /usr/bin/ssh -i /etc/vcl/vcl.key -o 
StrictHostKeyChecking=no -l root -p 22 -x vmguest-1 'chmod +rx 
/etc/init.d/ext_sshd' 2>&1
2011-10-05 
10:24:38|26273|565:565|image|Linux.pm:generate_ext_sshd_init(2426)|setting 
vmguest-1:/etc/init.d/ext_sshd executable
2011-10-05 10:24:38|26273|565:565|image|Linux.pm:pre_capture(179)|shutting down 
node for Linux imaging sequence
2011-10-05 
10:24:38|26273|565:565|image|utils.pm:run_ssh_command(5380)|executing SSH 
command on vmguest-1:
|26273|565:565|image| /usr/bin/ssh -i /etc/vcl/vcl.key -o 
StrictHostKeyChecking=no -l root -p 22 -x vmguest-1 '/sbin/shutdown -h now' 2>&1
2011-10-05 
10:24:39|26273|565:565|image|utils.pm:run_ssh_command(5464)|run_ssh_command 
output:
2011-10-05 10:24:39|26273|565:565|image|utils.pm:run_ssh_command(5478)|SSH 
command executed on vmguest-1, returning (0, "")
2011-10-05 
10:24:39|26273|565:565|image|Module.pm:code_loop_timeout(742)|waiting for 
vmguest-1 to power off, maximum of 120 seconds
2011-10-05 
10:24:39|26273|565:565|image|Module.pm:code_loop_timeout(759)|attempt 1: 
waiting for vmguest-1 to power off
2011-10-05 10:24:39|26273|565:565|image|vmware.pm:get_vm_paths(2485)|vm 
locations:
|26273|565:565|image| vmdk name: vmwarelinux-CentOS55Test46-v0
|26273|565:565|image| vmx path: 
/install/vmware_files/runningvms/vmwarelinux-CentOS55Test46-v0vmguest-1/vmwarelinux-CentOS55Test46-v0vmguest-1.vmx
|26273|565:565|image| vm directory: vmwarelinux-CentOS55Test46-v0vmguest-1
|26273|565:565|image| base vm directory: vmwarelinux-CentOS55Test46-v0
2011-10-05 10:24:39|26273|565:565|image|vmware.pm:power_status(2407)|attempting 
to execute vmware-cmd getstate
2011-10-05 
10:24:39|26273|565:565|image|utils.pm:run_ssh_command(5380)|executing SSH 
command on CSB302:
|26273|565:565|image| /usr/bin/ssh -i /etc/vcl/vcl.key -o 
StrictHostKeyChecking=no -l root -p 22 -x CSB302 'vmware-cmd 
/install/vmware_files/runningvms/vmwarelinux-CentOS55Test46-v0vmguest-1/vmwarelinux-CentOS55Test46-v0vmguest-1.vmx
 getstate' 2>&1

|26273|565:565|image|  WARNING 
|26273|565:565|image| 2011-10-05 
10:24:39|26273|565:565|image|vmware.pm:power_status(2415)|failed to run 
vmware-cmd getstate for vmwarelinux-CentOS55Test46-v0vmguest-1 vm, exit status: 
11, output:
|26273|565:565|image| /usr/bin/vmware-cmd: Could not connect to VM 
/install/vmware_files/runningvms/vmwarelinux-CentOS55Test46-v0vmguest-1/vmwarelinux-CentOS55Test46-v0vmguest-1.vmx
   (VMControl error -11: No such virtual machine: The config file 
/install/vmware_files/runningvms/vmwarelinux-CentOS55Test46-v0vmguest-1/vmwarelinux-CentOS55Test46-v0vmguest-1.vmx
 is not registered. Please register the config file on the server.  For 
example: vmware-cmd -s register 
"/install/vmware_files/runningvms/vmwarelinux-CentOS55Test46-v0vmguest-1/vmwarelinux-CentOS55Test46-v0vmguest-1.vmx")
|26273|565:565|image| ( 0) vmware.pm, power_status (line: 2415)
|26273|565:565|image| (-1) Provisioning.pm, __ANON__ (line: 324)
|26273|565:565|image| (-2) Module.pm, code_loop_timeout (line: 761)
|26273|565:565|image| (-3) Provisioning.pm, wait_for_power_off (line: 324)
|26273|565:565|image| (-4) Linux.pm, pre_capture (line: 183)
|26273|565:565|image| (-5) vmware.pm, capture (line: 1038)





On 10/5/11 12:45 PM, "Aaron Peeler" 
mailto:aaron_pee...@ncsu.edu>> wrote:

Lei,

Could you provide the vcld.log file? The default location would be
/var/log/vcld.log

Thanks,
Aaron

On Wed, Oct 5, 2011 at 1:41 PM, Huang,Lei 
mailto:lhu...@pvamu.edu>> wrote:
Aaron,

 I changed .vmx file to start it using vmware console. After running vcld
-setup, it can now log into the VM and change the network settings. After
it, I see it shuts down the VM and waits for 120 seconds. However,

Re: questions regarding creating base images

2011-10-05 Thread Huang,Lei
Aaron, 

  I changed .vmx file to start it using vmware console. After running vcld
-setup, it can now log into the VM and change the network settings. After
it, I see it shuts down the VM and waits for 120 seconds. However, after
it, it cannot bring up the new VM since it is a new image name created. It
is not registered on my CSB2 vmware yet. I cannot find the new image files
in my vmware repository and the runningvms directory either. Can you see
what the problem is?

Thanks,
Lei

On 10/5/11 12:04 PM, "Aaron Peeler"  wrote:

>The easiest way is to use the vmware console.
>
>Log into the vmware host CSB2 and run the command
>vmware &
>
>You can either modify the .vmx file or edit the settings via the vmware
>console.
>
>Aaron
>
>On Wed, Oct 5, 2011 at 1:01 PM, Huang,Lei  wrote:
>> Aaron,
>>
>>  Thanks for your answer. How can I load my VM using vmguest-1? What
>> command should I use? Do I need to modify the .vmx file to add the
>>static
>> IP address for my new VM?
>>
>> Thanks,
>> Lei
>>
>> On 10/5/11 11:54 AM, "Aaron Peeler"  wrote:
>>
>>>Hello Lei,
>>>
>>>When prompted for the computer name/IP, you will want to enter
>>>vmguest-1. The vm needs to be running and you need to be able to login
>>>via ssh identity keys from your management node.
>>>
>>>Aaron
>>>
>>>
>>>On Tue, Oct 4, 2011 at 11:26 PM, Huang,Lei  wrote:
>>>> Hi everyone,
>>>>I am following the instruction of creating a base linux image
>>>> (https://cwiki.apache.org/VCL/create-a-linux-base-image.html) , but I
>>>>am
>>>> very confused about the document, and would appreciate any help. I
>>>>have
>>>>the
>>>> following settings:
>>>>   1. Blade #1: management code
>>>>   2. Blade #2: a compute node (name: CSB2, VM host computer running
>>>>CentOS
>>>> 5.5 and VMware server 1.x. It has been added into the VCL database)
>>>>   3. Two guest VMs (vmguest-1, vmguest-2) assigned to the VM host
>>>>(CSB2)
>>>> using the vcl website.
>>>>   I have created a new virtual machine using VMware console in CSB2.
>>>>Now I
>>>> would like  to capture it. After setting up the  network of the VM, I
>>>>run
>>>> vcld -setup on the management node. When it asks for the computer
>>>>name/IP,
>>>> and here is my confusion. If I enter CSB2, then it changes the network
>>>> configuration of CSB2 and then shut down the node, which made the
>>>>entire
>>>> process failed. If I enter vmguest-1, it couldn't finish the capture
>>>>either
>>>> since vmguest-1 is not running. What's wrong in my process? I have
>>>>read
>>>>the
>>>> document several times, but cannot figure it out. Can anyone please
>>>>help?
>>>> Thanks,
>>>> Lei Huang
>>>
>>>
>>>
>>>--
>>>Aaron Peeler
>>>Program Manager
>>>Virtual Computing Lab
>>>NC State University
>>>
>>>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.
>>
>>
>
>
>
>-- 
>Aaron Peeler
>Program Manager
>Virtual Computing Lab
>NC State University
>
>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.



Re: questions regarding creating base images

2011-10-05 Thread Huang,Lei
Aaron,

  Thanks for your answer. How can I load my VM using vmguest-1? What
command should I use? Do I need to modify the .vmx file to add the static
IP address for my new VM?

Thanks,
Lei

On 10/5/11 11:54 AM, "Aaron Peeler"  wrote:

>Hello Lei,
>
>When prompted for the computer name/IP, you will want to enter
>vmguest-1. The vm needs to be running and you need to be able to login
>via ssh identity keys from your management node.
>
>Aaron
>
>
>On Tue, Oct 4, 2011 at 11:26 PM, Huang,Lei  wrote:
>> Hi everyone,
>>I am following the instruction of creating a base linux image
>> (https://cwiki.apache.org/VCL/create-a-linux-base-image.html) , but I am
>> very confused about the document, and would appreciate any help. I have
>>the
>> following settings:
>>   1. Blade #1: management code
>>   2. Blade #2: a compute node (name: CSB2, VM host computer running
>>CentOS
>> 5.5 and VMware server 1.x. It has been added into the VCL database)
>>   3. Two guest VMs (vmguest-1, vmguest-2) assigned to the VM host
>>(CSB2)
>> using the vcl website.
>>   I have created a new virtual machine using VMware console in CSB2.
>>Now I
>> would like  to capture it. After setting up the  network of the VM, I
>>run
>> vcld -setup on the management node. When it asks for the computer
>>name/IP,
>> and here is my confusion. If I enter CSB2, then it changes the network
>> configuration of CSB2 and then shut down the node, which made the entire
>> process failed. If I enter vmguest-1, it couldn't finish the capture
>>either
>> since vmguest-1 is not running. What's wrong in my process? I have read
>>the
>> document several times, but cannot figure it out. Can anyone please
>>help?
>> Thanks,
>> Lei Huang
>
>
>
>-- 
>Aaron Peeler
>Program Manager
>Virtual Computing Lab
>NC State University
>
>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.



questions regarding creating base images

2011-10-04 Thread Huang,Lei
Hi everyone,

   I am following the instruction of creating a base linux image 
(https://cwiki.apache.org/VCL/create-a-linux-base-image.html) , but I am very 
confused about the document, and would appreciate any help. I have the 
following settings:

  1. Blade #1: management code
  2. Blade #2: a compute node (name: CSB2, VM host computer running CentOS 5.5 
and VMware server 1.x. It has been added into the VCL database)
  3. Two guest VMs (vmguest-1, vmguest-2) assigned to the VM host  (CSB2) using 
the vcl website.

  I have created a new virtual machine using VMware console in CSB2. Now I 
would like  to capture it. After setting up the  network of the VM, I run vcld 
-setup on the management node. When it asks for the computer name/IP, and here 
is my confusion. If I enter CSB2, then it changes the network configuration of 
CSB2 and then shut down the node, which made the entire process failed. If I 
enter vmguest-1, it couldn't finish the capture either since vmguest-1 is not 
running. What's wrong in my process? I have read the document several times, 
but cannot figure it out. Can anyone please help?

Thanks,
Lei Huang


Re: How to configure a new computing node?

2011-09-23 Thread Huang,Lei
Thanks for all of you for your help. Yes, Greg is right that my networks
were switched. It works now after I switch them back.

Many many thanks,
Lei

On 9/23/11 12:32 PM, "Alexander Patterson"
 wrote:

>I am posting this on behalf of Greg Duhon
>
>I have one more suggestion to add.  Verify that the networks are not
>switched.  In other words, is the public network on the private
>interface or private network on the public interface.  I can't tell
>you how many times this one dinged us when we first started using VCL.
>
>-Greg Duhon
>
>On Fri, Sep 23, 2011 at 9:32 AM, James O'Dell 
>wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> If you can't ping your gateway, it's either a network problem,
>> or a firewall problem.
>>
>> Try pinging the gateway, and then dumping your arp table
>> ('arp -an'). If you see the mac address for the gateway in
>> your arp table, it's probably a firewall issue. If the
>> mac address isn't there, it's a network problem
>>
>> __Jim
>>
>>
>> On 9/23/2011 9:27 AM, Huang,Lei wrote:
>>> Hi Alex,
>>>
>>> Thanks for your suggestions! For the image, it works fine when it
>>> lauches on virtual hosts on existing nodes. The problem happens
>>> when it runs on a new node. I assume the sshd works fine on the
>>> image itself.
>>>
>>> I have set up the ssh key to allow the management node to log in
>>> the node successfully. After I log into the new node running
>>> VMware, I can see that my network eth0 and eth1 have private and
>>> public ip address. However, I found that I cann't ping my gateway
>>> from the node. Are there any settings I need to do?
>>>
>>> Thanks, Lei
>>>
>>>  From: Alexander Patterson
>>> [alexander.patter...@csueastbay.edu] Sent: Friday, September 23,
>>> 2011 11:08 AM To: vcl-user@incubator.apache.org Cc:
>>> aaron_pee...@ncsu.edu Subject: Re: How to configure a new computing
>>> node?
>>>
>>> Hello,
>>>
>>> Did you check su - Log in as root for the image you are working on
>>> Password: Turn on sshd by typing /etc/init.d/sshd start Got to the
>>> /etc/init.d/ then type chkconfig sshd on
>>>
>>> Have you made sure that you can ssh -i /etc/vcl/vcl.key >> or IP address> ?
>>>
>>> I had this issue with ssh not kicking off before as well and it was
>>> a issue with the image itself.
>>>
>>> Another helpfull command to check would be ssh -vv (IP address)
>>>
>>> Have you logged into your box running VMware to see if you are
>>> getting a public and private ip address?
>>>
>>> On Fri, Sep 23, 2011 at 9:00 AM, Huang,Lei 
>>> wrote:
>>>> Sorry for asking again. I suspect that the problem may be related
>>>> to network setting. I don't understand why ssd on VM was not
>>>> active. Is it possible that the IP address of VM is not correct?
>>>> Any suggestions/hints would be very much appreciated!
>>>>
>>>> Thanks, Lei  From:
>>>> Huang,Lei [lhu...@pvamu.edu] Sent: Thursday, September 22, 2011
>>>> 10:36 AM To: vcl-user@incubator.apache.org;
>>>> aaron_pee...@ncsu.edu Subject: Re: How to configure a new
>>>> computing node?
>>>>
>>>> Aaron,
>>>>
>>>> Thank you for your reply. I copied some log information as
>>>> follows. It looks like the VM was started, but sshd on the VM was
>>>> not active. The script looped and waited for half an hour and
>>>> failed at the end. The image works fine on existing blades. I
>>>> wonder if there is some configuration of VM server I didn't set
>>>> correctly for the new node.
>>>>
>>>> Thanks, Lei
>>>>
>>>> ===
>>>>
>>>> 2011-09-21
>>>> 23:31:27|14402|518:512|new|utils.pm:run_ssh_command(6180)|executing
>>>> SSH command on CSB308: |14402|518:512|new| /usr/bin/ssh -i
>>>> /etc/vcl/vcl.key  -l root -p 22 -x CSB308 'vmware-cmd
>>>>
>>>>/install/vmware_files/runningvms/CentOS5_5-base10-v0vmguest-10/CentOS5_
>>>>5-ba
>>>>
>>>>
>> se10-v0vmguest-10.vmx start' 2>&1
>>>> 2011-09-21 23:31:31|3929|vcld:main(165)|lastcheckin time updated
>>>> for management node 1: 

RE: How to configure a new computing node?

2011-09-23 Thread Huang,Lei
Hi Alex,

  Thanks for your suggestions! For the image, it works fine when it lauches on 
virtual hosts on existing nodes. The problem happens when it runs on a new 
node. I assume the sshd works fine on the image itself.

   I have set up the ssh key to allow the management node to log in the node 
successfully. After I log into the new node running VMware, I can see that my 
network eth0 and eth1 have private and public ip address. However, I found that 
I cann't ping my gateway from the node. Are there any settings I need to do?

Thanks,
Lei


From: Alexander Patterson [alexander.patter...@csueastbay.edu]
Sent: Friday, September 23, 2011 11:08 AM
To: vcl-user@incubator.apache.org
Cc: aaron_pee...@ncsu.edu
Subject: Re: How to configure a new computing node?

Hello,

Did you check su -
Log in as root for the image you are working on
Password:
Turn on sshd by typing /etc/init.d/sshd start
Got to the /etc/init.d/ then type chkconfig sshd on

Have you made sure that you can ssh -i /etc/vcl/vcl.key  ?

I had this issue with ssh not kicking off before as well and it was a
issue with the image itself.

Another helpfull command to check would be ssh -vv (IP address)

Have you logged into your box running VMware to see if you are getting
a public and private ip address?

On Fri, Sep 23, 2011 at 9:00 AM, Huang,Lei  wrote:
> Sorry for asking again. I suspect that the problem may be related to network 
> setting. I don't understand why ssd on VM was not active. Is it possible that 
> the IP address of VM is not correct? Any suggestions/hints would be very much 
> appreciated!
>
> Thanks,
> Lei
> ________
> From: Huang,Lei [lhu...@pvamu.edu]
> Sent: Thursday, September 22, 2011 10:36 AM
> To: vcl-user@incubator.apache.org; aaron_pee...@ncsu.edu
> Subject: Re: How to configure a new computing node?
>
> Aaron,
>
>  Thank you for your reply. I copied some log information as follows. It
> looks like the VM was started, but sshd on the VM was not active. The
> script looped and waited for half an hour and failed at the end. The image
> works fine on existing blades. I wonder if there is some configuration of
> VM server I didn't set correctly for the new node.
>
> Thanks,
> Lei
>
> ===
>
> 2011-09-21
> 23:31:27|14402|518:512|new|utils.pm:run_ssh_command(6180)|executing SSH
> command on CSB308:
> |14402|518:512|new| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
> CSB308 'vmware-cmd
> /install/vmware_files/runningvms/CentOS5_5-base10-v0vmguest-10/CentOS5_5-ba
> se10-v0vmguest-10.vmx start' 2>&1
> 2011-09-21 23:31:31|3929|vcld:main(165)|lastcheckin time updated for
> management node 1: 2011-09-21 23:31:31
> 2011-09-21 23:31:36|3929|vcld:main(165)|lastcheckin time updated for
> management node 1: 2011-09-21 23:31:36
> 2011-09-21
> 23:31:40|14122|517:511|inuse|utils.pm:check_connection(1765)|checking for
> connection by admin on vmguest-2, attempt 27
> 2011-09-21
> 23:31:40|14122|517:511|inuse|utils.pm:run_ssh_command(6180)|executing SSH
> command on vmguest-2:
> |14122|517:511|inuse| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
> vmguest-2 'netstat -an' 2>&1
> 2011-09-21
> 23:31:40|14122|517:511|inuse|utils.pm:run_ssh_command(6180)|executing SSH
> command on vmguest-2:
> |14122|517:511|inuse| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
> vmguest-2 'who' 2>&1
> 2011-09-21
> 23:31:41|14122|517:511|inuse|utils.pm:run_ssh_command(6262)|run_ssh_command
>  output:
> |14122|517:511|inuse| none
> 2011-09-21 23:31:41|14122|517:511|inuse|utils.pm:run_ssh_command(6276)|SSH
> command executed on vmguest-2, returning (0, "none")
> 2011-09-21 23:31:41|3929|vcld:main(165)|lastcheckin time updated for
> management node 1: 2011-09-21 23:31:41
> 2011-09-21 23:31:46|3929|vcld:main(165)|lastcheckin time updated for
> management node 1: 2011-09-21 23:31:46
> 2011-09-21
> 23:31:48|14402|518:512|new|utils.pm:run_ssh_command(6262)|run_ssh_command
> output:
> |14402|518:512|new| start() = 1
> 2011-09-21 23:31:48|14402|518:512|new|utils.pm:run_ssh_command(6276)|SSH
> command executed on CSB308, returning (0, "start() = 1")
> 2011-09-21 23:31:48|14402|518:512|new|vmware.pm:load(808)|started
> /install/vmware_files/runningvms/CentOS5_5-base10-v0vmguest-10/CentOS5_5-ba
> se10-v0vmguest-10.vmx on CSB308
> 2011-09-21
> 23:31:48|14402|518:512|new|utils.pm:insertloadlog(4710)|inserted
> computer=17, startvm, started vm on CSB308
>
> |14402|518:512|new| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
> CSB308 'vmware-cmd
> /install/vmware_files/runningvms/CentOS5_5-base10-v0vmguest-10/CentOS5_5-ba
> se10-v0vmguest-10.vmx getst

RE: How to configure a new computing node?

2011-09-23 Thread Huang,Lei
Sorry for asking again. I suspect that the problem may be related to network 
setting. I don't understand why ssd on VM was not active. Is it possible that 
the IP address of VM is not correct? Any suggestions/hints would be very much 
appreciated!

Thanks,
Lei

From: Huang,Lei [lhu...@pvamu.edu]
Sent: Thursday, September 22, 2011 10:36 AM
To: vcl-user@incubator.apache.org; aaron_pee...@ncsu.edu
Subject: Re: How to configure a new computing node?

Aaron,

  Thank you for your reply. I copied some log information as follows. It
looks like the VM was started, but sshd on the VM was not active. The
script looped and waited for half an hour and failed at the end. The image
works fine on existing blades. I wonder if there is some configuration of
VM server I didn't set correctly for the new node.

Thanks,
Lei

===

2011-09-21
23:31:27|14402|518:512|new|utils.pm:run_ssh_command(6180)|executing SSH
command on CSB308:
|14402|518:512|new| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
CSB308 'vmware-cmd
/install/vmware_files/runningvms/CentOS5_5-base10-v0vmguest-10/CentOS5_5-ba
se10-v0vmguest-10.vmx start' 2>&1
2011-09-21 23:31:31|3929|vcld:main(165)|lastcheckin time updated for
management node 1: 2011-09-21 23:31:31
2011-09-21 23:31:36|3929|vcld:main(165)|lastcheckin time updated for
management node 1: 2011-09-21 23:31:36
2011-09-21
23:31:40|14122|517:511|inuse|utils.pm:check_connection(1765)|checking for
connection by admin on vmguest-2, attempt 27
2011-09-21
23:31:40|14122|517:511|inuse|utils.pm:run_ssh_command(6180)|executing SSH
command on vmguest-2:
|14122|517:511|inuse| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
vmguest-2 'netstat -an' 2>&1
2011-09-21
23:31:40|14122|517:511|inuse|utils.pm:run_ssh_command(6180)|executing SSH
command on vmguest-2:
|14122|517:511|inuse| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
vmguest-2 'who' 2>&1
2011-09-21
23:31:41|14122|517:511|inuse|utils.pm:run_ssh_command(6262)|run_ssh_command
 output:
|14122|517:511|inuse| none
2011-09-21 23:31:41|14122|517:511|inuse|utils.pm:run_ssh_command(6276)|SSH
command executed on vmguest-2, returning (0, "none")
2011-09-21 23:31:41|3929|vcld:main(165)|lastcheckin time updated for
management node 1: 2011-09-21 23:31:41
2011-09-21 23:31:46|3929|vcld:main(165)|lastcheckin time updated for
management node 1: 2011-09-21 23:31:46
2011-09-21
23:31:48|14402|518:512|new|utils.pm:run_ssh_command(6262)|run_ssh_command
output:
|14402|518:512|new| start() = 1
2011-09-21 23:31:48|14402|518:512|new|utils.pm:run_ssh_command(6276)|SSH
command executed on CSB308, returning (0, "start() = 1")
2011-09-21 23:31:48|14402|518:512|new|vmware.pm:load(808)|started
/install/vmware_files/runningvms/CentOS5_5-base10-v0vmguest-10/CentOS5_5-ba
se10-v0vmguest-10.vmx on CSB308
2011-09-21
23:31:48|14402|518:512|new|utils.pm:insertloadlog(4710)|inserted
computer=17, startvm, started vm on CSB308

|14402|518:512|new| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
CSB308 'vmware-cmd
/install/vmware_files/runningvms/CentOS5_5-base10-v0vmguest-10/CentOS5_5-ba
se10-v0vmguest-10.vmx getstate' 2>&1
2011-09-21 23:32:11|3929|vcld:main(165)|lastcheckin time updated for
management node 1: 2011-09-21 23:32:11
2011-09-21 23:32:16|3929|vcld:main(165)|lastcheckin time updated for
management node 1: 2011-09-21 23:32:16
2011-09-21
23:32:21|14122|517:511|inuse|utils.pm:check_connection(1765)|checking for
connection by admin on vmguest-2, attempt 29
2011-09-21
23:32:21|14122|517:511|inuse|utils.pm:run_ssh_command(6180)|executing SSH
command on vmguest-2:
|14122|517:511|inuse| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
vmguest-2 'netstat -an' 2>&1
2011-09-21 23:32:21|3929|vcld:main(165)|lastcheckin time updated for
management node 1: 2011-09-21 23:32:21
2011-09-21
23:32:21|14122|517:511|inuse|utils.pm:run_ssh_command(6180)|executing SSH
command on vmguest-2:
|14122|517:511|inuse| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x
vmguest-2 'who' 2>&1
2011-09-21
23:32:22|14122|517:511|inuse|utils.pm:run_ssh_command(6262)|run_ssh_command
 output:
|14122|517:511|inuse| none
2011-09-21 23:32:22|14122|517:511|inuse|utils.pm:run_ssh_command(6276)|SSH
command executed on vmguest-2, returning (0, "none")
2011-09-21 23:32:26|3929|vcld:main(165)|lastcheckin time updated for
management node 1: 2011-09-21 23:32:26
2011-09-21
23:32:28|14402|518:512|new|utils.pm:run_ssh_command(6262)|run_ssh_command
output:
|14402|518:512|new| getstate() = on
2011-09-21 23:32:28|14402|518:512|new|utils.pm:run_ssh_command(6276)|SSH
command executed on CSB308, returning (0, "getstate() = on")
2011-09-21 23:32:28|14402|518:512|new|vmware.pm:load(831)|checking state
of vm vmguest-10
2011-09-21
23:32:28|14402|518:512|new|utils.pm:insertloadlog(4710)|inserted
computer=17, vmstage1, node has been

Re: How to configure a new computing node?

2011-09-22 Thread Huang,Lei
|DataStructure.pm:get_computer_state_name(1977)|r
etrieved current state of computer vmguest-10 from the database: reloading
2011-09-22
00:06:31|14402|518:512|new|DataStructure.pm:_automethod(697)|data
structure updated:
$self->request_data->{reservation}{512}{computer}{state}{name}
|14402|518:512|new| computer_state_name = reloading
No recipient addresses found in header
2011-09-22 00:06:32|14402|518:512|new|utils.pm:mail(1348)|SUCCESS --
Sending mail To: , PROBLEM -- State.pm

|14402|518:512|new|  CRITICAL 
|14402|518:512|new| 2011-09-22
00:06:31|14402|518:512|new|State.pm:reservation_failed(290)|reservation
failed on vmguest-10: process failed after trying to load or make available
|14402|518:512|new| ( 0) utils.pm, notify (line: 737)
|14402|518:512|new| (-1) State.pm, reservation_failed (line: 290)
|14402|518:512|new| (-2) new.pm, process (line: 316)
|14402|518:512|new| (-3) vcld, make_new_child (line: 594)
|14402|518:512|new| (-4) vcld, main (line: 341)

2011-09-22
00:06:32|14402|518:512|new|utils.pm:insertloadlog(4710)|inserted
computer=17, failed, process failed after trying to load or make available
2011-09-22
00:06:32|14402|518:512|new|State.pm:reservation_failed(293)|inserted
computerloadlog entry
2011-09-22
00:06:32|14402|518:512|new|State.pm:reservation_failed(301)|updated log
ending value to 'failed', logid=451
2011-09-22
00:06:32|14402|518:512|new|utils.pm:update_computer_state(2228)|computer
17 state updated to: failed
2011-09-22
00:06:32|14402|518:512|new|State.pm:reservation_failed(312)|computer
vmguest-10 (17) state set to failed
2011-09-22
00:06:32|14402|518:512|new|utils.pm:update_request_state(2186)|request 518
state updated to: failed, laststate to: new
2011-09-22 00:06:32|14402|518:512|new|State.pm:reservation_failed(325)|set
request state to 'failed'/'new'
2011-09-22
00:06:32|14402|518:512|new|utils.pm:is_inblockrequest(6972)|zero rows were
returned from database select
2011-09-22
00:06:32|14402|518:512|new|State.pm:reservation_failed(343)|vmguest-10 is
NOT in blockcomputers table
2011-09-22
00:06:32|14402|518:512|new|State.pm:reservation_failed(346)|exiting 1
2011-09-22 00:06:32|14402|518:512|new|State.pm:DESTROY(905)|destructor
called, ref($self)=VCL::new
2011-09-22
00:06:32|14402|518:512|new|utils.pm:delete_computerloadlog_reservation(7551
)|removing computerloadlog entries matching loadstate = begin
2011-09-22
00:06:32|14402|518:512|new|utils.pm:delete_computerloadlog_reservation(7598
)|deleted rows from computerloadlog for reservation id=512
2011-09-22 00:06:32|14402|518:512|new|State.pm:DESTROY(912)|removed
computerloadlog rows with loadstate=begin for reservation
2011-09-22 00:06:32|14402|518:512|new|State.pm:DESTROY(924)|number of
database handles state process created: 1
2011-09-22 00:06:32|14402|518:512|new|State.pm:DESTROY(933)|process has a
database handle stored in $ENV{dbh}, attempting disconnect
2011-09-22 00:06:32|14402|518:512|new|State.pm:DESTROY(935)|$ENV{dbh}:
database disconnect successful
2011-09-22 00:06:32|14402|518:512|new|State.pm:DESTROY(949)|VCL::new
process 14402 exiting
2011-09-22 00:06:32|3929|vcld:REAPER(744)|VCL process exited for
reservation 512






==


On 9/22/11 7:49 AM, "Aaron Peeler"  wrote:

>Hello Lei,
>
>Could you provide the log file for vcld related to this reservation
>failure. It's default location is /var/log/vcld.log
>
>Thanks,
>Aaron
>
>
>On Thu, Sep 22, 2011 at 2:19 AM, Huang,Lei  wrote:
>> Dear VCL experts,
>> I am working on extending our VCL Cloud system for teaching purpose
>>by
>> adding some new computing nodes. The VCL version is 2.1 and we use
>>VMware
>> server 1.0 in each computing node. I have installed CentOS 5.0 and
>>Vmware
>> server 1.0 on a new blade, configured the network and VCL. However, I am
>> stuck by the following failure when I tried to reserve an image.
>> ==
>> State Est/Act  TimeTotal
>> Timeconfirming image exists(22) 0:04/0:24 0:24
>> starting load process(40) 0:06/2:03 2:27
>> creating configuration file(28) 0:02/1:01 3:28
>> starting virtual machine(48) 0:03/0:42 4:10
>> machine booting(46) 1:08/34:43 38:53
>> failed: could not load vmx on CSB308
>> 
>>   Does anybody know what's wrong on my setup? It takes very long time to
>> boot an image, but failed at the end. I am wondering if there is any
>> instruction of how to install a computing node that I can follow.
>>Thanks a
>> lot in advance.
>> Regards,
>> Lei Huang (Ph.D.)
>> Assistant Professor
>> Computer Science Department
>> Prairie View A&M University
>> SR Collins Room 314, MailStop: 2515, Prairie View, TX 77446
>> Phone: (936)261-9878   Fax: (936)261-9866
>>
>
>
>
>--
>Aaron Peeler
>Program Manager
>Virtual Computing Lab
>NC State University
>
>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.



How to configure a new computing node?

2011-09-21 Thread Huang,Lei
Dear VCL experts,

I am working on extending our VCL Cloud system for teaching purpose by 
adding some new computing nodes. The VCL version is 2.1 and we use VMware 
server 1.0 in each computing node. I have installed CentOS 5.0 and Vmware 
server 1.0 on a new blade, configured the network and VCL. However, I am stuck 
by the following failure when I tried to reserve an image.

==
State Est/Act  TimeTotal
Timeconfirming image exists(22) 0:04/0:24 0:24
starting load process(40) 0:06/2:03 2:27
creating configuration file(28) 0:02/1:01 3:28
starting virtual machine(48) 0:03/0:42 4:10
machine booting(46) 1:08/34:43 38:53

failed: could not load vmx on CSB308


  Does anybody know what's wrong on my setup? It takes very long time to boot 
an image, but failed at the end. I am wondering if there is any instruction of 
how to install a computing node that I can follow.  Thanks a lot in advance.

Regards,

Lei Huang (Ph.D.)
Assistant Professor
Computer Science Department
Prairie View A&M University
SR Collins Room 314, MailStop: 2515, Prairie View, TX 77446
Phone: (936)261-9878   Fax: (936)261-9866