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

Re: [HTCondor-users] write and execute from different computer in grid



Change the uid/gid? Not easily. In my experience, to get this right, the simplest way is to uninstall condor, change the uid/gid to what you want it to be, then re-install.

You should sync the rest of the uid/gid that will be used as well.

bob

On 3/17/2016 9:24 AM, René Labounek wrote:
I think I have found a problem. Based on chapter 2.5.3 in next URL, UIDs and GIDs must agree between computers. and they are not. Even not for the condor user. Can I manually rewrite uid and gid for condor user on one computer without breaking the HTcondor installation?

http://research.cs.wisc.edu/htcondor/manual/v7.6/2_5Submitting_Job.html#SECTION00353000000000000000

Rene

Dne 17.3.2016 v 13:45 René Labounek napsal(a):
Dear HTcondor users,

I have two computers in grid (called emperor and magellan). Emperor is CONDOR_HOST. Only condor_master and condor_startd run at magellan. I am not able to write files and execute binaries saved at emperor's disk from magellan. Magellan has the disk mounted via nfs.

Here is the error message for exec:
/var/lib/condor/execute/dir_456818/condor_exec.exe: 2: /var/lib/condor/execute/dir_456818/condor_exec.exe: /md2/labounek/test/dti2.bedpostX/condor_logs/slice_0001.sh: Permission denied

Here is the error message for write:
/usr/share/fsl/5.0/bin/bedpostx_single_slice.sh: 76: /usr/share/fsl/5.0/bin/bedpostx_single_slice.sh: cannot create /md2/labounek/test/dti2.bedpostX/logs/log0000: Permission denied

Magellan should be able to do both.
Here is the /etc/fstab setting for emperor's /md2 at magellan:
emperor:/md2   /md2    nfs    rw,user,exec,noauto    0    0

Here is its /etc/mtab settings:
emperor:/md2 /md2 nfs4 rw,nosuid,nodev,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=172.19.37.21,local_lock=none,addr=172.19.37.11 0 0

I can not see what is wrong with my own. Do I need to set something more directly in condor? Here is ALLOW_WRITE variable for emperor:
ALLOW_WRITE = emperor_IP
ALLOW_WRITE = $(ALLOW_WRITE), magellan_IP

Here it is for magellan:
CONDOR_HOST = emperor_IP
ALLOW_WRITE = magellan_IP
ALLOW_WRITE = $(ALLOW_WRITE), $(CONDOR_HOST)

Regards,
Rene Labounek

_______________________________________________
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/

_______________________________________________
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/