Hi Gaetan,
I have a couple of questions about your setup:
-Cole Bollig
From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> on behalf of Gaetan Geffroy <gage@xxxxxxxxx>
Sent: Monday, February 27, 2023 11:59 AM To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx> Subject: [HTCondor-users] Send commands to minicondor from outside the container Hi,
I use a htcondor/mini Docker container to test and prototype on Condor. If I open a bash inside the container I can use the commands just fine, but what I want to do is to have access to then and the Python bindings from the host machine, or from another container. I run the container like this:
docker run -it --network host --name condor --rm \ -v /var/run/docker.sock:/var/run/docker.sock \ htcondor/mini:9.0.16-el7
Then, I take a copy of the config file 00-minicondor, put it on the host machine and have the CONDOR_CONFIG env var to point at it. This works fine for things like condor_q or condor_status, but when I try to use condor_submit I get the following:
Submitting job(s) ERROR: Failed to connect to local queue manager AUTHENTICATE:1003:Failed to authenticate with any method AUTHENTICATE:1004:Failed to authenticate using SCITOKENS AUTHENTICATE:1004:Failed to authenticate using GSI GSI:5003:Failed to authenticate. Globus is reporting error (851968:101). There is probably a problem with your credentials. (Did you run grid-proxy-init?) AUTHENTICATE:1004:Failed to authenticate using KERBEROS AUTHENTICATE:1004:Failed to authenticate using IDTOKENS AUTHENTICATE:1004:Failed to authenticate using FS
So, I tried things like to set SEC_DEFAULT_AUTHENTICATION = NEVER, SEC_DEFAULT_AUTHENTICATION_METHODS = CLAIMTOBE, FS, ALLOW_WRITE = * and use security:host_based. None of these work.
What more can I do if even disabling authentication did not work ?
Thanks,
Gaëtan
Attention: |