Re: ssh on vmguest

2011-03-15 Thread Tyler Hardesty
Andy thanks, that was exactly right, I had some typos in my hosts file...
but now I am encountering some different warnings that are preventing the
image from being captured:

|16014|14:14|image|  WARNING 
|16014|14:14|image| 2011-03-15
16:00:38|16014|14:14|image|VMware.pm:copy_vmdk(4750)|destination vmdk file
path already exists on VM host localvmhost: /var/lib/vmware/Virtual
Machines/vmwarewinxp-vm2xp18-v0/vmwarewinxp-vm2xp18-v0.vmdk
|16014|14:14|image| ( 0) VMware.pm, copy_vmdk (line: 4750)
|16014|14:14|image| (-1) VMware.pm, capture (line: 597)
|16014|14:14|image| (-2) image.pm, process (line: 165)
|16014|14:14|image| (-3) vcld, make_new_child (line: 568)
|16014|14:14|image| (-4) vcld, main (line: 346)
|16014|14:14|image|  WARNING 
|16014|14:14|image| 2011-03-15
16:00:38|16014|14:14|image|VMware.pm:capture(601)|failed to copy the vmdk
files after the VM was powered off: '/var/lib/vmware/Virtual
Machines/vmwarewinxp-vm2xp18-v0/vmwarewinxp-vm2xp18-v0.vmdk' -->
'/var/lib/vmware/Virtual
Machines/vmwarewinxp-vm2xp18-v0/vmwarewinxp-vm2xp18-v0.vmdk'
|16014|14:14|image| ( 0) VMware.pm, capture (line: 601)
|16014|14:14|image| (-1) image.pm, process (line: 165)
|16014|14:14|image| (-2) vcld, make_new_child (line: 568)
|16014|14:14|image| (-3) vcld, main (line: 346)
2011-03-15
16:00:38|16014|14:14|image|Linux.pm:file_exists(1382)|'/var/lib/vmware/Virtual
Machines/vmwarewinxp-vm2xp18-v0/vmwarewinxp-vm2xp18-v0.vmdk' exists on
localvmhost, files: 1, directories: 0, links: 0
2011-03-15 16:00:39|16014|14:14|image|Linux.pm:file_exists(1368)|file or
directory does not exist on localvmhost: '/var/lib/vmware/Virtual
Machines/vm2_1/vm2.vmdk'
2011-03-15 16:00:39|16014|14:14|image|VMware.pm:rename_vmdk(4995)|attempting
to rename vmdk: '/var/lib/vmware/Virtual
Machines/vmwarewinxp-vm2xp18-v0/vmwarewinxp-vm2xp18-v0.vmdk' -->
'/var/lib/vmware/Virtual Machines/vm2_1/vm2.vmdk'
2011-03-15
16:00:39|16014|14:14|image|Linux.pm:create_directory(1502)|directory already
exists on localvmhost: '/var/lib/vmware/Virtual Machines/vm2_1'
2011-03-15
16:00:39|16014|14:14|image|VMware.pm:rename_vmdk(5018)|'move_virtual_disk'
subroutine has not been implemented by the API:
VCL::Module::Provisioning::VMware::VIM_SSH
2011-03-15 16:00:39|16014|14:14|image|VMware.pm:rename_vmdk(5025)|attempting
to rename vmdk file using vmware-vdiskmanager: /var/lib/vmware/Virtual
Machines/vmwarewinxp-vm2xp18-v0/vmwarewinxp-vm2xp18-v0.vmdk -->
/var/lib/vmware/Virtual Machines/vm2_1/vm2.vmdk
2011-03-15 16:00:39|16014|14:14|image|VMware.pm:rename_vmdk(5032)|renamed
vmdk file by executing 'vmware-vdiskmanager' command on VM host:
|16014|14:14|image| command: vmware-vdiskmanager -n "/var/lib/vmware/Virtual
Machines/vmwarewinxp-vm2xp18-v0/vmwarewinxp-vm2xp18-v0.vmdk"
"/var/lib/vmware/Virtual Machines/vm2_1/vm2.vmdk"
|16014|14:14|image| output: Renaming completed successfully.
2011-03-15 16:00:39|16014|14:14|image|VMware.pm:capture(690)|attempting to
delete directory where renamed vmdk resided before reverting the name back
to the original: /var/lib/vmware/Virtual Machines/vmwarewinxp-vm2xp18-v0
2011-03-15 16:00:39|16014|14:14|image|Linux.pm:delete_file(1437)|deleted
'/var/lib/vmware/Virtual Machines/vmwarewinxp-vm2xp18-v0' on localvmhost
2011-03-15 16:00:40|16014|14:14|image|Linux.pm:file_exists(1368)|file or
directory does not exist on localvmhost: '/var/lib/vmware/Virtual
Machines/vmwarewinxp-vm2xp18-v0'
2011-03-15 16:00:40|16014|14:14|image|Linux.pm:delete_file(1451)|confirmed
file does not exist on localvmhost: '/var/lib/vmware/Virtual
Machines/vmwarewinxp-vm2xp18-v0'
2011-03-15 16:00:40|16014|14:14|image|VMware.pm:capture(696)|attempting to
power the VM back on so that it can be captured again
2011-03-15 16:00:40|16014|14:14|image|VIM_SSH.pm:_run_vim_cmd(193)|vim-cmd
call count: 10 (vmsvc/getallvms)
2011-03-15 16:00:41|16014|14:14|image|VIM_SSH.pm:_run_vim_cmd(208)|executed
command on VM host localvmhost: vmware-vim-cmd vmsvc/getallvms
2011-03-15 16:00:41|16014|14:14|image|VIM_SSH.pm:_run_vim_cmd(193)|vim-cmd
call count: 11 (vmsvc/power.on 48)
2011-03-15 16:00:43|16014|14:14|image|VIM_SSH.pm:_run_vim_cmd(208)|executed
command on VM host localvmhost: vmware-vim-cmd vmsvc/power.on 48
2011-03-15 16:00:43|16014|14:14|image|VIM_SSH.pm:_run_vim_cmd(193)|vim-cmd
call count: 12 (vmsvc/getallvms)
2011-03-15 16:00:46|16014|14:14|image|VIM_SSH.pm:_run_vim_cmd(208)|executed
command on VM host localvmhost: vmware-vim-cmd vmsvc/getallvms
2011-03-15 16:00:46|16014|14:14|image|VIM_SSH.pm:_run_vim_cmd(193)|vim-cmd
call count: 13 (vmsvc/get.tasklist 48)
2011-03-15 16:00:48|16014|14:14|image|VIM_SSH.pm:_run_vim_cmd(208)|executed
command on VM host localvmhost: vmware-vim-cmd vmsvc/get.tasklist 48
2011-03-15
16:00:48|16014|14:14|image|VIM_SSH.pm:_wait_for_task(748)|checking status of
task: haTask-48-vim.VirtualMachine.powerOn-50331948
2011-03-15 16:00:48|16014|14:14|image|VIM_SSH.pm:_run_vim_cmd(193)|vim-cmd
call count: 14 (vimsvc/task_info
haTask-48-vim.VirtualMachine.

Re: ssh on vmguest

2011-03-10 Thread Andy Kurth

Hello,
The code first attempts to run nmap to check if the SSH ports are even 
open.  Based on your log output, this is where it is failing:

"vm2 is NOT responding to SSH, ports 22 or 24 are both closed"

Try running this command:
/usr/bin/nmap vm2 -P0 -p 22 -T Aggressive

If you get a "Failed to resolve given hostname/IP" error then there is a 
problem with your hosts file.  Make sure vm2's private IP address has 
been added to /etc/hosts/.  Run "host vm2".  It should display:

vm2 has address xxx.xxx.xxx.xxx

If the SSH port is open you should see "1 host up".  If this is the 
case, try running the following command:

/usr/bin/ssh -i /etc/vcl/vcl.key -l root -p 22 -x vm2 'echo testing'

Does this command succeed?

-Andy

On 3/8/2011 4:58 PM, Tyler Hardesty wrote:

Hey thanks!

adding those lines helped solve my permission denied problem but
unfortunately I still can't create the base image... It keeps telling me
that it is not responding to ssh (It also looks like Jay Diener-Brazelle
had this problem that he posted at the end of Feb 2011 but I don't see a
solution reply to his either)

management node:

[root@vcl vcl]# /usr/local/vcl/bin/vcld -setup
VCL Management Node Setup

Select a module to configure:
1. VCL Base Module
2. VCL Image State Module
3. Windows OS Module

[vcld]
Make a selection (1-3, 'c' to cancel): 2

Choose an operation:
1. Capture Base Image

[vcld/Image]
Make a selection (1, 'c' to cancel): 1

Enter the VCL login name or ID of the user who will own the image: [admin]:

User who will own the image: admin (ID: 1)

Enter the hostname or IP address of the computer to be captured: ('c' to
cancel): vm2

Computer to be captured: vm2 (ID: 3)
Provisioning module: provisioning_vmware
Install type: vmware

Select the OS to be captured (install type: vmware):
1. Generic Linux (VMware)
2. Windows 2003 Server (VMware)
3. Windows 7 (VMware)
4. Windows Server 2008 (VMware)
5. Windows Vista (VMware)
6. Windows XP (VMware)

[vcld/Image/Capture Base Image]
Make a selection (1-6, 'c' to cancel): 6

Selected OS: Windows XP (VMware)

Image architecture:
1. x86
2. x86_64

[vcld/Image/Capture Base Image]
Make a selection (1-2, 'c' to cancel): 1

Image architecture: x86

Use Sysprep:
1. Yes
2. No

[vcld/Image/Capture Base Image]
Make a selection (1-2, 'c' to cancel): 2

Use Sysprep: No

Enter the name of the image to be captured: ('c' to cancel): win_xp

Added new image to database: 'win_xp'
image.name : vmwarewinxp-win_xp14-v0
image.id : 14
imagerevision.id : 14
imagemeta.id : 12
resource.id : 24


Inserted imaging request to the database:
request ID: 10
reservation ID: 10

This process will now display the contents of the vcld.log file if the vcld
daemon is running. If you do not see many lines of additional output,
exit this
process, start the vcld daemon, and monitor the image capture process by
running
the command:
tail -f /var/log/vcld.log | grep '10:10'


2011-03-08 14:40:01|20476|utils.pm:insert_request(8343)|inserted new
reload request into request table, request id=10
2011-03-08 14:40:01|20476|utils.pm:insert_request(8374)|inserted new
reload request into reservation table, reservation id=10
2011-03-08
14:40:05|13551|10:10|image|utils.pm:reservation_being_processed(8923)|computerloadlog
'begin' entry does NOT exist for reservation 10
2011-03-08
14:40:05|13551|10:10|image|utils.pm:run_command(8995)|executed command:
pgrep -fl 'vcld [0-9]+:10 ', pid: 20517, exit status: 1, output:
2011-03-08
14:40:05|13551|10:10|image|utils.pm:is_management_node_process_running(9177)|process
is NOT running, identifier: 'vcld [0-9]+:10 '
2011-03-08
14:40:05|13551|10:10|image|utils.pm:reservation_being_processed(8944)|reservation
is NOT currently being processed
2011-03-08 14:40:05|13551|10:10|image|vcld:main(278)|reservation 10 is
NOT already being processed
2011-03-08
14:40:05|13551|10:10|image|utils.pm:get_request_info(4510)|standalone
affiliation found: Local
2011-03-08 14:40:05|13551|10:10|image|vcld:main(283)|retrieved request
information from database
2011-03-08
14:40:05|13551|10:10|image|DataStructure.pm:is_parent_reservation(992)|returning
true: parent reservation ID for this request: 10
2011-03-08
14:40:05|13551|10:10|image|utils.pm:update_request_state(1991)|request
10 state updated to: pending, laststate to: image
2011-03-08
14:40:05|13551|10:10|image|utils.pm:insertloadlog(3875)|inserted
computer=3, begin, beginning to process, state is image
2011-03-08 14:40:05|13551|10:10|image|vcld:make_new_child(515)|loaded
VCL::image module
2011-03-08 14:40:05|13551|10:10|image|vcld:make_new_child(539)|current
number 

Re: ssh on vmguest

2011-03-09 Thread Tyler Hardesty
If this can't get figured out... Is there another way I can create an image
to use with Apache VCL... what does Apache VCL look for, just a .img??

On Wed, Mar 9, 2011 at 6:20 AM, Jay Diener-Brazelle wrote:

>  I was still stuck at that point. But unfortunately my management has
> pulled the plug on the VCL project at my university.
>
>
> On 3/8/2011 4:58 PM, Tyler Hardesty wrote:
>
> Hey thanks!
>
> adding those lines helped solve my permission denied problem but
> unfortunately I still can't create the base image... It keeps telling me
> that it is not responding to ssh (It also looks like Jay Diener-Brazelle had
> this problem that he posted at the end of Feb 2011 but I don't see a
> solution reply to his either)
>
> management node:
>
> [root@vcl vcl]# /usr/local/vcl/bin/vcld -setup
> VCL Management Node Setup
>
> 
> Select a module to configure:
> 1. VCL Base Module
> 2. VCL Image State Module
> 3. Windows OS Module
>
> [vcld]
> Make a selection (1-3, 'c' to cancel): 2
>
> 
> Choose an operation:
> 1. Capture Base Image
>
> [vcld/Image]
> Make a selection (1, 'c' to cancel): 1
>
> Enter the VCL login name or ID of the user who will own the image: [admin]:
>
>
> User who will own the image: admin (ID: 1)
>
> Enter the hostname or IP address of the computer to be captured: ('c' to
> cancel): vm2
>
> Computer to be captured: vm2 (ID: 3)
> Provisioning module: provisioning_vmware
> Install type: vmware
>
> Select the OS to be captured (install type: vmware):
> 1. Generic Linux (VMware)
> 2. Windows 2003 Server (VMware)
> 3. Windows 7 (VMware)
> 4. Windows Server 2008 (VMware)
> 5. Windows Vista (VMware)
> 6. Windows XP (VMware)
>
> [vcld/Image/Capture Base Image]
> Make a selection (1-6, 'c' to cancel): 6
>
> Selected OS: Windows XP (VMware)
>
> Image architecture:
> 1. x86
> 2. x86_64
>
> [vcld/Image/Capture Base Image]
> Make a selection (1-2, 'c' to cancel): 1
>
> Image architecture: x86
>
> Use Sysprep:
> 1. Yes
> 2. No
>
> [vcld/Image/Capture Base Image]
> Make a selection (1-2, 'c' to cancel): 2
>
> Use Sysprep: No
>
> Enter the name of the image to be captured: ('c' to cancel): win_xp
>
> Added new image to database: 'win_xp'
>image.name: vmwarewinxp-win_xp14-v0
>image.id: 14
>imagerevision.id: 14
>imagemeta.id: 12
>resource.id: 24
>
>
> 
> Inserted imaging request to the database:
> request ID: 10
> reservation ID: 10
>
> This process will now display the contents of the vcld.log file if the vcld
> daemon is running. If you do not see many lines of additional output, exit
> this
> process, start the vcld daemon, and monitor the image capture process by
> running
> the command:
> tail -f /var/log/vcld.log | grep '10:10'
>
>
> 
> 2011-03-08 14:40:01|20476|utils.pm:insert_request(8343)|inserted new
> reload request into request table, request id=10
> 2011-03-08 14:40:01|20476|utils.pm:insert_request(8374)|inserted new
> reload request into reservation table, reservation id=10
> 2011-03-08 
> 14:40:05|13551|10:10|image|utils.pm:reservation_being_processed(8923)|computerloadlog
> 'begin' entry does NOT exist for reservation 10
> 2011-03-08 14:40:05|13551|10:10|image|utils.pm:run_command(8995)|executed
> command: pgrep -fl 'vcld [0-9]+:10 ', pid: 20517, exit status: 1, output:
> 2011-03-08 
> 14:40:05|13551|10:10|image|utils.pm:is_management_node_process_running(9177)|process
> is NOT running, identifier: 'vcld [0-9]+:10 '
> 2011-03-08 
> 14:40:05|13551|10:10|image|utils.pm:reservation_being_processed(8944)|reservation
> is NOT currently being processed
> 2011-03-08 14:40:05|13551|10:10|image|vcld:main(278)|reservation 10 is NOT
> already being processed
> 2011-03-08 
> 14:40:05|13551|10:10|image|utils.pm:get_request_info(4510)|standalone
> affiliation found: Local
> 2011-03-08 14:40:05|13551|10:10|image|vcld:main(283)|retrieved request
> information from database
> 2011-03-08
> 14:40:05|13551|10:10|image|DataStructure.pm:is_parent_reservation(992)|returning
> true: parent reservation ID for this request: 10
> 2011-03-08 
> 14:40:05|13551|10:10|image|utils.pm:update_request_state(1991)|request
> 10 state updated to: pending, laststate to: image
> 2011-03-08 14:40:05|13551|10:10|image|utils.pm:insertloadlog(3875)|inserted
> computer=3, begin, beginning to process, state is image
> 2011-03-08 14:40:05|13551|10:10|image|vcld:make_new_child(515)|loaded
> VCL::image module
> 2011-03-08 14:40:05|13551|10:10|image|vcld:make_new_child(539)|current
> number of forked kids: 1
> 2011-03-08 14:40:05|20532|10:10|image|vcld:make_new_child(555)|vcld
> environment variable set to 0 for this process
> 2011-03-08 14:40:05|20532|10:10|image|Module.pm:new(161)|VCL::image object
> created for state image, 

Re: ssh on vmguest

2011-03-09 Thread Jay Diener-Brazelle
I was still stuck at that point. But unfortunately my management has 
pulled the plug on the VCL project at my university.


On 3/8/2011 4:58 PM, Tyler Hardesty wrote:

Hey thanks!

adding those lines helped solve my permission denied problem but 
unfortunately I still can't create the base image... It keeps telling 
me that it is not responding to ssh (It also looks like Jay 
Diener-Brazelle had this problem that he posted at the end of Feb 2011 
but I don't see a solution reply to his either)


management node:

[root@vcl vcl]# /usr/local/vcl/bin/vcld -setup
VCL Management Node Setup

Select a module to configure:
1. VCL Base Module
2. VCL Image State Module
3. Windows OS Module

[vcld]
Make a selection (1-3, 'c' to cancel): 2

Choose an operation:
1. Capture Base Image

[vcld/Image]
Make a selection (1, 'c' to cancel): 1

Enter the VCL login name or ID of the user who will own the image: 
[admin]:


User who will own the image: admin (ID: 1)

Enter the hostname or IP address of the computer to be captured: ('c' 
to cancel): vm2


Computer to be captured: vm2 (ID: 3)
Provisioning module: provisioning_vmware
Install type: vmware

Select the OS to be captured (install type: vmware):
1. Generic Linux (VMware)
2. Windows 2003 Server (VMware)
3. Windows 7 (VMware)
4. Windows Server 2008 (VMware)
5. Windows Vista (VMware)
6. Windows XP (VMware)

[vcld/Image/Capture Base Image]
Make a selection (1-6, 'c' to cancel): 6

Selected OS: Windows XP (VMware)

Image architecture:
1. x86
2. x86_64

[vcld/Image/Capture Base Image]
Make a selection (1-2, 'c' to cancel): 1

Image architecture: x86

Use Sysprep:
1. Yes
2. No

[vcld/Image/Capture Base Image]
Make a selection (1-2, 'c' to cancel): 2

Use Sysprep: No

Enter the name of the image to be captured: ('c' to cancel): win_xp

Added new image to database: 'win_xp'
image.name : vmwarewinxp-win_xp14-v0
image.id : 14
imagerevision.id : 14
imagemeta.id : 12
resource.id : 24


Inserted imaging request to the database:
request ID: 10
reservation ID: 10

This process will now display the contents of the vcld.log file if the 
vcld
daemon is running. If you do not see many lines of additional output, 
exit this
process, start the vcld daemon, and monitor the image capture process 
by running

the command:
tail -f /var/log/vcld.log | grep '10:10'


2011-03-08 14:40:01|20476|utils.pm:insert_request(8343)|inserted new 
reload request into request table, request id=10
2011-03-08 14:40:01|20476|utils.pm:insert_request(8374)|inserted new 
reload request into reservation table, reservation id=10
2011-03-08 
14:40:05|13551|10:10|image|utils.pm:reservation_being_processed(8923)|computerloadlog 
'begin' entry does NOT exist for reservation 10
2011-03-08 
14:40:05|13551|10:10|image|utils.pm:run_command(8995)|executed 
command: pgrep -fl 'vcld [0-9]+:10 ', pid: 20517, exit status: 1, output:
2011-03-08 
14:40:05|13551|10:10|image|utils.pm:is_management_node_process_running(9177)|process 
is NOT running, identifier: 'vcld [0-9]+:10 '
2011-03-08 
14:40:05|13551|10:10|image|utils.pm:reservation_being_processed(8944)|reservation 
is NOT currently being processed
2011-03-08 14:40:05|13551|10:10|image|vcld:main(278)|reservation 10 is 
NOT already being processed
2011-03-08 
14:40:05|13551|10:10|image|utils.pm:get_request_info(4510)|standalone 
affiliation found: Local
2011-03-08 14:40:05|13551|10:10|image|vcld:main(283)|retrieved request 
information from database
2011-03-08 
14:40:05|13551|10:10|image|DataStructure.pm:is_parent_reservation(992)|returning 
true: parent reservation ID for this request: 10
2011-03-08 
14:40:05|13551|10:10|image|utils.pm:update_request_state(1991)|request 
10 state updated to: pending, laststate to: image
2011-03-08 
14:40:05|13551|10:10|image|utils.pm:insertloadlog(3875)|inserted 
computer=3, begin, beginning to process, state is image
2011-03-08 14:40:05|13551|10:10|image|vcld:make_new_child(515)|loaded 
VCL::image module
2011-03-08 14:40:05|13551|10:10|image|vcld:make_new_child(539)|current 
number of forked kids: 1
2011-03-08 14:40:05|20532|10:10|image|vcld:make_new_child(555)|vcld 
environment variable set to 0 for this process
2011-03-08 14:40:05|20532|10:10|image|Module.pm:new(161)|VCL::image 
object created for state image, address: 9a54b24
2011-03-08 14:40:05|20532|10:10|image|State.pm:initialize(86)|obtained 
a database handle for this state process, stored as $ENV{dbh}
2011-03-08 14:40:05|20532|10:10|image|State.pm:check_image_os(772)|no 
corrections need to be made to image OS: vmwarewinxp
2011-03-08 
14:40:05|20532|10:10|image|DataStructure.pm:is_parent

Re: ssh on vmguest

2011-03-08 Thread Tyler Hardesty
Hey thanks!

adding those lines helped solve my permission denied problem but
unfortunately I still can't create the base image... It keeps telling me
that it is not responding to ssh (It also looks like Jay Diener-Brazelle had
this problem that he posted at the end of Feb 2011 but I don't see a
solution reply to his either)

management node:

[root@vcl vcl]# /usr/local/vcl/bin/vcld -setup
VCL Management Node Setup

Select a module to configure:
1. VCL Base Module
2. VCL Image State Module
3. Windows OS Module

[vcld]
Make a selection (1-3, 'c' to cancel): 2

Choose an operation:
1. Capture Base Image

[vcld/Image]
Make a selection (1, 'c' to cancel): 1

Enter the VCL login name or ID of the user who will own the image: [admin]:

User who will own the image: admin (ID: 1)

Enter the hostname or IP address of the computer to be captured: ('c' to
cancel): vm2

Computer to be captured: vm2 (ID: 3)
Provisioning module: provisioning_vmware
Install type: vmware

Select the OS to be captured (install type: vmware):
1. Generic Linux (VMware)
2. Windows 2003 Server (VMware)
3. Windows 7 (VMware)
4. Windows Server 2008 (VMware)
5. Windows Vista (VMware)
6. Windows XP (VMware)

[vcld/Image/Capture Base Image]
Make a selection (1-6, 'c' to cancel): 6

Selected OS: Windows XP (VMware)

Image architecture:
1. x86
2. x86_64

[vcld/Image/Capture Base Image]
Make a selection (1-2, 'c' to cancel): 1

Image architecture: x86

Use Sysprep:
1. Yes
2. No

[vcld/Image/Capture Base Image]
Make a selection (1-2, 'c' to cancel): 2

Use Sysprep: No

Enter the name of the image to be captured: ('c' to cancel): win_xp

Added new image to database: 'win_xp'
   image.name: vmwarewinxp-win_xp14-v0
   image.id: 14
   imagerevision.id: 14
   imagemeta.id: 12
   resource.id: 24


Inserted imaging request to the database:
request ID: 10
reservation ID: 10

This process will now display the contents of the vcld.log file if the vcld
daemon is running. If you do not see many lines of additional output, exit
this
process, start the vcld daemon, and monitor the image capture process by
running
the command:
tail -f /var/log/vcld.log | grep '10:10'


2011-03-08 14:40:01|20476|utils.pm:insert_request(8343)|inserted new reload
request into request table, request id=10
2011-03-08 14:40:01|20476|utils.pm:insert_request(8374)|inserted new reload
request into reservation table, reservation id=10
2011-03-08 
14:40:05|13551|10:10|image|utils.pm:reservation_being_processed(8923)|computerloadlog
'begin' entry does NOT exist for reservation 10
2011-03-08 14:40:05|13551|10:10|image|utils.pm:run_command(8995)|executed
command: pgrep -fl 'vcld [0-9]+:10 ', pid: 20517, exit status: 1, output:
2011-03-08 
14:40:05|13551|10:10|image|utils.pm:is_management_node_process_running(9177)|process
is NOT running, identifier: 'vcld [0-9]+:10 '
2011-03-08 
14:40:05|13551|10:10|image|utils.pm:reservation_being_processed(8944)|reservation
is NOT currently being processed
2011-03-08 14:40:05|13551|10:10|image|vcld:main(278)|reservation 10 is NOT
already being processed
2011-03-08 14:40:05|13551|10:10|image|utils.pm:get_request_info(4510)|standalone
affiliation found: Local
2011-03-08 14:40:05|13551|10:10|image|vcld:main(283)|retrieved request
information from database
2011-03-08
14:40:05|13551|10:10|image|DataStructure.pm:is_parent_reservation(992)|returning
true: parent reservation ID for this request: 10
2011-03-08 
14:40:05|13551|10:10|image|utils.pm:update_request_state(1991)|request
10 state updated to: pending, laststate to: image
2011-03-08 14:40:05|13551|10:10|image|utils.pm:insertloadlog(3875)|inserted
computer=3, begin, beginning to process, state is image
2011-03-08 14:40:05|13551|10:10|image|vcld:make_new_child(515)|loaded
VCL::image module
2011-03-08 14:40:05|13551|10:10|image|vcld:make_new_child(539)|current
number of forked kids: 1
2011-03-08 14:40:05|20532|10:10|image|vcld:make_new_child(555)|vcld
environment variable set to 0 for this process
2011-03-08 14:40:05|20532|10:10|image|Module.pm:new(161)|VCL::image object
created for state image, address: 9a54b24
2011-03-08 14:40:05|20532|10:10|image|State.pm:initialize(86)|obtained a
database handle for this state process, stored as $ENV{dbh}
2011-03-08 14:40:05|20532|10:10|image|State.pm:check_image_os(772)|no
corrections need to be made to image OS: vmwarewinxp
2011-03-08
14:40:05|20532|10:10|image|DataStructure.pm:is_parent_reservation(992)|returning
true: parent reservation ID for this request: 10
2011-03-08 
14:40:05|20532|10:10|image|utils.pm:rename_vcld_process(7082)|reservation
count: 1
2011-03-08 
14:40:05|20532|10:10|image|utils.pm:rename_vcld_process(7101)|PARENTIMAGE:
1
2011-03-08 
14:40:05|20532|10:10|ima

Re: ssh on vmguest

2011-03-08 Thread James O'Dell
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I've gone through and compared your ssh debug info with mine.

It looks like your '/etc/ssh/ssh_config' is different than
mine. I added the following to the end of the file when I built
vcl:

> IdentityFile /opt/vcl/etc/vcl/vcl.key
> StrictHostKeyChecking no


I think this reflects the problem. You get:
> debug1: SSH2_MSG_SERVICE_ACCEPT received
> debug2: key: /root/.ssh/identity ((nil))
> debug2: key: /root/.ssh/id_rsa ((nil))
> debug2: key: /root/.ssh/id_dsa ((nil))
> debug1: Authentications that can continue: publickey,keyboard-interactive

I get
> debug1: SSH2_MSG_SERVICE_ACCEPT received
> debug2: key: /opt/vcl/etc/vcl/vcl.key (0x2ad12fbccc30)
> debug1: Authentications that can continue: publickey,keyboard-interactive


Also, where you get
> Warning: Permanently added '144.38.205.252' (RSA) to the list of known

I get
> debug1: Host 'vclvm010511' is known and matches the RSA host key.
> debug1: Found key in /root/.ssh/known_hosts:856


Here's where it really diverges. You have
> debug1: Next authentication method: publickey
> debug1: Trying private key: /root/.ssh/identity
> debug3: no such identity: /root/.ssh/identity
> debug1: Trying private key: /root/.ssh/id_rsa
> debug3: no such identity: /root/.ssh/id_rsa
> debug1: Trying private key: /root/.ssh/id_dsa
> debug3: no such identity: /root/.ssh/id_dsa
> debug2: we did not send a packet, disable method
> debug3: authmethod_lookup keyboard-interactive
> debug3: remaining preferred: password
> debug3: authmethod_is_enabled keyboard-interactive
> debug1: Next authentication method: keyboard-interactive
> debug2: userauth_kbdint
> debug2: we sent a keyboard-interactive packet, wait for reply
> debug1: Authentications that can continue: publickey,keyboard-interactive
> debug3: userauth_kbdint: disable: no info_req_seen
> debug2: we did not send a packet, disable method
> debug1: No more authentication methods to try.

I have
> debug1: Next authentication method: publickey
> debug1: Offering public key: /opt/vcl/etc/vcl/vcl.key
> debug3: send_pubkey_test
> debug2: we sent a publickey packet, wait for reply
> debug1: Server accepts key: pkalg ssh-rsa blen 149



Hope this helps,

__Jim




On 3/8/2011 12:22 PM, Tyler Hardesty wrote:
> This is what I get when I do ssh -vvv it says connection established
> towards the beginning but I can't make heads or tails of the rest of
> it... P.S. I started over with cygwin on the vm (deleted and
> reinstalled) but still get the same warning message that vm2 isn't
> responding to ssh when I do a vcld -setup.
> 
> output:
> [root@vcl ~]# ssh -vvv 144.38.205.252
> OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
> debug1: Reading configuration data /root/.ssh/config
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: Applying options for *
> debug2: ssh_connect: needpriv 0
> debug1: Connecting to 144.38.205.252 [144.38.205.252] port 22.
> debug1: Connection established.
> debug1: permanently_set_uid: 0/0
> debug1: identity file /root/.ssh/identity type -1
> debug1: identity file /root/.ssh/id_rsa type -1
> debug1: identity file /root/.ssh/id_dsa type -1
> debug1: loaded 3 keys
> debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1
> debug1: match: OpenSSH_5.1 pat OpenSSH*
> debug1: Enabling compatibility mode for protocol 2.0
> debug1: Local version string SSH-2.0-OpenSSH_4.3
> debug2: fd 3 setting O_NONBLOCK
> debug1: SSH2_MSG_KEXINIT sent
> debug1: SSH2_MSG_KEXINIT received
> debug2: kex_parse_kexinit:
> diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
> debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
> debug2: kex_parse_kexinit:
> aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-...@lysator.liu.se
> ,aes128-ctr,aes192-ctr,aes256-ctr
> debug2: kex_parse_kexinit:
> aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-...@lysator.liu.se
> ,aes128-ctr,aes192-ctr,aes256-ctr
> debug2: kex_parse_kexinit:
> hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd...@openssh.com
> ,hmac-sha1-96,hmac-md5-96
> debug2: kex_parse_kexinit:
> hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd...@openssh.com
> ,hmac-sha1-96,hmac-md5-96
> debug2: kex_parse_kexinit: none,z...@openssh.com
> ,zlib
> debug2: kex_parse_kexinit: none,z...@openssh.com
> ,zlib
> debug2: kex_parse_kexinit:
> debug2: kex_parse_kexinit:
> debug2: kex_parse_kexinit: first_kex_follows 0
> debug2: kex_parse_kexinit: reserved 0
> debug2: kex_parse_kexinit:
> diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
> debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
> debug2: kex_parse_kexinit:
> 

Re: ssh on vmguest

2011-03-08 Thread Tyler Hardesty
This is what I get when I do ssh -vvv it says connection established
towards the beginning but I can't make heads or tails of the rest of it...
P.S. I started over with cygwin on the vm (deleted and reinstalled) but
still get the same warning message that vm2 isn't responding to ssh when I
do a vcld -setup.

output:
[root@vcl ~]# ssh -vvv 144.38.205.252
OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
debug1: Reading configuration data /root/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 144.38.205.252 [144.38.205.252] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/identity type -1
debug1: identity file /root/.ssh/id_rsa type -1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: loaded 3 keys
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1
debug1: match: OpenSSH_5.1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.3
debug2: fd 3 setting O_NONBLOCK
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit:
diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,
rijndael-...@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,
rijndael-...@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,
hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,
hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,z...@openssh.com,zlib
debug2: kex_parse_kexinit: none,z...@openssh.com,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: kex_parse_kexinit:
diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,
rijndael-...@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit:
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,
rijndael-...@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac...@openssh.com
,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac...@openssh.com
,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none
debug2: kex_parse_kexinit: none
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: mac_init: found hmac-md5
debug1: kex: server->client aes128-cbc hmac-md5 none
debug2: mac_init: found hmac-md5
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug2: dh_gen_key: priv key bits set: 124/256
debug2: bits set: 497/1024
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug3: check_host_in_hostfile: filename /dev/null
debug3: check_host_in_hostfile: filename /etc/ssh/ssh_known_hosts
Warning: Permanently added '144.38.205.252' (RSA) to the list of known
hosts.
debug2: bits set: 502/1024
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /root/.ssh/identity ((nil))
debug2: key: /root/.ssh/id_rsa ((nil))
debug2: key: /root/.ssh/id_dsa ((nil))
debug1: Authentications that can continue: publickey,keyboard-interactive
debug3: start over, passed a different list publickey,keyboard-interactive
debug3: preferred gssapi-with-mic,publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /root/.ssh/identity
debug3: no such identity: /root/.ssh/identity
debug1: Trying private key: /root/.ssh/id_rsa
debug3: no such identity: /root/.ssh/id_rsa
debug1: Trying private key: /root/.ssh/id_dsa
debug3: no such iden

Re: ssh on vmguest

2011-03-07 Thread James O'Dell
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

It really looks like your keys are incorrect.

try "ssh -vvv XXX.XXX.XXX.XXX", ssh will output debugging messages,
and you should be able to see why you're getting permission denied

__Jim

On 3/7/2011 4:48 PM, Tyler Hardesty wrote:
> Sorry, additional info---
> when I do:
> [root@vcl ~]# ssh -o CheckHostIP=no -o StrictHostKeyChecking=no -o
> BatchMode=no -i /etc/vcl/vcl.key xxx.xx.xxx.xxx
> 
> It ssh's into the machine just fine.
> 
> On Mon, Mar 7, 2011 at 5:41 PM, Tyler Hardesty  > wrote:
> 
> I've been trying to search through the mail archive but haven't
> found a solution to my problem... sorry if this was already covered
> and I just didn't find it...
> I'm trying to capture an image of a win xp vm and I get this error
> in the log file:
> |16224|3:3|image|  WARNING 
> |16224|3:3|image| 2011-03-07
> 17:18:36|16224|3:3|image|VMware.pm:capture(462)|unable to capture
> image, VM vm2 is not responding to SSH
> |16224|3:3|image| ( 0) VMware.pm, capture (line: 462)
> |16224|3:3|image| (-1) image.pm , process (line: 165)
> |16224|3:3|image| (-2) vcld, make_new_child (line: 568)
> |16224|3:3|image| (-3) vcld, main (line: 346)
> |16224|3:3|image|  WARNING 
> |16224|3:3|image| 2011-03-07
> 17:18:36|16224|3:3|image|image.pm:process(169)|vmwarewinxp-windowsxp7-v0
> image failed to be captured by provisioning module
> |16224|3:3|image| ( 0) image.pm , process (line: 169)
> |16224|3:3|image| (-1) vcld, make_new_child (line: 568)
> |16224|3:3|image| (-2) vcld, main (line: 346)
> 2011-03-07
> 
> 17:18:36|16224|3:3|image|DataStructure.pm:get_computer_private_ip_address(1582)|attempting
> to retrieve private IP address for computer: vm2
> 2011-03-07
> 
> 17:18:36|16224|3:3|image|DataStructure.pm:get_computer_private_ip_address(1586)|retrieved
> contents of /etc/hosts on this management node, contains 7 lines
> 2011-03-07
> 
> 17:18:36|16224|3:3|image|DataStructure.pm:get_computer_private_ip_address(1639)|returning
> IP address from /etc/hosts file: 192.168.1.1
> 2011-03-07
> 17:18:36|16224|3:3|image|utils.pm:is_inblockrequest(6147)|zero rows
> were returned from database select
> 2011-03-07
> 
> 17:18:36|16224|3:3|image|DataStructure.pm:get_image_affiliation_name(2029)|image
> owner id: 1
> 2011-03-07
> 17:18:36|16224|3:3|image|utils.pm:getnewdbh(2709)|database requested
> (information_schema) does not match handle stored in $ENV{dbh}
> (vcl:127.0.0.1)
> 2011-03-07
> 17:18:36|16224|3:3|image|utils.pm:getnewdbh(2760)|database handle
> stored in $ENV{dbh}
> 2011-03-07
> 
> 17:18:36|16224|3:3|image|DataStructure.pm:retrieve_user_data(1353)|attempting
> to retrieve and store data for user: user.id  = '1'
> 2011-03-07
> 17:18:36|16224|3:3|image|utils.pm:getnewdbh(2709)|database requested
> (vcl) does not match handle stored in $ENV{dbh}
> (information_schema:127.0.0.1)
> 2011-03-07
> 17:18:36|16224|3:3|image|utils.pm:getnewdbh(2760)|database handle
> stored in $ENV{dbh}
> 2011-03-07
> 17:18:36|16224|3:3|image|DataStructure.pm:retrieve_user_data(1416)|data
> has been retrieved for user: admin (id: 1)
> 2011-03-07 17:18:36|16224|3:3|image|utils.pm:mail(1268)|SUCCESS --
> Sending mail To: tharde...@tylerhardesty.info
> , PROBLEM -- 3:3|image|image.pm
> |vm2>localvmhost|vmwarewinxp-windowsxp7-v0|admin
> |16224|3:3|image|  CRITICAL 
> |16224|3:3|image| 2011-03-07
> 
> 17:18:36|16224|3:3|image|image.pm:reservation_failed(393)|vmwarewinxp-windowsxp7-v0
> image creation failed
> |16224|3:3|image| ( 0) image.pm ,
> reservation_failed (line: 393)
> |16224|3:3|image| (-1) image.pm , process (line: 170)
> |16224|3:3|image| (-2) vcld, make_new_child (line: 568)
> |16224|3:3|image| (-3) vcld, main (line: 346)
> 
> I've run the cygwin on the win xp vm and it was successfull...
> copying and pasting that command it shows at the end of the setup
> allowed me to ssh into it without having to put in a passwd or
> whatever so then I tried to ssh to it from my management node and I get:
> [thardesty@vcl ~]$ ssh xxx.xx.xxx.xxx
> Warning: Permanently added 'xxx.xx.xxx.xxx' (RSA) to the list of
> known hosts.
> Permission denied (publickey,keyboard-interactive).
> 
> I can't seem to find what I am doing wrong so any help would be great!!
> 
> -Tyler Hardesty
> 
> 


- -- 
Jim O'Dell
Network Analyst
California State University Fullerton
Email: jod...@fullerton.edu
Phone: (657) 278-2256
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Re: ssh on vmguest

2011-03-07 Thread Tyler Hardesty
Sorry, additional info---
when I do:
[root@vcl ~]# ssh -o CheckHostIP=no -o StrictHostKeyChecking=no -o
BatchMode=no -i /etc/vcl/vcl.key xxx.xx.xxx.xxx

It ssh's into the machine just fine.

On Mon, Mar 7, 2011 at 5:41 PM, Tyler Hardesty  wrote:

> I've been trying to search through the mail archive but haven't found a
> solution to my problem... sorry if this was already covered and I just
> didn't find it...
> I'm trying to capture an image of a win xp vm and I get this error in the
> log file:
> |16224|3:3|image|  WARNING 
> |16224|3:3|image| 2011-03-07
> 17:18:36|16224|3:3|image|VMware.pm:capture(462)|unable to capture image, VM
> vm2 is not responding to SSH
> |16224|3:3|image| ( 0) VMware.pm, capture (line: 462)
> |16224|3:3|image| (-1) image.pm, process (line: 165)
> |16224|3:3|image| (-2) vcld, make_new_child (line: 568)
> |16224|3:3|image| (-3) vcld, main (line: 346)
> |16224|3:3|image|  WARNING 
> |16224|3:3|image| 2011-03-07 
> 17:18:36|16224|3:3|image|image.pm:process(169)|vmwarewinxp-windowsxp7-v0
> image failed to be captured by provisioning module
> |16224|3:3|image| ( 0) image.pm, process (line: 169)
> |16224|3:3|image| (-1) vcld, make_new_child (line: 568)
> |16224|3:3|image| (-2) vcld, main (line: 346)
> 2011-03-07
> 17:18:36|16224|3:3|image|DataStructure.pm:get_computer_private_ip_address(1582)|attempting
> to retrieve private IP address for computer: vm2
> 2011-03-07
> 17:18:36|16224|3:3|image|DataStructure.pm:get_computer_private_ip_address(1586)|retrieved
> contents of /etc/hosts on this management node, contains 7 lines
> 2011-03-07
> 17:18:36|16224|3:3|image|DataStructure.pm:get_computer_private_ip_address(1639)|returning
> IP address from /etc/hosts file: 192.168.1.1
> 2011-03-07 17:18:36|16224|3:3|image|utils.pm:is_inblockrequest(6147)|zero
> rows were returned from database select
> 2011-03-07
> 17:18:36|16224|3:3|image|DataStructure.pm:get_image_affiliation_name(2029)|image
> owner id: 1
> 2011-03-07 17:18:36|16224|3:3|image|utils.pm:getnewdbh(2709)|database
> requested (information_schema) does not match handle stored in $ENV{dbh}
> (vcl:127.0.0.1)
> 2011-03-07 17:18:36|16224|3:3|image|utils.pm:getnewdbh(2760)|database
> handle stored in $ENV{dbh}
> 2011-03-07
> 17:18:36|16224|3:3|image|DataStructure.pm:retrieve_user_data(1353)|attempting
> to retrieve and store data for user: user.id = '1'
> 2011-03-07 17:18:36|16224|3:3|image|utils.pm:getnewdbh(2709)|database
> requested (vcl) does not match handle stored in $ENV{dbh}
> (information_schema:127.0.0.1)
> 2011-03-07 17:18:36|16224|3:3|image|utils.pm:getnewdbh(2760)|database
> handle stored in $ENV{dbh}
> 2011-03-07
> 17:18:36|16224|3:3|image|DataStructure.pm:retrieve_user_data(1416)|data has
> been retrieved for user: admin (id: 1)
> 2011-03-07 17:18:36|16224|3:3|image|utils.pm:mail(1268)|SUCCESS -- Sending
> mail To: tharde...@tylerhardesty.info, PROBLEM -- 3:3|image|image.pm
> |vm2>localvmhost|vmwarewinxp-windowsxp7-v0|admin
> |16224|3:3|image|  CRITICAL 
> |16224|3:3|image| 2011-03-07 
> 17:18:36|16224|3:3|image|image.pm:reservation_failed(393)|vmwarewinxp-windowsxp7-v0
> image creation failed
> |16224|3:3|image| ( 0) image.pm, reservation_failed (line: 393)
> |16224|3:3|image| (-1) image.pm, process (line: 170)
> |16224|3:3|image| (-2) vcld, make_new_child (line: 568)
> |16224|3:3|image| (-3) vcld, main (line: 346)
>
> I've run the cygwin on the win xp vm and it was successfull... copying and
> pasting that command it shows at the end of the setup allowed me to ssh into
> it without having to put in a passwd or whatever so then I tried to ssh to
> it from my management node and I get:
> [thardesty@vcl ~]$ ssh xxx.xx.xxx.xxx
> Warning: Permanently added 'xxx.xx.xxx.xxx' (RSA) to the list of known
> hosts.
> Permission denied (publickey,keyboard-interactive).
>
> I can't seem to find what I am doing wrong so any help would be great!!
>
> -Tyler Hardesty
>
>


ssh on vmguest

2011-03-07 Thread Tyler Hardesty
I've been trying to search through the mail archive but haven't found a
solution to my problem... sorry if this was already covered and I just
didn't find it...
I'm trying to capture an image of a win xp vm and I get this error in the
log file:
|16224|3:3|image|  WARNING 
|16224|3:3|image| 2011-03-07
17:18:36|16224|3:3|image|VMware.pm:capture(462)|unable to capture image, VM
vm2 is not responding to SSH
|16224|3:3|image| ( 0) VMware.pm, capture (line: 462)
|16224|3:3|image| (-1) image.pm, process (line: 165)
|16224|3:3|image| (-2) vcld, make_new_child (line: 568)
|16224|3:3|image| (-3) vcld, main (line: 346)
|16224|3:3|image|  WARNING 
|16224|3:3|image| 2011-03-07
17:18:36|16224|3:3|image|image.pm:process(169)|vmwarewinxp-windowsxp7-v0
image failed to be captured by provisioning module
|16224|3:3|image| ( 0) image.pm, process (line: 169)
|16224|3:3|image| (-1) vcld, make_new_child (line: 568)
|16224|3:3|image| (-2) vcld, main (line: 346)
2011-03-07
17:18:36|16224|3:3|image|DataStructure.pm:get_computer_private_ip_address(1582)|attempting
to retrieve private IP address for computer: vm2
2011-03-07
17:18:36|16224|3:3|image|DataStructure.pm:get_computer_private_ip_address(1586)|retrieved
contents of /etc/hosts on this management node, contains 7 lines
2011-03-07
17:18:36|16224|3:3|image|DataStructure.pm:get_computer_private_ip_address(1639)|returning
IP address from /etc/hosts file: 192.168.1.1
2011-03-07 17:18:36|16224|3:3|image|utils.pm:is_inblockrequest(6147)|zero
rows were returned from database select
2011-03-07
17:18:36|16224|3:3|image|DataStructure.pm:get_image_affiliation_name(2029)|image
owner id: 1
2011-03-07 17:18:36|16224|3:3|image|utils.pm:getnewdbh(2709)|database
requested (information_schema) does not match handle stored in $ENV{dbh}
(vcl:127.0.0.1)
2011-03-07 17:18:36|16224|3:3|image|utils.pm:getnewdbh(2760)|database handle
stored in $ENV{dbh}
2011-03-07
17:18:36|16224|3:3|image|DataStructure.pm:retrieve_user_data(1353)|attempting
to retrieve and store data for user: user.id = '1'
2011-03-07 17:18:36|16224|3:3|image|utils.pm:getnewdbh(2709)|database
requested (vcl) does not match handle stored in $ENV{dbh}
(information_schema:127.0.0.1)
2011-03-07 17:18:36|16224|3:3|image|utils.pm:getnewdbh(2760)|database handle
stored in $ENV{dbh}
2011-03-07
17:18:36|16224|3:3|image|DataStructure.pm:retrieve_user_data(1416)|data has
been retrieved for user: admin (id: 1)
2011-03-07 17:18:36|16224|3:3|image|utils.pm:mail(1268)|SUCCESS -- Sending
mail To: tharde...@tylerhardesty.info, PROBLEM -- 3:3|image|image.pm
|vm2>localvmhost|vmwarewinxp-windowsxp7-v0|admin
|16224|3:3|image|  CRITICAL 
|16224|3:3|image| 2011-03-07
17:18:36|16224|3:3|image|image.pm:reservation_failed(393)|vmwarewinxp-windowsxp7-v0
image creation failed
|16224|3:3|image| ( 0) image.pm, reservation_failed (line: 393)
|16224|3:3|image| (-1) image.pm, process (line: 170)
|16224|3:3|image| (-2) vcld, make_new_child (line: 568)
|16224|3:3|image| (-3) vcld, main (line: 346)

I've run the cygwin on the win xp vm and it was successfull... copying and
pasting that command it shows at the end of the setup allowed me to ssh into
it without having to put in a passwd or whatever so then I tried to ssh to
it from my management node and I get:
[thardesty@vcl ~]$ ssh xxx.xx.xxx.xxx
Warning: Permanently added 'xxx.xx.xxx.xxx' (RSA) to the list of known
hosts.
Permission denied (publickey,keyboard-interactive).

I can't seem to find what I am doing wrong so any help would be great!!

-Tyler Hardesty