Hi Kelly,

Thank you for your answer. I tested SSH command on management node but the
result is the same:

r...@atp-vcl2:~# ssh -i /etc/vcl/vcl.key -l root -p 22 -x
*203.143.162.31*'ls -1 /var 2>&1' 2>&1
cache
empty
lib
log
run
tmp
r...@atp-vcl2:~# ssh -i /etc/vcl/vcl.key -l root -p 22 -x *203.143.162.31:
/vmfs/volumes/storage1* 'ls -1 /var 2>&1' 2>&1
ssh: Could not resolve hostname *203.143.162.31:/vmfs/volumes/storage1*:
Name or service not known

Adding the IP address as part of the datastorepath doesn't solve the
problem. In facts, the path should be host independent as I can have
different ESX boxes. I still think is a parameter issue, maybe the query
which extract the info from MySQL confuses "hostname" with "datastorepath".


Kind regards,
Natalia


2009/11/5 Kelly Robinson <isg...@langate.gsu.edu>

>  Natalia-
>
> As a test, try specifying the ip address of the image repository as part of
> the "datastorepath" within the vmprofile table located in the vcl database.
> The entry can look similar to XXX.XX.XX.XXX:/vmfs/volumes/storage1.
>
> Kelly
>
>
>  Kelly P. Robinson
> Software Systems Engineer, Lead
> Advanced Campus Services
> Information Systems and Technology
> P.O. Box 3994
> Atlanta, Ga 30302-3994
> (404) 413-4757
> krobinso...@gsu.edu
> **
>
>
> >>> Natalia Watanabe <natalia.watan...@gmail.com> 11/04/2009 12:44 AM >>>
>
> Hello guys,
>
>
> Trying to create a WinXP image of a VM using ESX, I got this error message:
>
> 2009-10-21 15:51:30|24631|1:27|image|utils.pm:run_ssh_command(6167)|executing
> SSH command on /vmfs/volumes/storage1:
> |24631|1:27|image| /usr/bin/ssh -i /etc/vcl/winxp_blade.key -l root -p 22
> -x /vmfs/volumes/storage1 'ls -1 /golden 2>&1' 2>&1
>
> |24631|1:27|image| ---- WARNING ----
> |24631|1:27|image| 2009-10-21 
> 15:51:30|24631|1:27|image|utils.pm:run_ssh_command(6239)|attempt
> 1/3: failed to execute SSH command on /vmfs/volumes/storage1: ls -1 /golden
> 2>&1, exit status: 255, SSH exits with the exit status of the remote command
> or with 255 if an error occurred, output:
> |24631|1:27|image| ssh output (ls -1 /gol...): ssh: Could not resolve
> hostname /vmfs/volumes/storage1: Name or service not known
> |24631|1:27|image| ( 0) utils.pm, notify (line: 727)
> |24631|1:27|image| (-1) utils.pm, run_ssh_command (line: 6239)
> |24631|1:27|image| (-2) esx.pm, does_image_exist (line: 910)
> |24631|1:27|image| (-3) image.pm, process (line: 135)
> |24631|1:27|image| (-4) vcld, make_new_child (line: 594)
> |24631|1:27|image| (-5) vcld, main (line: 341)
>
> In some part of the code instead of use the hostname it's using the VM
> path. I tried to find in which part of the code is that unsuccessfully.
>
>
> --
> Kind regards,
> Natalia Watanabe
>



-- 
Kind regards,
Natalia Watanabe

Reply via email to