Dear all,
If nobody has seen this problem before, would it be possible for sites
running HTCondor + singularity to send their relevant HTCondor config
bits (e.g. [1])?
Cheers,
Luke
[1]
condor_config_val -dump | grep -i singularity
SINGULARITY =
/cvmfs/oasis.opensciencegrid.org/mis/singularity/el7-x86_64/bin/singularity
SINGULARITY_BIND_EXPR =
"/hdfs,/software,/users,/usersc,/condor/condor,/usr/libexec/condor"
SINGULARITY_IMAGE_EXPR = (TARGET.DESIRED_OS is "CentOS6") ?
"/cvmfs/cernvm-prod.cern.ch/cvm3" :
"/cvmfs/cms.cern.ch/rootfs/x86_64/centos7/latest"
SINGULARITY_JOB = true
SINGULARITY_TARGET_DIR = /srv
STARTER_JOB_ENVIRONMENT = "SINGULARITY_HOME=/srv"
On 20/03/18 11:10, Luke Kreczko wrote:
> Dear all,
>
> I am currently trying to configure Singularity (2.4.2) and HTCondor
> (8.6.10) on a CentOS7 WN (7.4, kernel 3.10.0-693.21.1).
>
> I've followed the instructions in
>
> http://opensciencegrid.github.io/docs/worker-node/install-singularity/#unprivileged-singularity
>
>
> https://research.cs.wisc.edu/htcondor/manual/latest/3_17Singularity_Support.html
>
>
> and rebooted the machine.
>
> For testing I run everything in the
>
> /cvmfs/cernvm-prod.cern.ch/cvm3
>
> image.
>
> I can execute all examples on the node as both root and local user,
> HTCondor jobs work under native CentOS7, but enabling singularity
> leads to
>
> ERRORĀ : Home directory is not owned by calling user: /srv
> ABORTĀ : Retval = 255
>
>
> I assume that singularity is started as HTCondor but /srv is owned by
> the submitting user.
>
> Has anyone seen this before and does know the solution?
>
>
> Cheers,
>
> Luke
>
>
> [1]
>
> SINGULARITY =
> /cvmfs/oasis.opensciencegrid.org/mis/singularity/el7-x86_64/bin/singularity
> SINGULARITY_BIND_EXPR =
> "/hdfs,/software,/users,/usersc,/condor/condor,/usr/libexec/condor"
> SINGULARITY_IMAGE_EXPR = "/cvmfs/cernvm-prod.cern.ch/cvm3"
> SINGULARITY_JOB = true
> SINGULARITY_TARGET_DIR = /srv
> STARTER_JOB_ENVIRONMENT = "SINGULARITY_HOME=/srv"
|