Update default HTCondor-CE ProbeConfig to support running as a schedd cron

Description

Currently, Hosted CEs run gratia-probe through a schedd cron, i.e. as the condor user, and we'd like to make this the default. To do this, the ProbeConfig should be updated so that gratia files and logs are written to HTCondor-CE locations: https://github.com/opensciencegrid/docker-hosted-ce/blob/master/configure-nonroot-gratia.py#L30-L32.

Instead of this script, we want the ProbeConfig defaults should be updated to match these paths

We should also update the value of PER_JOB_HISTORY dir set by /etc/condor-ce/config.d/99_gratia.conf [1] to a directory where the gratia-probe run as the condor user can clean up its history files (such as /var/lib/condor-ce/gratia_data. This configuration should also be written to a different file in /usr/share/condor-ce/config.d/ and be marked as %config instead of %config(noreplace)

We may as well also add the config here to the same new file

[1]

Freshdesk Tickets

None

Activity

Show:
Brian Lin
February 25, 2021, 7:18 PM

Promotions
Promoted gratia-probe-2.0.0-2 to osg-3.6-el*-testing, osg-3.6-el*-prerelease

Build

Tag

gratia-probe-2.0.0-2.osg36.el7

osg-3.6-el7-prerelease

gratia-probe-2.0.0-2.osg36.el7

osg-3.6-el7-testing

Carl Edquist
February 24, 2021, 8:16 PM

PR merged

Brian Lin
February 18, 2021, 10:50 PM

Yup, we can get rid of the htcondor-ce probe crontab and let’s change the config to 15 min.

Carl Edquist
February 18, 2021, 10:44 PM

preliminary PR, might need to be tweaked depending on the answer to my questions above
https://github.com/opensciencegrid/gratia-probe/pull/93

Carl Edquist
February 18, 2021, 10:38 PM

We may as well also add the config here https://github.com/opensciencegrid/Software-Redhat/blob/trunk/osg-ce/osg/51-gratia.conf to the same new file

1. is this meant to replace the crontab for the htcondor-ce probe then?

2. I see:

vs every 15 min in the crontab (0,15,30,45 * * * *)

Which period do we want?

Fixed

Assignee

Tim Theisen

Reporter

Brian Lin

Priority

Blocker

Fix versions

Labels

None

Components

Due date

None

Epic Link