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

Re: [HTCondor-users] Using the Python bindings with a Docker Condor



Hi Jason,

 

Thanks for the answer.

So you are confirming to me that it is possible to run a Python program on a machine that is not part of a Condor pool (and does not have Condor installed) and still have it interact with an instance of HTCondor running in a container ?

 

Thanks,

GaÃtan

 


Gaetan Geffroy
Junior Software Engineer
Terma GmbH
T +49 6151 86005 43 (direct)
 


 

From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> On Behalf Of Jason Patton via HTCondor-users
Sent: Wednesday, January 25, 2023 18:27
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Cc: Jason Patton <jpatton@xxxxxxxxxxx>
Subject: Re: [HTCondor-users] Using the Python bindings with a Docker Condor

 

CAUTION: This email originated from outside of Terma. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Hi Gaetan,

 

The htcondor/mini image contains network and security configuration that constrain the daemons to only listening to commands from the root user on the local interface inside the container:

 

 

If you find this too restrictive, you could build your own image for testing based on the htcondor/mini or other containers with the configuration you want for your testing. You might want to look at the htcondor/base image and the other htcondor images based on it:

 

 

Jason Patton

 

On Wed, Jan 25, 2023 at 11:07 AM Gaetan Geffroy <gage@xxxxxxxxx> wrote:

Hi,

 

I am working on a software which automates some Condor commands through Python. In order to run unit tests, I would like to have an easy way to deploy a little Condor to test basic functionalities.

I wanted to use the htcondor/mini Docker image, but the Python classes and functions only interact with the Condor daemons, so I guess that it is not possible to have a Python program interact with it unless it runs inside the container.

Am I correct ? I just want to confirm this before I abandon this idea and go for something else.

 

Thanks,

 

GaÃtan

 


Gaetan Geffroy
Junior Software Engineer, Space

Terma GmbH
Europaarkaden II, BratustraÃe 7, 64293 Darmstadt, Germany
T +49 6151 86005 43 (direct)  â  T +49 6151 86005-0
Terma GmbH - Sitz Darmstadt  â  Handelsregister Nr.: HRB 7411, Darmstadt
GeschÃftsfÃhrer: Poul Vigh / Steen Vejby SÃrensen
www.terma.com â 
Linkedin â Twitter â Instagram â Youtube


Attention:
This e-mail (and attachment(s), if any) - intended for the addressee(s) only - may contain confidential, copyright, or legally privileged information or material, and no one else is authorized to read, print, store, copy, forward, or otherwise use or disclose any part of its contents or attachment(s) in any form. If you have received this e-mail in error, please notify me by telephone or return e-mail, and delete this e-mail and attachment(s). Thank you.

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