Bug 704490

Summary: Condor platform Unknown
Product: Red Hat Enterprise MRG Reporter: Jan Sarenik <jsarenik>
Component: condorAssignee: Timothy St. Clair <tstclair>
Status: CLOSED ERRATA QA Contact: Martin Kudlej <mkudlej>
Severity: medium Docs Contact:
Priority: low    
Version: 2.0CC: matt, mkudlej, tstclair
Target Milestone: 2.0.1   
Target Release: ---   
Hardware: Unspecified   
OS: Windows   
Whiteboard:
Fixed In Version: condor-7.6.2-0.1 Doc Type: Bug Fix
Doc Text:
On Windows, the system returned an incorrect Condor version. This update modifies the build spec file and the system provides the correct platform data.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-07 16:45:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 723887    

Description Jan Sarenik 2011-05-13 11:28:50 UTC
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 $

Comment 1 Timothy St. Clair 2011-05-19 19:03:32 UTC
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.

Comment 2 Timothy St. Clair 2011-06-15 16:45:20 UTC
    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

Comment 4 Martin Kudlej 2011-07-22 13:06:03 UTC
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

Comment 5 Eva Kopalova 2011-08-09 09:29:02 UTC
    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

Comment 6 errata-xmlrpc 2011-09-07 16:45:35 UTC
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