Bug 706415

Summary: condor_configd doesn't start because of missing imports
Product: Red Hat Enterprise MRG Reporter: Martin Kudlej <mkudlej>
Component: condorAssignee: Timothy St. Clair <tstclair>
Status: CLOSED ERRATA QA Contact: Martin Kudlej <mkudlej>
Severity: urgent Docs Contact:
Priority: urgent    
Version: DevelopmentCC: matt, tstclair
Target Milestone: 2.0   
Target Release: ---   
Hardware: Unspecified   
OS: Windows   
Whiteboard:
Fixed In Version: condor-win-7.6.1-0.7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-27 14:19:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 680454, 692635    

Description Martin Kudlej 2011-05-20 14:00:26 UTC
Description of problem:
I've seen that condor_configd doesn't start in MasterLog.
So I've modified condor_configd.py like this:

fff = open('C:\\temp\\fff.txt', 'a')

try:
  import os   
  import sys
  import logging
  import signal   
  import time
  import socket   
  import threading
  import getopt   
  fff.write("hu1")
  import Queue
  fff.write("hu2")
  import random
  fff.write("hu3")
  import tempfile
  fff.write("hu4")
  import shutil
  fff.write("hu5")
  import stat
  fff.write("hu6")
  from qmf.console import Session, Console
  fff.write("hu7")
  from condorutils.log import *
  fff.write("hu8")
  from condorutils.readconfig import *
  fff.write("hu9")
  from wallabyclient import WallabyHelpers
  fff.write("hu10")
  from wallabyclient.exceptions import WallabyUnsupportedAPI
  fff.write("hu11")
except Exception, e:
        fff.write("hu:" + str(e))

and I've seen in fff.txt:
hu1hu2hu3hu4hu5hu6hu:No module named qmf.console

so it cannot load qmf.console.

Version-Release number of selected component (if applicable):
condor-win-7.6.1-0.5
I see it on all supported Windows versions.

How reproducible:
100%

Steps to Reproduce:
1. install condor
2. net start condor
3. watch MAsterLog
  
Actual results:
Remote configuration doesn't start.

Expected results:
Remote configuration will start with Condor and load/check configuration on configuration server.

Comment 2 Timothy St. Clair 2011-05-20 15:29:42 UTC
Please post your PYTHONPATH

I've verified all is well on a clean install of condor.

Comment 3 Martin Kudlej 2011-05-23 13:21:41 UTC
$ echo %PYTHONPATH%
C:\condor-7.4\bin\site-packages;C:\condor\7.6.0\bin\site-packages;C:\condor\bin\site-packages

and the same value is in My computer->Properties..->Environment variables.
Condor is installed in C:\condor\ and there are subdirectiories with messaging files in bin\site-packages directory, but there is no qmf subdirectory there:
c:\condor\bin\site-packages>dir
... condorutils
... mllib
... qpid
... wallabyclient

Comment 6 Martin Kudlej 2011-05-25 09:06:34 UTC
Tested with condor-win-7.6.1-0.7 on all supported versions of Windows and it works. --> VERIFIED