[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Condor-devel] Condor 7.4.2 bug: mkisofs.bat vs. mkisofs.exe in condor_vm_vmware.pl ?!?!
- Date: Wed, 28 Jul 2010 01:30:04 -0700 (PDT)
- From: Rob <spamrefuse@xxxxxxxxx>
- Subject: [Condor-devel] Condor 7.4.2 bug: mkisofs.bat vs. mkisofs.exe in condor_vm_vmware.pl ?!?!
Hello,
This problem with the condor_vm_vmware.pl script causes Condor 7.4.2
to always ignore VMware!
On a Windows XP pool PC I have installed:
VMware 1.0.10 (build 203137),
ActivePerl 5.10.1 (Build 1007), and
Condor 7.4.2 (BuildID: 227044).
The StartLog contains:
==========================================
07/28 16:48:58 my_popen: CreateProcess failed
07/28 16:48:58 Failed to run hibernation plugin 'C:\condor/libexec/power_state
ad'
07/28 16:49:04 my_popen: CreateProcess failed
07/28 16:49:04 Failed to execute C:\condor/bin/condor_starter.std.exe, ignoring
07/28 16:49:04 VM-gahp server reported an internal error
07/28 16:49:04 VM universe will be tested to check if it is available
07/28 16:49:27 Warning: 'C:\condor/bin/condor_vm-gahp.exe -f -M 0 vmtype vmware'
did not produce any valid output.
07/28 16:49:27
#######################################################
##### Make sure the followings to use VM universe for VMware
### - The script program like 'condor_vm_vmware.pl' must be readable for
anybody.
### - Check the path of vmware-cmd, vmrun, and mkisofs in 'condor_vm_vmware.pl
'#########################################################
07/28 16:49:27 Test of vmgahp for VM_TYPE('vmware') failed. So we disabled VM
Universe
07/28 16:49:27 Started a timer to test VM universe after 600(seconds)
==========================================
The perl script C:\condor\bin\condor_vm_vmware.pl sets the following
variables:
$vmrun_prog = 'C:\Program Files\VMware\VMware VIX\vmrun'
$vmwarecmd_prog = 'C:\Program Files\VMware\VMware VmPerl Scripting
API\vmware-cmd'
$mkisofs = 'C:\condor\bin\mkisofs.exe';
The first two are available from VMware installation.
However, the third one is NOT in the condor bin-folder; instead there is
mkisofs.bat !!!
Hence, '$mkisofs' is not set correctly, which causes script failure and VMware
to be ignored.
The mkisofs.bat relies on cdmake, which appears in the condor bin-folder.....
When I change the perl script as follows:
$mkisofs = 'C:\condor\bin\mkisofs.bat';
then VMware is detected as expected!!!
I suppose this is a bug in Condor 7.4.2 release !
Regards,
Rob.