Recent Changes - Search:


edit SideBar

Install Condor on OSG-UI

Condor was installed on OSG-UI by pacman OSG:client, but it wasn't configured.

Ben would like to have it for the course, for submitting jobs to another location, so let's try to make it work.

[sergio@osg-ui condor]$ sudo groupadd -g 400 condor
[sergio@osg-ui condor]$ sudo useradd -u 400 -g 400 condor
[sergio@osg-ui condor]$ sudo ./condor_install --make-personal-condor --type=submit --owner condor
Setting up Condor in /opt/osg-client-1.0.0/condor

Condor has been installed into:

Configured condor using these configuration files:
  global: /opt/osg-client-1.0.0/condor/etc/condor_config
  local:  /opt/osg-client-1.0.0/condor/local.osg-ui/condor_config.local

In order for Condor to work properly you must set your CONDOR_CONFIG
environment variable to point to your Condor configuration file:
/opt/osg-client-1.0.0/condor/etc/condor_config before running Condor
Created scripts which can be sourced by users to setup their
Condor environment variables.  These are:
   sh: /opt/osg-client-1.0.0/condor/
  csh: /opt/osg-client-1.0.0/condor/condor.csh
[sergio@osg-ui condor]$ . /opt/osg-client-1.0.0/condor/
[sergio@osg-ui condor]$ condor_q
ERROR "The following configuration macros appear to contain default values that must be changed before Condor will run.  These macros are:
   hostallow_write (found on line 219 of /opt/osg-client-1.0.0/condor/etc/condor_config)
" at line 242 in file condor_config.C


[sergio@osg-ui condor]$ condor_q

Extra Info: You probably saw this error because the condor_schedd is not 
running on the machine you are trying to query. If the condor_schedd is not 
running, the Condor system will not be able to find an address and port to 
connect to and satisfy this request. Please make sure the Condor daemons are 
running and try again.

Extra Info: If the condor_schedd is running on the machine you are trying to 
query and you still see the error, the most likely cause is that you have 
setup a personal Condor, you have not defined SCHEDD_NAME in your 
condor_config file, and something is wrong with your SCHEDD_ADDRESS_FILE 
setting. You must define either or both of those settings in your config 
file, or you must use the -name option to condor_q. Please see the Condor 
manual for details on SCHEDD_NAME and SCHEDD_ADDRESS_FILE. 

do I actually need to run the sched just for a submit host ?

Ok, it looks like the condor install had failed before

[sergio@osg-ui osg]$ vdt-list-packages | grep -v OK
PyGlobus [Incomplete]
Condor [Incomplete]
VDT-Common [Incomplete]
[sergio@osg-ui osg]$ sudo pacman -single -remove client VDT-Client Condor
[sergio@osg-ui osg]$ sudo yum install python-devel openssl-devel
[sergio@osg-ui osg]$ sudo pacman -install OSG:client
[sergio@osg-ui osg]$ sudo vdt-control --on condor
enabling init service condor... ok
[sergio@osg-ui osg]$ condor_q

-- Submitter: : <> :
 ID      OWNER            SUBMITTED     RUN_TIME ST PRI SIZE CMD               

0 jobs; 0 idle, 0 running, 0 held

[sergio@osg-ui osg]$ sudo pacman -resume
Package [/opt/osg-client-1.0.0:OSG:site-verify] not [installed]:
    Failure attempting to [cd /opt/osg-client-1.0.0/site-verify, retract to /opt/osg-client-1.0.0] at [/opt/osg-client-1.0.0].

The site-verify package has something wrong, and a reinstall does not seem to help:

[sergio@osg-ui osg]$ sudo pacman  -remove OSG:site-verify
[sergio@osg-ui osg]$ sudo pacman  -install OSG:site-verify      
Edit - History - Print - Recent Changes - Search
Page last modified on April 26, 2009, at 11:15 AM