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

Re: [HTCondor-users] Questions about SciTokens authenticaton versus dagman...



Hi Mark,

It seems to me the most obvious approach is to use FS authentication for DAGMan to interact with the local schedd.  You say:

It's not clear to me that the jobs it launches always end up with the right credentials

What do you mean by this?  Are you talking about the submitted jobs from DAAGMan?

Brian

On Sep 29, 2021, at 10:01 PM, Marc W Mengel <mengel@xxxxxxxx> wrote:


So we're testing with using SciTokens authentication and the condor-credmon-vault components,
and I have a couple of ways I think DAG's could work, but I'm wondering what is the Right Way...
So option 1, using SciTokens authentication for all submissions, means the dagman needs a
credential pushed to it, so that it can use that for authentication to launch the jobs. As far
as I can see, that requires us to run the dagman job in a universe=local slot, rather than a
universe=scheduler, because universe=scheduler doesn't run the condor_start that actually
fetches the credentials. If one does this, one also needs to set BEARER_TOKEN_FILE
in the dagman's environment so it can *find* the credential to authenticate the launches.

Option 2 would be to use FS authentication for the dagman to launch the jobs; then we could
run it in universe=scheduler slots, but It's not clear to me that the jobs it launches always end
up with the right credentials, depending how the mapping to local users is set up.

In any case, one has to set _condor_SEC_CREDENTIAL_STORER=/bin/true in the environment
for the dagman, so that it doesn't try to store credentials for the jobs it is submitting, since
the person who launched the dagman job already did that.

Or perhaps there is a third option I'm unaware of? Did I miss some simpler way to get this working?

Marc Mengel <mengel@xxxxxxxx>
_______________________________________________
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/