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

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



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:

https://github.com/htcondor/htcondor/blob/fc39b1386de0f7290ab82f90e7957c310538f593/build/docker/services/mini/00-minicondor-ubuntu

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:

https://github.com/htcondor/htcondor/tree/main/build/docker/services

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/