Bug 704490 - Condor platform Unknown
Summary: Condor platform Unknown
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: condor
Version: 2.0
Hardware: Unspecified
OS: Windows
low
medium
Target Milestone: 2.0.1
: ---
Assignee: Timothy St. Clair
QA Contact: Martin Kudlej
URL:
Whiteboard:
Depends On:
Blocks: 723887
TreeView+ depends on / blocked
 
Reported: 2011-05-13 11:28 UTC by Jan Sarenik
Modified: 2011-09-07 16:45 UTC (History)
3 users (show)

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.
Clone Of:
Environment:
Last Closed: 2011-09-07 16:45:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1249 0 normal SHIPPED_LIVE Moderate: Red Hat Enterprise MRG Grid 2.0 security, bug fix and enhancement update 2011-09-07 16:40:45 UTC

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


Note You need to log in before you can comment on or make changes to this bug.