Skip to content

Add docker-compose htcondor setup - #441

Merged
lesteve merged 4 commits into
dask:mainfrom
riedel:htcondor_compose_427
Apr 1, 2021
Merged

lesteve merged 4 commits into
dask:mainfrom
riedel:htcondor_compose_427

Conversation

@riedel

@riedel riedel commented Jun 12, 2020

Copy link
Copy Markdown
Member

fixes #427

@riedel
riedel requested a review from matyasselmeci June 12, 2020 01:09
@riedel

riedel commented Jun 12, 2020

Copy link
Copy Markdown
Member Author

@matyasselmeci : hope I used the images in the way they were supposed to be used ;) .

I wonder if it might be better to go with conda and a shared filesystem instead of preinstalling python3 and dask on the exec nodes.

Its mainly still WIP because the docker images should be uploaded.

@matyasselmeci matyasselmeci left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I'm only getting to this now, but this looks really cool! I don't think you need the shared file system, it just adds extra machinery. Pre-staging is fine.

@riedel
riedel requested a review from lesteve June 27, 2020 11:51
@riedel

riedel commented Jun 27, 2020

Copy link
Copy Markdown
Member Author

@lesteve Can you build the images (I left out this commit on purpose: 273911b) and merge this? One remaining question: I left the master untouched and use the official image: change this for stability?

Comment thread ci/htcondor/docker-compose.yml Outdated
- USE_POOL_PASSWORD=yes
volumes:
- secrets:/root/secrets
image: htcondor/cm:el7

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might want to do a dummy build and use our own image here

@lesteve
lesteve force-pushed the master branch 2 times, most recently from 4d181fe to 26a0e70 Compare December 8, 2020 12:40

@guillaumeeb guillaumeeb left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lesteve Can you build the images (I left out this commit on purpose: 273911b) and merge this?

@riedel is there something else to do here? This looks good to me!

@andersy005 andersy005 added the CI Continuous Integration tools label Jan 24, 2021
@riedel

riedel commented Jan 24, 2021

Copy link
Copy Markdown
Member Author

yes, it's WIP because it does not include pre-build images yet. I think for bootstrapping they need to be uploaded once (not sure if one could trigger the autobuild). To each image a line needs to be added like:

image: daskdev/dask-jobqueue:slurm
. The images are missing here: https://hub.docker.com/r/daskdev/dask-jobqueue/tags . Easiest would be if someone with push rights for docker would add the image lines and then put it into this PR and merge it.

Base automatically changed from master to main February 10, 2021 07:12
@riedel riedel changed the title [WIP] four node htcondor setup four node htcondor setup Mar 19, 2021
@riedel

riedel commented Mar 19, 2021

Copy link
Copy Markdown
Member Author

@lesteve : I removed [WIP] because it was a bit misleading and I wanted to highlight this is ready for merge. Can you look at the changes and add the docker image lines and push them.

I can be merged without that change, however then the images are simply not cached (this is also the current state:so)

I could do the change but then the CI would give a false positive.

@lesteve

lesteve commented Mar 22, 2021 •

Copy link
Copy Markdown
Member

@riedel thanks for pushing this forwar and sorry I don't have too much time to devote to dask-jobqueue these days.

I pushed the images in dockerhub: https://hub.docker.com/r/daskdev/dask-jobqueue/tags?ordering=last_updated, daskdev/dask-jobqueue:htcondor-submit and daskdev/dask-jobqueue:htcondor-execute.

I adapted the docker-compose.yml to use these images in my last commit 9e7dfba (#441) that I pused into this PR branch. Let's see what the CI says.

Let me know if you have any comments!

@lesteve

lesteve commented Apr 1, 2021

Copy link
Copy Markdown
Member

OK, merging this one, thanks!

@lesteve lesteve changed the title four node htcondor setup Add docker-compose htcondor setup Apr 1, 2021
@lesteve
lesteve merged commit 58e0ce2 into dask:main Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Continuous Integration tools

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make HTCondor CI a bit closer to the other CI

5 participants