Code Monkey home page Code Monkey logo

cytomine-software-router's People

Contributors

clafouti avatar dependabot[bot] avatar g-michiels avatar geektortoise avatar loic911 avatar rmaree avatar urubens avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cytomine-software-router's Issues

Batch job submission failed: Unable to contact slurm controller (connect failure)

Problem : Jobs was not ran without output in the job logs.

Logs of software_router component : "Batch job submission failed: Unable to contact slurm controller (connect failure)".
How to check : run squeue into the slurm component sudo docker exec -it slurm squeue you should get the same error message.

When : A long singularity image building on a Kubuntu VM (8 proc, 8Gb RAM)

Fixed by a sh restart.sh of the Cytomine bootstrap

Add proxy variables

When we are behind a corporate proxy, we cannot natively reach github API.

Solution : java -jar -Dhttp.proxyHost=... -Dhttp.proxyPort= ... (idem with https) Cytomine-software-router.jar

As you are often running in Docker containers, allow an auto set of these parameters if environment variables used by Docker are set.

Fetching error when pulling multiple images that have the same image base

When we add a software user repository and fetch all the targeted repositories, sometimes I get "Error: unable to build: conveyor failed to get: no descriptor found for reference".

It seems that, as our external softwares are often based on the same image base (cytomine/python-software for example), we got a multithread issue with concurrent fetch.

There is example in the related issue
https://github.com/sylabs/singularity/issues/3634 and https://github.com/sylabs/singularity/issues/5020

Short solution : implement a pullingQueue to assure that there is no concurrency pulling.
Later solution : Should be resolved with singularity 3.6

Error if configuration parameters are not specified

If some parameters are not specified in the config.groovy file (see here), it leads to an error.

In particular, one can observe here that if the parameter connectionRetries is not specified, it is considered as a Map and the conversion to an int is impossible.

Quit if no connection to Core established

If Core is not found, it is useless to continue.
+
with docker restart container policy, the exit 1 of the software_router will kill the container then restart it until core is found.

Don't use name to determine url/repo/image

Currently, we have a dependency between the name and the repository to fetch.

So, I cannot run a software with name "Statistic_Computation" on a repo S_Stat_Comput

The problem occurs during the launching step because softwareTable is filled with the software name that will be used for later fetching.

We should not use the name to determine a repository url
OR
We should have two different fields : name (user friendly name) and repositoryName

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.