Project

General

Profile

Bug #3466

Factory condor_q may not query the given schedd for RPM-installed condor

Added by Burt Holzman almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Parag Mhashilkar
Category:
Factory
Target version:
Start date:
02/19/2013
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
First Occurred:
Occurs In:
Stakeholders:
Duration:

Description

In a nutshell, glideinwms.lib.condorMonitor.LocalScheddCache queries the local collector for the LOCAL_DIR_STRING for a given schedd. It then sets
LOCAL_DIR to LOCAL_DIR_STRING before running a vanilla condor_q.

In good old tarball installs this works fine,

LOCAL_DIR = /var/lib/condor
SPOOL = $(LOCAL_DIR)/spool

In the RPM Condor installs, this can be a problem.

LOCAL_DIR = /var
LOCAL_DIR_STRING = "$(LOCAL_DIR)" 
LOCAL_SCHEDD_DIR = /var/lib/condor
SCHEDD.SCHEDDGLIDEINS2.LOCAL_DIR = $(LOCAL_SCHEDD_DIR)/$(SCHEDD.SCHEDDGLIDEINS2.SCHEDD_NAME)
SCHEDD.SCHEDDGLIDEINS2.SPOOL = $(SCHEDD.SCHEDDGLIDEINS2.LOCAL_DIR)/spool
SPOOL = $(LOCAL_DIR)/lib/condor/spool

So condor_q goes looking in /var/lib/condor/schedd_glideins2/lib/condor/spool. Even worse, it silently fails when this happens and runs condor_q falling back to the config file values rather than the environment! (We'll report that to Condor!)

One proposal: advertise SPOOL_DIR_STRING instead of LOCAL_DIR_STRING, and set _CONDOR_SPOOL to that.
Any thoughts? (A temporary workaround could be to set _CONDOR_SPOOL to $(LOCAL_DIR_STRING)/spool, that will probably work for 99%).


Subtasks

Bug #3489: Advertise and use SPOOL_DIR_STRING instead of LOCAL_DIR_STRINGClosedParag Mhashilkar

Bug #3622: Master: Factory condor_q may not query the given schedd for RPM-installed condorClosedParag Mhashilkar

History

#1 Updated by Parag Mhashilkar almost 8 years ago

You proposal looks ok to me. Any objections to releasing v2.7 with the work around while your proposal gets implemented in 2.7.1? This should give us more time to test it.

#2 Updated by Parag Mhashilkar almost 8 years ago

  • Status changed from Assigned to Resolved

created a sub task to implement the proposal. Closing this one.

#3 Updated by Parag Mhashilkar over 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF