[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] home directory in docker universe - docker image's home directory not visible from inside condor job



Hi Greg !

 Thanks for the answer and sorry for late reaction. I've crosschecked the issue
  • with other docker images
  • with other jobs
  • and also checked condor / nvidia-docker default settings
but found no sign of any settings which would cause this behaviour which is still holds.... ð

Keep debugging...
Gergely


From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> on behalf of Greg Thain <gthain@xxxxxxxxxxx>
Sent: Monday, July 15, 2019 5:37 PM
To: htcondor-users@xxxxxxxxxxx <htcondor-users@xxxxxxxxxxx>
Subject: Re: [HTCondor-users] home directory in docker universe - docker image's home directory not visible from inside condor job
 
On 7/15/19 9:10 AM, Gergely Debreczeni via HTCondor-users wrote:

Symptom:
  • when the docker image starts (job starts as condoruser001)  on the execute host the /home directory of the image is not visible, but somehow overmounted with the /home of the host machine

condor   2240390  0.0  0.0 1643144 50472 ?       Ssl  07:48   0:00 /usr/bin/docker run --cpu-shares=100 --memory=128m --cap-drop=all --hostname gdebrecz-262.0-scorpio005 --name HTCJob262_0_slot1_2_PID2240386 --volume /var/lib/condor/execute/dir_2240386:/var/lib/condor/execute/dir_2240386 --volume /scratch:/scratch --volume /data:/data --volume /y:/y --volume /s:/s --volume /r:/r --volume /p:/p --volume /z:/z --workdir /var/lib/condor/execute/dir_2240386 --user 1006:1006 dani_tensorflow:v_02 ./condor_exec.exe 0


Hello Gergely:


This is very strange and unexpected.  The only way I can thing of this happening with the above command line is if the home directory inside the image is a symbolic link to one of the volumen mounted filesystems, like /p/somewhere, which is also happens to be home directory on the host machine.


-greg





This e-mail and any files transmitted with it contain confidential and may contain privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized use, copying, disclosure or distribution of the material in this e-mail is strictly forbidden.