Bug 599037

Summary: configd.py on windows run_cmd causes .dll failure on execute
Product: Red Hat Enterprise MRG Reporter: Timothy St. Clair <tstclair>
Component: wallabyAssignee: Robert Rati <rrati>
Status: CLOSED ERRATA QA Contact: Martin Kudlej <mkudlej>
Severity: medium Docs Contact:
Priority: low    
Version: betaCC: matt, mkudlej, tstclair
Target Milestone: 1.3   
Target Release: ---   
Hardware: All   
OS: Windows   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-20 11:33:42 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: 559596    

Description Timothy St. Clair 2010-06-02 15:01:39 UTC
Description of problem:
When the configd shells out using run_cmd it appears that the executed command fails, from what looks to be a PATH issue.

Version-Release number of selected component (if applicable):
2.7-0.4

How reproducible:
100%

Steps to Reproduce:
1. disable wallaby and broker run condor_configd.py

  
Actual results:
pop-up saying it could not initialize condor_config_val

Expected results:
non pop-up, clean run

Additional info:
condor_config_val -dump runs cleanly from the command line.  The only thing that I'm aware of that can cause an issue such as this is if run_cmd is not using system PATH env.

Comment 1 Robert Rati 2010-06-03 22:36:55 UTC
This was an issue with the jobhooks python package from condor-job-hooks.  The run_cmd function tries to be safe and use a very limited set of env variables.  However, condor_config_val on windows needs more than a bare minimum to work in some cases.

Fixed in:
condor-job-hooks-1.4-0.4

Comment 5 Martin Kudlej 2010-09-27 12:43:35 UTC
I've tested this on Windows 2003/XP x i386/x86_64 and it works. -->VERIFIED