Bug 706415 - condor_configd doesn't start because of missing imports
Summary: condor_configd doesn't start because of missing imports
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: condor
Version: Development
Hardware: Unspecified
OS: Windows
urgent
urgent
Target Milestone: 2.0
: ---
Assignee: Timothy St. Clair
QA Contact: Martin Kudlej
URL:
Whiteboard:
Depends On:
Blocks: 680454 692635
TreeView+ depends on / blocked
 
Reported: 2011-05-20 14:00 UTC by Martin Kudlej
Modified: 2011-06-27 14:19 UTC (History)
2 users (show)

Fixed In Version: condor-win-7.6.1-0.7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-27 14:19:50 UTC
Target Upstream Version:


Attachments (Terms of Use)

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


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