The details of a Condor slot running on Windows 2008 (32-bit) contain $CondorPlatform: X86-Unknown_ $ $CondorVersion: 7.6.1 Apr 27 2011 $ (on Windows 2008 Server 32) cumin-0.1.4746-1.el5 (on RHEL5 x86_64) How reproducible: 100% Steps to Reproduce: 1. View details of a Windows slot in Cumin Actual results: $CondorPlatform: X86-Unknown_ $ Expected results: On Linux it shows $CondorPlatform: I686-RedHat_6.0 $
Because that var is meant to only hold details about the machine which condor was built on, I will simply update -DPLATFORM:STRING=WINDOWS, which will require a minor update to the spec.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: C: Build modifications cause condor_version to report inaccurate data. C: condor_version reports inaccurate data F: add -DPLATFORM:STRING=WINDOWS to build spec R: will report WINDOWS, no arch necessary in condor_version on windows
Tested on Windows 7/2008/2003 x x86_64/i386 and Windows 2008 R2 x86_64 and Windows XP i386 with condor-7.6.3-0.2.msi and condor_version.exe has proper output: $CondorVersion: 7.6.3 Jul 13 2011 $ $CondorPlatform: WINDOWS $ also classads in collector are ok: condor_status -l | grep -i version | sort -u CondorVersion = "$CondorVersion: 7.6.3 Jul 13 2011 $" WindowsMajorVersion = 5 WindowsMajorVersion = 6 WindowsMinorVersion = 0 WindowsMinorVersion = 1 WindowsMinorVersion = 2 WindowsServicePackMajorVersion = 1 WindowsServicePackMajorVersion = 2 WindowsServicePackMajorVersion = 3 WindowsServicePackMinorVersion = 0 -->VERIFIED
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1,4 +1 @@ -C: Build modifications cause condor_version to report inaccurate data. +On Windows, the system returned an incorrect Condor version. This update modifies the build spec file and the system provides the correct platform data.-C: condor_version reports inaccurate data -F: add -DPLATFORM:STRING=WINDOWS to build spec -R: will report WINDOWS, no arch necessary in condor_version on windows
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-1249.html