Hello all,
Thank you for fixing this issue so fast! We are
now compiling HTCondor ourselves to use the proxy-variable
inside our containers. It works well with singularity
version 2.2.1, however it does not work for us with
singularity version 2.4.5. The offending line appears to be
https://github.com/htcondor/htcondor/blob/c1963c45f386ff052f56332aa58099993a769174/src/condor_starter.V6.1/singularity.cpp#L170.
The â-Câ in singularity cleans the environment completely
and unsets most variables in the container (the behaviour in
singularity seem to have changed in the above mentioned
versions?). Removing this line and compiling HTCondor again
allows us to use the environment variables in the container,
especially the x509userproxy.
Cheers,
Matthias
On 03/27/2018 09:32 PM, Jaime Frey
wrote:
we try to run vanilla jobs in
singularity on an HPC center. The jobs start and the
x509userproxy environment is set for the job. However, the
variable is e.g. /tmp/condor/execute/dir_1/proxy. We bind
mount the executable directory of the job withÂ
SINGULARITY_TARGET_DIR = /srv
Inside singularity, the
x509userproxy file is under /srv/proxy. The environment
variable is still /tmp/condor/execute/dir_1/proxy inside
the container. So the x509userproxy environment variable
is wrong inside the container.
We use HTCondor version
8.6.2. Do we have to configure something in HTCondor that
the x509userproxy variable is set correct inside the
singularity container?
This appears to be a bug in HTCondor. When using the
SINGULARITY_TARGET_DIR parameter, the condor_starter updates the
environment variables it sets for the job that are related to
the execute directory to use the location inside the container.
X509_USER_PROXY was left out by mistake.
We will fix this in a future release. Iâve made a
ticket in our bug tracking system:
Thanks and regards,
Jaime Frey
UW-Madison HTCondor Project
_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/
|