Skip to content
This repository was archived by the owner on Feb 23, 2023. It is now read-only.
This repository was archived by the owner on Feb 23, 2023. It is now read-only.

Old / incompatible HTCondor bundled with DIRACOS6 #179

Description

@vokac

Latest version of DIRACOS6 v1r21 still use quite old HTCondor 8.6.9 released 4+ years ago. This version doesn't work with default configuration that comes with stable 9.0.x series and python interface no longer works

$ python
Python 2.7.13 (default, Apr 23 2021, 14:43:32) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-23)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import htcondor
Error: use security:recommended_v9_0: does not recognise recommended_v9_0
Config source Error "/etc/condor/config.d/00-htcondor-9.0.config", Line 26: at use security:recommended_v9_0:recommended_v9_0
Configuration Error Line 26 while reading config source /etc/condor/config.d/00-htcondor-9.0.config

As you can see from error message condor bundled with DIRACOS doesn't recognize metaknob security:recommended_v9_0 which is by default installed in the /etc/condor/config.d/00-htcondor-9.0.config. With expanded configuration from this metaknob

# output of `condor_config_val use security:recommended_v9_0`
# Make it easy to detect if this metaknob was set.
SECURITY_MODEL = 9.0

# Assume that FS and IDTOKENS are in SEC_DEFAULT_AUTHENTICATION_METHODS,
# which they are by default.
use security:strong

# This allows anyone who can access port 9618 to READ, which lets
# condor_status and condor_q work over the network out of the box.
SEC_READ_AUTHENTICATION = OPTIONAL

ALLOW_ADMINISTRATOR = root@*, condor@*, condor_pool@*
ALLOW_DAEMON = condor@*, condor_pool@*
ALLOW_NEGOTIATOR = condor@*, condor_pool@*
ALLOW_WRITE = *
ALLOW_READ = *

it is possible to import htcondor again.

It would be nice if DIRACOS provide by default condor that can be used without this additional workaround.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions