Closed vokac closed 3 years ago
I am a bit confused. We do not import htcondor
anywhere in DIRAC.
And we do not rely on the /etc/
directory normally.
We do had a plan to update if possible though https://github.com/DIRACGrid/DIRACOS/issues/171
I think an environment variable is missing in the diracosrc: CONDOR_CONFIG=$DIRACOS/etc/condor/condor_config
We don't use the python bindings, just the CLI. There might be few advantages in using the python binding, I guess.
I suggest to move this issue in https://github.com/DIRACGrid/DIRACOS/issues/171
Thanks, DIRACGrid/DIRACOS#171 is better place for this issue.
Problem was found by our local users that often use DIRAC client tools and unfortunately they used their own python+htcondor scripts within DIRAC environment (this worked fine until our recent condor upgrade).
OK, so I close this issue as anyway linked to the other one. Thanks for reporting.
This shouldn't be closed. The bug is that CONDOR_CONFIG
isn't being set in the diracosrc
so it relies on the host system's configuration file.
@vokac please try setting the CONDOR_CONFIG
as @chrisburr mentions and report back
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
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 metaknobit is possible to
import htcondor
again.It would be nice if DIRACOS provide by default condor that can be used without this additional workaround.